autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

boost macros


From: Алексей Бутяев
Subject: boost macros
Date: Tue, 27 Apr 2010 16:34:03 +0400

I have a problem about macro AX_BOOST_THREAD. At crossplatform compilation. 
Libraries are gathered and установленны in the directory/opt/buildroot/usr/lib/.
./configure - build = ` uname-m ` - host=arm-linux - with-boost-libdir 
=/opt/buildroot/usr/lib/
also I have result

./configure --build=`uname -m` --host=arm-linux 
--with-boost-libdir=/opt/buildroot/usr/lib/
. . . .
checking for boostlib >= 1.27... yes
configure: boost is found
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-gcc-mt-1_33_1... no
checking for exit in -lboost_thread-gcc-mt-1_33_1... (cached) no
checking for exit in -lboost_thread-gcc-mt... no
configure: error: Could not link against boost_thread-gcc-mt !
address@hidden pu40]$ ls -l /opt/buildroot/usr/lib | grep boost
lrwxrwxrwx 1 root root      39 Apr 27 15:11 libboost_date_time-gcc-1_33_1.so -> 
libboost_date_time-gcc-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   54499 Apr 27 10:06 
libboost_date_time-gcc-1_33_1.so.1.33.1
lrwxrwxrwx 1 root root      42 Apr 27 15:11 libboost_date_time-gcc-mt-1_33_1.so 
-> libboost_date_time-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   54539 Apr 27 10:06 
libboost_date_time-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   54539 Apr 27 10:06 libboost_date_time-gcc-mt.so
-rwxr-xr-x 2 root root   54499 Apr 27 10:06 libboost_date_time-gcc.so
lrwxrwxrwx 1 root root      45 Apr 27 15:11 
libboost_program_options-gcc-1_33_1.so -> 
libboost_program_options-gcc-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  193535 Apr 27 10:03 
libboost_program_options-gcc-1_33_1.so.1.33.1
lrwxrwxrwx 1 root root      48 Apr 27 15:11 
libboost_program_options-gcc-mt-1_33_1.so -> 
libboost_program_options-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  193551 Apr 27 10:04 
libboost_program_options-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  193551 Apr 27 10:04 libboost_program_options-gcc-mt.so
-rwxr-xr-x 2 root root  193535 Apr 27 10:03 libboost_program_options-gcc.so
lrwxrwxrwx 1 root root      43 Apr 27 15:11 
libboost_serialization-gcc-1_33_1.so -> 
libboost_serialization-gcc-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  347535 Mar 25 10:55 
libboost_serialization-gcc-1_33_1.so.1.33.1
lrwxrwxrwx 1 root root      46 Apr 27 15:11 
libboost_serialization-gcc-mt-1_33_1.so -> 
libboost_serialization-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  347551 Mar 25 10:55 
libboost_serialization-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  347551 Mar 25 10:55 libboost_serialization-gcc-mt.so
-rwxr-xr-x 2 root root  347535 Mar 25 10:55 libboost_serialization-gcc.so
lrwxrwxrwx 1 root root      37 Apr 27 15:11 libboost_signals-gcc-1_33_1.so -> 
libboost_signals-gcc-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   65795 Apr 27 10:04 
libboost_signals-gcc-1_33_1.so.1.33.1
lrwxrwxrwx 1 root root      40 Apr 27 15:11 libboost_signals-gcc-mt-1_33_1.so 
-> libboost_signals-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   65843 Apr 27 10:04 
libboost_signals-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   65843 Apr 27 10:04 libboost_signals-gcc-mt.so
-rwxr-xr-x 2 root root   65795 Apr 27 10:04 libboost_signals-gcc.so
lrwxrwxrwx 1 root root      39 Apr 27 15:11 libboost_thread-gcc-mt-1_33_1.so -> 
libboost_thread-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   41035 Mar 25 10:51 
libboost_thread-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root   41035 Mar 25 10:51 libboost_thread-gcc-mt.so
lrwxrwxrwx 1 root root      44 Apr 27 15:11 
libboost_wserialization-gcc-1_33_1.so -> 
libboost_wserialization-gcc-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  283319 Mar 25 10:56 
libboost_wserialization-gcc-1_33_1.so.1.33.1
lrwxrwxrwx 1 root root      47 Apr 27 15:11 
libboost_wserialization-gcc-mt-1_33_1.so -> 
libboost_wserialization-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  283367 Mar 25 10:56 
libboost_wserialization-gcc-mt-1_33_1.so.1.33.1
-rwxr-xr-x 2 root root  283367 Mar 25 10:56 libboost_wserialization-gcc-mt.so
-rwxr-xr-x 2 root root  283319 Mar 25 10:56 libboost_wserialization-gcc.so
address@hidden pu40]$
if use next command make BOOST_THREAD_LIB=-lboost_thread-gcc-mt build it is 
success.
With other libraries of boost result similar

Best regards.



Лучшие предложения интернет-магазинов на address@hidden 
http://r.mail.ru/cln4267/torg.mail.ru/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]