Boost logo

Boost Users :

Subject: Re: [Boost-users] (newbie) boost thread compile problems on Fedora 8
From: Christoph Gysin (christoph.gysin_at_[hidden])
Date: 2009-07-16 09:35:01


> Now, I write a small test program (given below). It gives me linker
> errors with undefined references to pretty much every pthread symbol.

Yes, boost::thread uses pthreads so you'll need to link against it.

> If anyone wants I can paste all the errors in the next message. When I
> add the -lpthread flag to the compile, it gives me an undefined
> reference error with regards to __vdso_clock_gettime from
> /lib64/libpthread.a.

Looks like a known bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=5531

Chris

-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org_at_fr33z3

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