This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Build error of current CVS sources due to linuxthreads changes
- To: libc-hacker@cygnus.com
- Subject: Build error of current CVS sources due to linuxthreads changes
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 15 Feb 1999 17:34:22 +0100
The current glibc sources don't compile, I'll get the following error:
/usr/glibc/src/buildreport/19990215/linuxthreads/libpthread.so: undefined reference to `__strverscmp'
collect2: ld returned 1 exit status
make[2]: *** [/usr/glibc/src/buildreport/19990215/nscd/nscd] Error 1
The problem seems to be the function kernel_has_rtsig ()
which is implemented insysdeps/unix/sysv/linux/testrtsig.h as using
__strverscmp.
The following patch introduced kernel_has_rt_sig to pthread.c:
1999-02-12 H.J. Lu <hjl@gnu.org>
* Versions (__libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig): Added to GLIBC_2.1.
* internals.h (DEFAULT_SIG_RESTART): Removed.
(DEFAULT_SIG_CANCEL): Removed.
* pthread.c (init_rtsigs, __libc_current_sigrtmin,
__libc_current_sigrtmax, __libc_allocate_rtsig): New functions.
(__pthread_sig_restart, __pthread_sig_cancel,
__pthread_sig_debug): Initialized.
(pthread_initialize): Call init_rtsigs () to initialize
real-time signals.
I see two solutions for now: using strverscmp or exporting
__strverscmp in string/Versions.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de