Re: [Boost-users] Linking problem trying to use mutex, condition
So it turns out that I wasn't linking against the thread library. I assumed there wasn't a thread library (all implemented in headers) because when I tried to get it to build by doing 'bjam --with-libraries=regex,serialization,thread', it didn't do anything with thread. I then tried 'bjam --with-thread --with-regex --with-serialization', and that seems to work. BTW, I tried building using a parallel make (-j3), but there were errors in the build process. It appears perhaps there's a bug in the parallel compilation or the jamfile for thread. thanks, brian
Brian Krahmer wrote:
So it turns out that I wasn't linking against the thread library. I assumed there wasn't a thread library (all implemented in headers) because when I tried to get it to build by doing 'bjam --with-libraries=regex,serialization,thread', it didn't do anything with thread. I then tried 'bjam --with-thread --with-regex --with-serialization', and that seems to work. BTW, I tried building using a parallel make (-j3), but there were errors in the build process. It appears perhaps there's a bug in the parallel compilation or the jamfile for thread.
We can't do anything until you tell what the error was, exactly. - Volodya
participants (2)
-
Brian Krahmer
-
Vladimir Prus