Hey Everyone,
I'm trying to compile linuxthreads 0.71 so i can compile x11amp 0.9a2
but i get this error message:
swoosh:~/linuxthreads-0.71# make
gcc -pipe -O2 -Wall -m486 -D__BUILDING_LINUXTHREADS -Isysdeps/i386
-Ilibc_r -D_POSIX_THREADS -c pthread.c -o pthread.o
In file included from /usr/include/linux/sched.h:17,
from pthread.h:26,
from pthread.c:25:
/usr/include/asm/semaphore.h:134: warning: `struct task_struct' declared
inside parameter list
/usr/include/asm/semaphore.h:134: warning: its scope is only this
definition or declaration,
/usr/include/asm/semaphore.h:134: warning: which is probably not what
you want.
/usr/include/asm/semaphore.h: In function `waking_non_zero':
/usr/include/asm/semaphore.h:141: `PAGE_MASK' undeclared (first use this
function)
/usr/include/asm/semaphore.h:141: (Each undeclared identifier is
reported only once
/usr/include/asm/semaphore.h:141: for each function it appears in.)
/usr/include/asm/processor.h: At top level:
In file included from /usr/include/linux/sched.h:74,
from pthread.h:26,
from pthread.c:25:
/usr/include/asm/processor.h:278: warning: `struct task_struct' declared
inside parameter list
/usr/include/asm/processor.h:282: warning: `struct task_struct' declared
inside parameter list
make: *** [pthread.o] Error 1
any ideas on how to fix this one?
TIA,
Andrew