[help] thread on intel solaris 8
Hi all, I've succesfully compiled the boost library 1.30.0, and the tests for the libthread runs fine, but I get an "abort" when I try to execute a simple test written by me. I suppose it is a link problem, this is the command in the Makefile: (I'm using GCC) CC = g++ OBJS = test_thread.o TARGET = test_thread $(TARGET): $(OBJS) $(CC) -o $(TARGET) $(OBJS) -L$(HOME)/local/lib/ -lboost_thread Any idea to suggest me? Thank you, meg
Did you compile using -mt and -D_REENTRANT ?.
What do you think it is a link issue since you do not
have any unresolved symbols ?.
Seb.
--- meg_r123
Hi all,
I've succesfully compiled the boost library 1.30.0, and the tests for the libthread runs fine, but I get an "abort" when I try to execute a simple test written by me.
I suppose it is a link problem, this is the command in the Makefile: (I'm using GCC)
CC = g++ OBJS = test_thread.o TARGET = test_thread $(TARGET): $(OBJS) $(CC) -o $(TARGET) $(OBJS) -L$(HOME)/local/lib/ -lboost_thread
Any idea to suggest me?
Thank you, meg
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--- In Boost-Users@yahoogroups.com, Sebastien Marc
Did you compile using -mt and -D_REENTRANT ?.
I tried, but I get the same runtime error: "Abort", when the program try to create a boost::thread object...
What do you think it is a link issue since you do not have any unresolved symbols ?.
Yes, you are right, I don't get any error, but I thougth the binary it
is corrupted.
here is the code...
thanks,
meg
#include
participants (3)
-
John Maddock
-
meg_r123
-
Sebastien Marc