Chuck_d | 17 Nov 18:25

Linker error when build filesystem library for Arm9 on x86 Suse 10 platform


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
(Continue reading)

Vladimir Prus | 17 Nov 18:55
Favicon

Re: Linker error when build filesystem library for Arm9 on x86 Suse 10 platform

Chuck_d wrote:

> 
> 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.

Note that:
- it's general not good idea to add extra priority to your issue like this.
- there's no apparent bug in Boost.Build, so this mail better belongs
to boost-users <at> lists.boost.org

> 
> 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'

I'm surprised that this works -- neither of those -s option has any effect
for Boost.Build

> --with-filesystem
> ...patience...
> ...found 410 targets...
> ...updating 1 target...
(Continue reading)


Gmane