On 27 February 2010 20:08, Alex Farber <alexf3062@gmail.com> wrote:
Thank you. This is my command line:
g++  -o"MyProgram"  ./main.o   -l:libboost_thread.a
 
The result is huge number of messages like:
undefined reference to `pthread_key_create'
 
The same result as I got with this:
g++ -static -o"MyProgram"  ./main.o   -lboost_thread
Some problems with static library libboost_thread.a?

Add -lpthread