Boost Users :
Subject: [Boost-users] thread linking strangeness
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-11-17 17:12:47
I am observing strange things while linking boost::thread on a linux
system with gcc 3.4.6.
If I link an app with
-L[path to boost.thread] -lboost_thread-gcc34-mt
then it links fine.
If I link with
[path to boost.thread]/libboost_thread-gcc34-mt-1_36.a
then I get linker errors with unresolved externals to things like:
I suspect it has to do with dynamic vs. static libraries. I have two
So I suspect that in the first case I am getting a dll while in the
second case the static link fails for some reason. Any suggestions/
tips to get the static link to work?
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