[PATCH] NPTL: Fix compile errors with old (2.6.18) kernel headers

Dan Moulding dan.moulding at rackwareinc.com
Tue Apr 29 14:54:56 UTC 2014


I am presently forced to use an older kernel (2.6.18). When compiling
uClibc against the 2.6.18 kernel headers, linking of the NPTL library
fails due to an undefined reference to PRIVATE_FUTEX in
pthread_cond_timedwait.S.

This patch resolves the compilation error by making the definition of
PRIVATE_FUTEX (defined in the generated tcb-offsets.h) available to
pthread_cond_timedwait.S.

Dan Moulding (1):
  NPTL: Fix undefined reference to PRIVATE_FUTEX with 2.6.18 kernel

 .../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S      | 1 +
 1 file changed, 1 insertion(+)

-- 
1.8.2.1



More information about the uClibc mailing list