Peter, typedef __kernel_timer_t timer_t will fail with Arjans glibc headers, they do not define __kernel_timer_t in asm/posix_types.h. All archs supported by Linux have typedef int __kernel_timer_t. Can we just get rid of the __kernel_timer_t? --- klibc-0.171/klibc/include/sys/types.h.orig 2004-06-08 07:32:48.000000000 +0200 +++ klibc-0.171/klibc/include/sys/types.h 2004-09-02 15:14:04.495486895 +0200 @@ -28,7 +28,7 @@ typedef __kernel_pid_t pid_t; typedef __kernel_daddr_t daddr_t; typedef __kernel_key_t key_t; typedef __kernel_suseconds_t suseconds_t; -typedef __kernel_timer_t timer_t; +typedef int timer_t; typedef __kernel_uid32_t uid_t; typedef __kernel_gid32_t gid_t; -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG
Olaf Hering wrote:> Peter, > > typedef __kernel_timer_t timer_t will fail with Arjans glibc headers, > they do not define __kernel_timer_t in asm/posix_types.h. > > All archs supported by Linux have typedef int __kernel_timer_t. Can we > just get rid of the __kernel_timer_t? >Architecturally I think that's a bad idea, but it makes sense as a workaround. It's definitely a bug in Arjan's headers, though. -hpa
Possibly Parallel Threads
- ARM/Thumb updates and some other minor tweaks
- [klibc:time64] time: Use clock_* system calls for time-of-day and sleep
- Xen kernel compilation fails - no such file or directory features.h (but its there)
- Eicon Diva - problems building new v3 melware driver
- [PATCH] qemu-traditional: update configure check for -lrt changes in glibc 2.17