On 2005-03-06 21:55, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: >On Sun, Mar 06, 2005 at 11:39:55PM +0200, Giorgos Keramidas wrote: >:On 2005-03-06 21:32, Jonathon McKitrick <[EMAIL PROTECTED]> wrote: >:> >:> I found -lc_r does the trick. Not what I was expecting. >: >: -lpthread should work too. > > Hmmmm... > > [EMAIL PROTECTED]:...cvs/tcontainer/libplugina> make install > cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c plugina.c > c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c wrapper.cpp > c++ -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c myclass.cpp > cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -c threads.c > cc -O -pipe -Wall -g -I.. -I../include -shared -fPIC -lpthread -lstdc++ -g > -Wl,-soname,libplugina.so.0 -o libplugina.so.0.0 plugina.o wrapper.o > myclass.o threads.o > /usr/libexec/elf/ld: cannot find -lpthread > *** Error code 1 > > Stop in /usr/home/jcm/cvs/tcontainer/libplugina. > [EMAIL PROTECTED]:...cvs/tcontainer/libplugina>
Is this 4.X? The -lpthread library is available in all 5.X versions, AFAIK. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
