rpi compile

Asked by Spitfire

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("/home/pi/adchpp/build/debug-default/bin/lua", "lua")
scons: *** /home/pi/adchpp/build/debug-default/bin/lua: File exists
[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-default/adchpp/adchpp.h.gch (shared precompiled header)
cc1plus: error: bad value (i686) for -march switch
scons: *** [build/debug-default/adchpp/adchpp.h.gch] Error 1
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:

This question was reopened

Revision history for this message
poy (poy) said :
#1

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
Spitfire (b13569b8) said :
#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
Spitfire (b13569b8) said :
#3

Compiling build/debug-default/plugins/Bloom/src/stdinc.h.gch (shared precompiled header)
Compiling build/debug-default/plugins/Bloom/src/BloomPlugin.os (shared)
Compiling build/debug-default/plugins/Bloom/src/BloomManager.os (shared)
Compiling build/debug-default/plugins/Bloom/src/HashBloom.os (shared)
Compiling build/debug-default/boost/libs/system/src/error_code.os (shared)
Linking build/debug-default/bin/libaboost_system.so (shared)
# collect2 0.63 0.08
Compiling build/debug-default/boost/libs/date_time/src/gregorian/greg_weekday.os (shared)
Compiling build/debug-default/boost/libs/date_time/src/gregorian/greg_month.os (shared)
Compiling build/debug-default/boost/libs/date_time/src/gregorian/gregorian_types.os (shared)
Compiling build/debug-default/boost/libs/date_time/src/gregorian/date_generators.os (shared)
Compiling build/debug-default/boost/libs/date_time/src/posix_time/posix_time_types.os (shared)
Linking build/debug-default/bin/libaboost_date_time.so (shared)
# collect2 0.84 0.14
Compiling build/debug-default/boost/libs/locale/src/encoding/codepage.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/message.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/date_time.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/ids.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/formatting.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/localization_backend.os (shared)
boost/libs/locale/src/shared/localization_backend.cpp: In member function ‘std::auto_ptr<boost::locale::localization_backend> boost::locale::localization_backend_manager::impl::get() const’:
boost/libs/locale/src/shared/localization_backend.cpp:54:56: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/localization_backend.cpp: At global scope:
boost/libs/locale/src/shared/localization_backend.cpp:181:81: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/localization_backend.cpp:186:123: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/localization_backend.cpp: In constructor ‘boost::locale::{anonymous}::init::init()’:
boost/libs/locale/src/shared/localization_backend.cpp:220:57: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
Compiling build/debug-default/boost/libs/locale/src/shared/mo_lambda.os (shared)
boost/libs/locale/src/shared/mo_lambda.cpp:42:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:42:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:128:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:129:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:130:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:132:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:132:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:133:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:133:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:134:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:134:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:137:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:137:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:138:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:138:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:141:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:141:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:142:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:142:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:145:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:145:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:146:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:146:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:147:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:147:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:148:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:148:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:151:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:151:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:152:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:152:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:155:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:155:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:158:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:158:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:161:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:161:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:164:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:164:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:167:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:167:5: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:171:62: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:171:62: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:171:62: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:193:70: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:193:70: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/shared/mo_lambda.cpp:220:50: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
Compiling build/debug-default/boost/libs/locale/src/shared/generator.os (shared)
Compiling build/debug-default/boost/libs/locale/src/shared/format.os (shared)
Compiling build/debug-default/boost/libs/locale/src/std/codecvt.os (shared)
Compiling build/debug-default/boost/libs/locale/src/std/collate.os (shared)
Compiling build/debug-default/boost/libs/locale/src/std/numeric.os (shared)
Compiling build/debug-default/boost/libs/locale/src/std/converter.os (shared)
Compiling build/debug-default/boost/libs/locale/src/std/std_backend.os (shared)
Compiling build/debug-default/boost/libs/locale/src/posix/codecvt.os (shared)
boost/libs/locale/src/posix/codecvt.cpp: In function ‘std::auto_ptr<boost::locale::util::base_converter> boost::locale::impl_posix::create_iconv_converter(const string&)’:
boost/libs/locale/src/posix/codecvt.cpp:216:45: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/posix/codecvt.cpp: In function ‘std::locale boost::locale::impl_posix::create_codecvt(const std::locale&, const string&, boost::locale::character_facet_type)’:
boost/libs/locale/src/posix/codecvt.cpp:236:45: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
Compiling build/debug-default/boost/libs/locale/src/posix/posix_backend.os (shared)
Compiling build/debug-default/boost/libs/locale/src/posix/collate.os (shared)
Compiling build/debug-default/boost/libs/locale/src/posix/numeric.os (shared)
Compiling build/debug-default/boost/libs/locale/src/posix/converter.os (shared)
Compiling build/debug-default/boost/libs/locale/src/util/info.os (shared)
Compiling build/debug-default/boost/libs/locale/src/util/default_locale.os (shared)
Compiling build/debug-default/boost/libs/locale/src/util/codecvt_converter.os (shared)
boost/libs/locale/src/util/codecvt_converter.cpp: In function ‘std::auto_ptr<boost::locale::util::base_converter> boost::locale::util::create_simple_converter(const string&)’:
boost/libs/locale/src/util/codecvt_converter.cpp:194:39: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: At global scope:
boost/libs/locale/src/util/codecvt_converter.cpp:208:57: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: In function ‘std::auto_ptr<boost::locale::util::base_converter> boost::locale::util::create_utf8_converter()’:
boost/libs/locale/src/util/codecvt_converter.cpp:210:42: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: At global scope:
boost/libs/locale/src/util/codecvt_converter.cpp:235:73: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp:626:39: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: In member function ‘std::codecvt_base::result boost::locale::util::code_converter<CharType>::do_real_in(mbstate_t&, const char*, const char*, const char*&, uint32_t*, uint32_t*, uint32_t*&) const’:
boost/libs/locale/src/util/codecvt_converter.cpp:331:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: In member function ‘std::codecvt_base::result boost::locale::util::code_converter<CharType>::do_real_out(mbstate_t&, const uint32_t*, const uint32_t*, const uint32_t*&, char*, char*, char*&) const’:
boost/libs/locale/src/util/codecvt_converter.cpp:375:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: In member function ‘std::codecvt_base::result boost::locale::util::code_converter<CharType>::do_real_in(mbstate_t&, const char*, const char*, const char*&, uint16_t*, uint16_t*, uint16_t*&) const’:
boost/libs/locale/src/util/codecvt_converter.cpp:421:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: In member function ‘std::codecvt_base::result boost::locale::util::code_converter<CharType>::do_real_out(mbstate_t&, const uint16_t*, const uint16_t*, const uint16_t*&, char*, char*, char*&) const’:
boost/libs/locale/src/util/codecvt_converter.cpp:521:43: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp: At global scope:
boost/libs/locale/src/util/codecvt_converter.cpp:636:77: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
boost/libs/locale/src/util/codecvt_converter.cpp:643:113: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
Compiling build/debug-default/boost/libs/locale/src/util/locale_data.os (shared)
Compiling build/debug-default/boost/libs/locale/src/util/gregorian.os (shared)
boost/libs/locale/src/util/gregorian.cpp: In member function ‘virtual int boost::locale::util::gregorian_calendar::difference(const boost::locale::abstract_calendar*, boost::locale::period::marks::period_mark) const’:
boost/libs/locale/src/util/gregorian.cpp:699:51: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
Linking build/debug-default/bin/libaboost_locale.so (shared)
# collect2 4.50 0.69
Linking build/debug-default/bin/libadchpp.so (shared)
# collect2 14.77 1.45
Linking build/debug-default/bin/Bloom.so (shared)
# collect2 2.15 0.25
Compiling build/debug-default/plugins/Script/src/stdinc.h.gch (shared precompiled header)
Compiling build/debug-default/plugins/Script/src/ScriptPlugin.os (shared)
Compiling build/debug-default/plugins/Script/src/LuaEngine.os (shared)
Compiling build/debug-default/plugins/Script/src/ScriptManager.os (shared)
Compiling build/debug-default/plugins/Script/src/LuaScript.os (shared)
Compiling build/debug-default/lua/all.os (shared)
Linking build/debug-default/bin/libalua.so (shared)
# collect2 0.85 0.09
Linking build/debug-default/bin/Script.so (shared)
# collect2 2.06 0.29
Linking build/debug-default/bin/adchppd (static)
# collect2 1.64 0.26
Compiling build/debug-default/lua/LuaFileSystem/lfs.os (shared)
lua/LuaFileSystem/lfs.c: In function ‘lfs_g_setmode’:
lua/LuaFileSystem/lfs.c:322:7: warning: unused variable ‘op’ [-Wunused-variable]
Linking build/debug-default/bin/lfs.so (shared)
# collect2 0.80 0.07
swig -o build/debug-default/swig/lua_wrap.cc -outdir "build/debug-default/bin" -c++ -Wall -lua swig/lua.i
swig/adchpp.i:583: Warning 403: Class 'adchpp::Client' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:612: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:589: Warning 509: Overloaded method adchpp::Client::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:535: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
swig/adchpp.i:617: Warning 509: Overloaded method adchpp::Bot::send(adchpp::BufferPtr const &) effectively ignored,
swig/adchpp.i:535: Warning 509: as it is shadowed by send(adchpp::BufferPtr const &).
Compiling build/debug-default/swig/lua_wrap.os (shared)
Linking build/debug-default/bin/luadchpp.so (shared)
# collect2 4.36 0.50
swig -o build/debug-default/swig/bloom_wrap.cc -outdir "build/debug-default/bin" -c++ -Wall -lua swig/bloom.i
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::Entity::send(adchpp::BufferPtr const &) might not be implemented.
swig/adchpp.i:612: Warning 403: Class 'adchpp::Bot' might be abstract, no constructors generated,
swig/adchpp.i:535: Warning 403: Method adchpp::Entity::send(adchpp::BufferPtr const &) might not be implemented.
Compiling build/debug-default/swig/bloom_wrap.os (shared)
Linking build/debug-default/bin/luadchppbloom.so (shared)
build/debug-default/swig/bloom_wrap.os: In function `BloomManager_hasTTH':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:1761: undefined reference to `BloomManager::hasTTH(adchpp::Entity&, HashValue<adchpp::TigerHash> const&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_hasBloom':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:1869: undefined reference to `BloomManager::hasBloom(adchpp::Entity&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:1899: undefined reference to `BloomManager::getSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getTTHSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:1931: undefined reference to `BloomManager::getTTHSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getStoppedSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:1963: undefined reference to `BloomManager::getStoppedSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_hasBloom':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:2122: undefined reference to `BloomManager::hasBloom(adchpp::Entity&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:2152: undefined reference to `BloomManager::getSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getTTHSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:2184: undefined reference to `BloomManager::getTTHSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getStoppedSearches':
/home/pi/adchpp/build/debug-default/swig/bloom_wrap.cc:2216: undefined reference to `BloomManager::getStoppedSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `std::shared_ptr<BloomManager> std::dynamic_pointer_cast<BloomManager, adchpp::Plugin>(std::shared_ptr<adchpp::Plugin> const&)':
/usr/include/c++/4.6/bits/shared_ptr.h:389: undefined reference to `typeinfo for BloomManager'
collect2: ld returned 1 exit status
# collect2 1.43 0.15
scons: *** [build/debug-default/bin/luadchppbloom.so] Error 1
scons: building terminated because of errors.

Revision history for this message
Spitfire (b13569b8) said :
#4

any suggestions poy ?

Revision history for this message
Francisco Blas Izquierdo Riera (klondike) (klondike) said :
#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
Spitfire (b13569b8) said :
#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
Spitfire (b13569b8) said :
#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
Francisco Blas Izquierdo Riera (klondike) (klondike) said :
#8

BTW which version of adch++ are you trying to compile?

Revision history for this message
Spitfire (b13569b8) said :
#9

latest bzr revision on rasbian

Revision history for this message
Spitfire (b13569b8) said :
#10

need gcc version etc?

Revision history for this message
Francisco Blas Izquierdo Riera (klondike) (klondike) said :
#11

Nah I know it's gcc 4.6 :P

I think I have found the issue in http://bazaar.launchpad.net/~dcplusplus-team/adchpp/trunk/view/head:/swig/SConscript lines 159 and 160 are supposed to have one less indent. I wonder how come I missed it.

Revision history for this message
Spitfire (b13569b8) said :
#12

can you change it ? and ill update and try a new compile

Revision history for this message
poy (poy) said :
#13

done; give it a try...

Revision history for this message
poy (poy) said :
#14

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
Spitfire (b13569b8) said :
#15

Move("build/debug-default/bin/socket/core.so", "build/debug-default/lua/LuaSocket/socket/core.so")
scons: done building targets.

you can now say that adchpp is rpi proof :D