boost threads ung kdevelop

[email protected]
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo Liste
Hat jemand von euch schon einmal boost/threads eingesetzt?
Ich bekomme es einfach nicht gelinkt. Als beispiel, boost/signal geht, habe 
die bibliothek boost_signals-gcc-d angegeben und alles hat geklappt.

gcc meint, dass er die bibliothek boost_thread-gcc-mt-d nicht findet, obwohl 
diese im gleichen verzeichnis ist wie die signals, welche er ja findet.

Ich hane noch eine zweite frage.
Bei M$ muss mann in den compiler einstellungen angeben, dass man 
multithreadded programmiert, muss dann auch gegen multi threadded libs 
linken. Muss man das beim gcc auch einstellen? und wie?

Vielen dank schon im voraus
Gruss Markus

ach ja, habe suse 9.1. die compiler meldung liegt unten:

Making all in src
cd /home/toomy/develop/cpp/wireless 
&& /bin/sh /home/toomy/develop/cpp/wireless/missing --run automake-1.8 --gnu 
src/Makefile
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
/bin/sh ../libtool --mode=link g++ -O0 -g3 -o wireless -all-static wireless.o 
interfaces.o -L/usr/local/lib/boost -lboost_signals-gcc-d 
-L/usr/local/lib/boost -lboost_thread-gcc-mt-d 
g++ -O0 -g3 -o wireless -static wireless.o interfaces.o -L/usr/local/lib/boost 
-lboost_signals-gcc-d -lboost_thread-gcc-mt-d
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
cannot find -lboost_thread-gcc-mt-d
collect2: ld returned 1 exit status
gmake[2]: *** [wireless] Error 1
gmake[2]: Target `all' not remade because of errors.
gmake[1]: 
*** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***


-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.