uClibc 0.9.31 undefined reference to `_res'

dmurungi at dicts.mak.ac.ug dmurungi at dicts.mak.ac.ug
Sun Apr 4 10:56:24 UTC 2010


Hello 

I'm trying to compile uClibc 0.9.31 for x86 with LINUXTHREADS_NEW enabled 
and I get the following error; 

 -----------------------------------------------------
  AR cr libpthread/linuxthreads/libpthread_so.a
  STRIP -x -R .note -R .comment libpthread/linuxthreads/libpthread_so.a
  CC libpthread/linuxthreads/pthread_atfork.oS
  AR cr lib/libpthread_nonshared.a
  STRIP -x -R .note -R .comment lib/libpthread_nonshared.a
  LD libpthread-0.9.31.so
libpthread/linuxthreads/libpthread_so.a(pthread.oS): In function 
`__pthread_reset_main_thread':
pthread.c:(.text.__pthread_reset_main_thread+0x9f): undefined reference to 
`_res'
collect2: ld returned 1 exit status
make[1]: *** [lib/libpthread.so] Error 1 

 ----------------------------------------------------- 

Building with LINUXTHREADS_OLD works fine. The above error does not occur 
with uclibc 0.9.30.3. 

Good work with the new release. 

Daniel.


More information about the uClibc mailing list