rpi compile
pi@owncloud ~ $ cd adchpp/
pi@owncloud ~/adchpp $ scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) no
Checking for C header file sys/epoll.h... (cached) no
Checking for pthread_create() in C library pthread... (cached) no
Checking for SSL_connect() in C library ssl... (cached) no
Checking for dlopen() in C library dl... (cached) no
Copy("/
scons: *** /home/pi/
[Errno 2] No such file or directory
Ruby not found, skipping ruby module
Python.h not found, not building python extension
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/debug-
cc1plus: error: bad value (i686) for -march switch
scons: *** [build/
scons: building terminated because of errors.
any advice is it possible to compile on RPi ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ADCH++ Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Spitfire
- Solved:
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
try to remove that switch? you can find it in the SConstruct file, line 173 - remove lines 172 and 173. the comment above them doesn't apply to ADCH++; it's just a copy-paste from DC++...
keep us posted on how building ADCH++ on the Pi goes; should be interesting!
Revision history for this message
|
#2 |
Seems to be compiling be back with the log tomorrow if it fails gonna try building with python and ruby if anything fails ill update this thread
Revision history for this message
|
#3 |
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Linking build/debug-
# collect2 0.63 0.08
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Linking build/debug-
# collect2 0.84 0.14
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
Compiling build/debug-
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
boost/libs/
boost/libs/
boost/libs/
boost/libs/
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
boost/libs/
Compiling build/debug-
Compiling build/debug-
boost/libs/
boost/libs/
Linking build/debug-
# collect2 4.50 0.69
Linking build/debug-
# collect2 14.77 1.45
Linking build/debug-
# collect2 2.15 0.25
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Compiling build/debug-
Linking build/debug-
# collect2 0.85 0.09
Linking build/debug-
# collect2 2.06 0.29
Linking build/debug-
# collect2 1.64 0.26
Compiling build/debug-
lua/LuaFileSyst
lua/LuaFileSyst
Linking build/debug-
# collect2 0.80 0.07
swig -o build/debug-
swig/adchpp.i:583: Warning 403: Class 'adchpp::Client' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp:
swig/adchpp.i:612: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp:
swig/adchpp.i:589: Warning 509: Overloaded method adchpp:
swig/adchpp.i:535: Warning 509: as it is shadowed by send(adchpp:
swig/adchpp.i:617: Warning 509: Overloaded method adchpp:
swig/adchpp.i:535: Warning 509: as it is shadowed by send(adchpp:
Compiling build/debug-
Linking build/debug-
# collect2 4.36 0.50
swig -o build/debug-
swig/bloom.i:28: Warning 302: Identifier 'shared_ptr' redefined (ignored),
swig/adchpp.i:57: Warning 302: previous definition of 'shared_ptr'.
swig/bloom.i:28: Warning 302: Identifier 'shared_ptr' redefined (ignored),
swig/adchpp.i:57: Warning 302: previous definition of 'shared_ptr'.
swig/adchpp.i:583: Warning 403: Class 'adchpp::Client' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp:
swig/adchpp.i:612: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp:
Compiling build/debug-
Linking build/debug-
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/home/pi/
build/debug-
/usr/include/
collect2: ld returned 1 exit status
# collect2 1.43 0.15
scons: *** [build/
scons: building terminated because of errors.
Revision history for this message
|
#5 |
This is caused because the linker rejects the undefined symbols of the lua wrapper for the bloom plugin.
That's a strange bug since the linking of that module is actually done telling the linker to ignore it. Anyway, either disabling the bloom plugin or the lua wrapper should disable the compilation of that particular file.
Revision history for this message
|
#6 |
that would leave me with an incomplete hubsoft since bloom is preferable its a simple work around but not a solution :)
Revision history for this message
|
#7 |
that would leave me with an incomplete hubsoft since bloom is preferable its a simple work around but not a solution :)
Revision history for this message
|
#8 |
BTW which version of adch++ are you trying to compile?
Revision history for this message
|
#11 |
Nah I know it's gcc 4.6 :P
I think I have found the issue in http://
Revision history for this message
|
#12 |
can you change it ? and ill update and try a new compile
you should still have the bloom plugin despite that error; they only affect the bloom-lua interface which no script currently uses anyway.
Revision history for this message
|
#15 |
Move("build/
scons: done building targets.
you can now say that adchpp is rpi proof :D