[opensuse-packaging] libtorrent-rasterbar (0.16.5) examples fail to build with boost 1.49
Hi,
I wanted to update libtorrent-rasterbar package in devel:libraries:c_c++. Libray is building fine but examples fail:
[ 24s] Making all in examples
[ 24s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/libtorrent-rasterbar-0.16.5/examples'
[ 24s] g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.5\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.5\" -DPACKAGE_BUGREPORT=\"arvid@cs.umu.se\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=1 -DHAVE_BOOST_SYSTEM=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_LIBRT=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_FIEMAP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-50 -I../include -Os -I/usr/include -fmessage-length=0 -O2 -
Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fvisibility=hidden -fno-strict-aliasing -fvisibility-inlines-hidden -c -o client_test.o client_test.cpp
[ 24s] client_test.cpp: In function 'int main(int, char**)':
[ 24s] client_test.cpp:1645:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
[ 24s] client_test.cpp:1761:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
[ 24s] /bin/sh ../libtool --tag=CXX --mode=link g++ -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fvisibility=hidden -fno-strict-aliasing -fvisibility-inlines-hidden -lboost_system-mt -L/usr/lib64 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -lrt -o client_test client_test.o ../src/libtorrent-rasterbar.la -lGeoIP -lrt -lpthread
[ 24s] libtool: link: g++ -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fvisibility=hidden -fno-strict-aliasing -fvisibility-inlines-hidden -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o .libs/client_test client_test.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system-mt -lssl -lcrypto -lGeoIP -lrt -lpthread -Wl,-rpath -Wl,/usr/lib64
[ 25s] client_test.o: In function `libtorrent::block_info::peer() const':
[ 25s] /home/abuild/rpmbuild/BUILD/libtorrent-rasterbar-0.16.5/examples/../include/libtorrent/torrent_handle.hpp:120: undefined reference to `boost::asio::ip::address_v4::address_v4(boost::array
Dnia środa, 31 października 2012 16:44:42 Mariusz Fik pisze:
Hi,
I wanted to update libtorrent-rasterbar package in devel:libraries:c_c++. Libray is building fine but examples fail:
[ 24s] libtool:
link: g++ -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fvisibility=hidden -fno-strict-aliasing -fvisibility-inlines-hidden -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o .libs/client_test client_test.o -L/usr/lib64 ../src/.libs/libtorrent-rasterbar.so -lboost_system-mt -lssl -lcrypto -lGeoIP -lrt -lpthread -Wl,-rpath -Wl,/usr/lib64
You probably need -lboost_asio or something.
[ 25s] client_test.o: In function `libtorrent::block_info::peer() const': [ 25s] /home/abuild/rpmbuild/BUILD/libtorrent-rasterbar-0.16.5/examples/../include /libtorrent/torrent_handle.hpp:120: undefined reference to `boost::asio::ip::address_v4::address_v4(boost::array
const&)'
Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Krzysztof Żelechowski
-
Mariusz Fik