linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07386
Re: [Question #234485]: Need help compiling on Fedora 19
Question #234485 on ADCH++ changed:
https://answers.launchpad.net/adchpp/+question/234485
Description changed to:
Hello,
I need some help compiling the ADCH source code on Fedora 19 32-bit. I
installed all of the software that I thought was required with:
yum install swig ruby python scons gcc-c++ libstdc++-devel readline-
devel openssl-devel
Then I ran scons, but I keep getting a series of errors that seem to be
type related. I feel like I am really close to getting this to work, but
I am missing some library. If anyone has any experience in installing on
Fedora, I would really appreciate it. Or if anyone has a link to a guide
or something.
This is the output that I get when I try to run scons:
[root@localhost adchpp_2.11.0_source]# scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/epoll.h... (cached) yes
Checking for pthread_create() in C library pthread... (cached) yes
Checking for SSL_connect() in C library ssl... (cached) yes
Checking for dlopen() in C library dl... (cached) yes
Copy("/adchpp_2.11.0_source/build/debug-default/bin/lua", "lua")
scons: *** /adchpp_2.11.0_source/build/debug-default/bin/lua: File exists
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h
Ruby libdir not found, skipping ruby module
Python.h not found, not building python extension
scons: done reading SConscript files.
scons: Building targets ...
Linking build/debug-default/bin/luadchppbloom.so (shared)
build/debug-default/swig/bloom_wrap.os: In function `BloomManager_hasTTH':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:1750: undefined reference to `BloomManager::hasTTH(adchpp::Entity&, HashValue<adchpp::TigerHash> const&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_hasBloom':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:1858: undefined reference to `BloomManager::hasBloom(adchpp::Entity&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:1888: undefined reference to `BloomManager::getSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getTTHSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:1920: undefined reference to `BloomManager::getTTHSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_BloomManager_getStoppedSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:1952: undefined reference to `BloomManager::getStoppedSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_hasBloom':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:2111: undefined reference to `BloomManager::hasBloom(adchpp::Entity&) const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:2141: undefined reference to `BloomManager::getSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getTTHSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:2173: undefined reference to `BloomManager::getTTHSearches() const'
build/debug-default/swig/bloom_wrap.os: In function `_wrap_TBloomManagerPtr_getStoppedSearches':
/adchpp_2.11.0_source/build/debug-default/swig/bloom_wrap.cc:2205: 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.8.1/bits/shared_ptr.h:449: undefined reference to `typeinfo for BloomManager'
collect2: error: ld returned 1 exit status
# collect2 0.07 0.00
scons: *** [build/debug-default/bin/luadchppbloom.so] Error 1
scons: building terminated because of errors.
Thanks in advance.
--
You received this question notification because you are a member of
Dcplusplus-team, which is an answer contact for ADCH++.