Re: [gtk-list] Errors by compiling glib-1.2.3



Hi, Peter

> during compiling glib-1.2.3 I get the following messages:
> 
> /usr/src/glib-1.2.3/gthread/testgthread.c:89: undefined reference to
> `pthread_create'
> testgthread.o: In function `test_private':
> /usr/src/glib-1.2.3/gthread/testgthread.c:197: undefined reference to
> `pthread_join'
> .libs/libgthread.so: undefined reference to `pthread_getspecific'
> .libs/libgthread.so: undefined reference to `pthread_key_create'
> .libs/libgthread.so: undefined reference to `pthread_mutex_trylock'
> .libs/libgthread.so: undefined reference to `pthread_cond_timedwait'
> .libs/libgthread.so: undefined reference to `pthread_setspecific'
> collect2: ld returned 1 exit status
> make[2]: *** [testgthread] Error 1
> make[2]: Leaving directory `/usr/src/glib-1.2.3/gthread'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/glib-1.2.3'
> make: *** [all-recursive-am] Error 2

What is the link command that lead to that error?

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi@ira.uka.de           |      är himmlen så förunerligt blå
http://goethe.ira.uka.de/~wilhelmi   |



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