mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.1 KiB

  1. Fixes the error:
  2. In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:
  3. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private':
  4. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM'
  5. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'THREAD_SELF' undeclared (first use in this function)
  6. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: (Each undeclared identifier is reported only once
  7. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: for each function it appears in.)
  8. ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'header' undeclared (first use in this function)
  9. Copied from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
  10. --- ./ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig 2008-10-04 20:46:13.000000000 +0200
  11. +++ ./ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-10-04 20:45:40.000000000 +0200
  12. @@ -25,6 +25,7 @@
  13. #include <atomic.h>
  14. #include <sysdep.h>
  15. #include <kernel-features.h>
  16. +#include <tls.h>
  17. #define FUTEX_WAIT 0
  18. #define FUTEX_WAKE 1