Boost logo

Boost Users :

From: Damien McGivern (d_mcgivern_at_[hidden])
Date: 2004-06-08 10:11:27


Hi,
 I've been developing some code on Windows using Boost
threads which works fine. I'm porting it to Linux and
am having problems compiling the Boost Threading
library. I'm running Linux Mandrake 10 Community
Edition and have attached the output I get when
running bjam. I don't actually have bjam included in
the PATH enviroment variable as I'm not sure how to do
this in Linux so I just copied the bjam exe into the
thread build directory - I doubt it but could this be
the cause of the problem? Any help on how to solve
this would be much appreciated.

Cheers
Damien

        
        
                
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

[damien_at_tux build]$ ./bjam "-sTOOLS=gcc"
...patience...
...found 367 targets...
...updating 39 targets...
MkDir1 ../../../libs/thread/build/bin-stage
MkDir1 ../../../bin
MkDir1 ../../../bin/boost
MkDir1 ../../../bin/boost/libs
MkDir1 ../../../bin/boost/libs/thread
MkDir1 ../../../bin/boost/libs/thread/build
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/condition.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/mutex.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/recursive_mutex.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/thread.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/tss.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/xtime.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/once.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/exceptions.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/threadmon.o
gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31d.so
ln: creating symbolic link `../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31d.so' to `libboost_thread-gcc-mt-d-1_31d.so.1.31.0': Operation not permitted

    LD_LIBRARY_PATH=../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    g++ -g -pthread -fPIC -shared -o "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31d.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/condition.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/recursive_mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/thread.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/tss.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/xtime.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/once.o" "../../../bin/boost/libs/threa
d/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/exceptions.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/threadmon.o" -lrt -Wl,-rpath-link,. -Wl,-soname,libboost_thread-gcc-mt-d-1_31d.so.1.31.0
    ln -fs "libboost_thread-gcc-mt-d-1_31d.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31d.so"

...failed gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31d.so...
...skipped <@boost!libs!thread!build!bin-stage>libboost_thread-gcc-mt-d-1_31d.so for lack of <@boost!libs!thread!build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi>libboost_thread-gcc-mt-d-1_31d.so...
FileClone ../../../libs/thread/build/bin-stage/libboost_thread-gcc-mt-d-1_31d.so.1.31.0
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true
MkDir1 ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/condition.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/mutex.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/recursive_mutex.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/thread.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/tss.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/xtime.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/once.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/exceptions.o
gcc-C++-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/threadmon.o
gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-1_31.so
ln: creating symbolic link `../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-1_31.so' to `libboost_thread-gcc-mt-1_31.so.1.31.0': Operation not permitted

    LD_LIBRARY_PATH=../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    g++ -pthread -s -fPIC -shared -o "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-1_31.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/condition.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/recursive_mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/thread.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/tss.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/xtime.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/once.o" "../../../bin/boo
st/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/exceptions.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/threadmon.o" -lrt -Wl,-rpath-link,. -Wl,-soname,libboost_thread-gcc-mt-1_31.so.1.31.0
    ln -fs "libboost_thread-gcc-mt-1_31.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-1_31.so"

...failed gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-1_31.so...
...skipped <@boost!libs!thread!build!bin-stage>libboost_thread-gcc-mt-1_31.so for lack of <@boost!libs!thread!build/libboost_thread.so/gcc/release/shared-linkable-true/threading-multi>libboost_thread-gcc-mt-1_31.so...
FileClone ../../../libs/thread/build/bin-stage/libboost_thread-gcc-mt-1_31.so.1.31.0
gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31.so
ln: creating symbolic link `../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31.so' to `libboost_thread-gcc-mt-d-1_31.so.1.31.0': Operation not permitted

    LD_LIBRARY_PATH=../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    g++ -g -pthread -fPIC -shared -o "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/condition.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/recursive_mutex.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/thread.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/tss.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/xtime.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/once.o" "../../../bin/boost/libs/thread
/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/exceptions.o" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/threadmon.o" -lrt -Wl,-rpath-link,. -Wl,-soname,libboost_thread-gcc-mt-d-1_31.so.1.31.0
    ln -fs "libboost_thread-gcc-mt-d-1_31.so.1.31.0" "../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31.so"

...failed gcc-Link-action ../../../bin/boost/libs/thread/build/libboost_thread.so/gcc/debug/shared-linkable-true/threading-multi/libboost_thread-gcc-mt-d-1_31.so...
...failed updating 3 targets...
...skipped 2 targets...
...updated 34 targets...
 


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