Boost logo

Boost-Build :

Subject: [Boost-build] Linker error when build filesystem library for Arm9 on x86 Suse 10 platform
From: Chuck_d (sathya.iyer_at_[hidden])
Date: 2008-11-17 12:29:24


I desperatly need help resolving this issue, as I am fighting against a
deadline.
I would really appreciate if someone can help resolve this issue.

I am using Suse 10 linux running on x86 and trying to cross-compile
filesystem library for Arm9 processor. I am using windriver PCD1.4
toolchain. Here's the command and output.

wrlinux_at_mp201_linux_box_1:~/boost_1_35_0> ./tools/jam/src/bin.linuxx86/bjam
'-sBUILD=release static multi'
'-sGCC_ROOT_DIRECTORY=/home/wrlinux/gnu/3.4.4-wrlinux-1.4/x86-linux2/bin/'
'-sGCC=arm-wrs-linux-gnueabi-arm_novfp-glibc_small-gcc'
'-sGXX=arm-wrs-linux-gnueabi-arm_novfp-glibc_small-g++ -D_REENTRANT'
--with-filesystem
...patience...
...found 410 targets...
...updating 1 target...
gcc.link.dll
bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/libboost_filesystem-gcc34-mt-1_35.so.1.35.0
bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/path.o:(.bss._ZZNK5boost6system14error_category7messageEiE1s[boost::system::error_category::message(int)
const::s]+0x0): multiple definition of
`boost::system::error_category::message(int) const::s'
bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/operations.o:(.bss._ZZNK5boost6system14error_category7messageEiE1s[*boost::system::error_category::message(int)
const::s]+0x0): first defined here
collect2: ld returned 1 exit status

   
"/home/wrlinux/gnu/3.4.4-wrlinux-1.4/x86-linux2/bin/arm-wrs-linux-gnueabi-arm_novfp-glibc_small-g++"
"-D_REENTRANT" -o
"bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/libboost_filesystem-gcc34-mt-1_35.so.1.35.0"
-Wl,-h -Wl,libboost_filesystem-gcc34-mt-1_35.so.1.35.0 -shared
-Wl,--start-group
"bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/operations.o"
"bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/path.o"
"bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/portability.o"
"bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/utf8_codecvt_facet.o"
"bin.v2/libs/system/build/gcc-3.4.4/release/threading-multi/libboost_system-gcc34-mt-1_35.so.1.35.0"
-Wl,-Bstatic -Wl,-Bdynamic -lrt -Wl,--end-group -Wl,--strip-all -pthread

...failed gcc.link.dll
bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/libboost_filesystem-gcc34-mt-1_35.so.1.35.0...
...failed updating 1 target...

-- 
View this message in context: http://www.nabble.com/Linker-error-when-build-filesystem-library-for-Arm9-on-x86-Suse-10-platform-tp20543990p20543990.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk