Boost logo

Boost Users :

From: Thomas DAVID (tdavid_at_[hidden])
Date: 2006-06-01 12:00:52


Hi all,
i've posted some time ago about a problem about how to serialize
valarray with boost. The answer was to use the CVS version. But I have
errors when i try to compile it.

I downloaded the .rpm version of bjam, and installed it with alien and
dpkg (i use Ubuntu).
I used this command to launch the compilation : bjam --with-serialization
I'm using : g++ (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2) and GNU ld version
2.16.91 2006011

I have many erros like this :
`.L454' referenced in section `.rodata' of
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/array_binary_oarchive.o:
defined in discarded section
`.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/array_binary_oarchive.o

and collect2: ld a retourné 1 code d'état d'exécution (ld returned code 1)

and at the end :

    ln -fs "libboost_serialization-gcc-mt-1_35.so.1.35.0"
"bin/boost/libs/serialization/build/libboost_serialization.so/gcc/release/shared-linkable-true/threading-multi/libboost_serialization-gcc-mt-1_35.so"

...failed gcc-Link-action
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/release/shared-linkable-true/threading-multi/libboost_serialization-gcc-mt-1_35.so...
...skipped
<@boost!libs!serialization!build/libboost_wserialization.so/gcc/debug/shared-linkable-true>libboost_wserialization-gcc-d-1_35.so
for lack of
<@boost!libs!serialization!build/libboost_serialization.so/gcc/debug/shared-linkable-true>libboost_serialization-gcc-d-1_35.so...
...skipped
<@boost!libs!serialization!build/libboost_wserialization.so/gcc/debug/shared-linkable-true/threading-multi>libboost_wserialization-gcc-mt-d-1_35.so
for lack of
<@boost!libs!serialization!build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi>libboost_serialization-gcc-mt-d-1_35.so...
...skipped
<@boost!libs!serialization!build/libboost_wserialization.so/gcc/release/shared-linkable-true>libboost_wserialization-gcc-1_35.so
for lack of
<@boost!libs!serialization!build/libboost_serialization.so/gcc/release/shared-linkable-true>libboost_serialization-gcc-1_35.so...
...skipped
<@boost!libs!serialization!build/libboost_wserialization.so/gcc/release/shared-linkable-true/threading-multi>libboost_wserialization-gcc-mt-1_35.so
for lack of
<@boost!libs!serialization!build/libboost_serialization.so/gcc/release/shared-linkable-true/threading-multi>libboost_serialization-gcc-mt-1_35.so...
...failed updating 4 targets...
...skipped 4 targets...

I found no info on google (except that :
https://launchpad.net/distros/ubuntu/+source/binutils/+bug/42609) , and
I'll be glad to give you more info about my cofiguration if necessary.

Regards,

Thomas DAVID


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net