[sigc] compiling problems



hi there,

i am new in this list. i tried to compile a small example using libsig and got the following errors

###
sepp linux:~/c-devel/sigc> g++ -Wall sig0.cc -I/usr/local/lib/sigc++-1.0/include/ -L/usr/local/lib -lsigc
/usr/local/lib/libsigc.so: undefined reference to `pthread_create'
/usr/local/lib/libsigc.so: undefined reference to `pthread_getspecific'
/usr/local/lib/libsigc.so: undefined reference to `pthread_key_delete'
/usr/local/lib/libsigc.so: undefined reference to `pthread_detach'
/usr/local/lib/libsigc.so: undefined reference to `pthread_key_create'
/usr/local/lib/libsigc.so: undefined reference to `pthread_mutex_trylock'
/usr/local/lib/libsigc.so: undefined reference to `pthread_cond_timedwait'
/usr/local/lib/libsigc.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
###

for me it seems as if there is a missing link to a libsig library file. is there a lib file missing ? and if how is it called ?

sepp

P.S.: i am using libsigc++1.0.4 and gcc 3.3.2.

_________________________________________________________________
Erhöhen Sie Ihren Gänsehaut-Faktor und verschicken Sie virtuelle Küsse! http://match.msn.at/match/mt.cfm?pg=channel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]