Boost logo

Boost Users :

Subject: [Boost-users] boost mutex linking problem (undefined reference to mutex) on gcc and boost 1.34
From: professor rumsdiegeige (professor_rumsdiegeige_at_[hidden])
Date: 2008-11-01 06:53:54


Hello,

I'm trying to compile a simple program with a boost::mutex in it. It compiles fine, but the linking process shipwrecks:

"undefined reference to `boost::mutex::~mutex()' "

I'm using ubuntu 8.04 and boost 1.34. When I try to compile the same program on MSVS 2005, it compiles, links and works fine

Do I need to link explicitly to certain library? On the web I found sth. about needing to link against posix4 - but that didn't help.

Any help appreciated!

Regards,
Sabine Lorentz

      



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