According to Andrew R. Brink: While burning my CPU.
> 
> Hey Everyone,
> 
> I'm trying to compile linuxthreads 0.71 so i can compile x11amp 0.9a2
> but i get this error message:

I can compile linuxthreads 0.5 on a 2.0.35 and 36 kernel with libc5
installed and gcc version 2.7.2.1.

As to the problem you are having it looks like a libs problem giving all
the "warnings", the "error" is caused by semaphore.h:141: `PAGE_MASK'
undeclared. In 5.0 its not used, the only mention of PAGE_MASK i could find
in a quick glance was in ./linux/include/linux/mm.h but i dont think thats
the cause.

I suggest you read the README file and compare you libs with what is
recomended, and check you Makefile, check also that your gcc version is the
one needed.

My conclustion is either your system is to old or the kernel source does not
match what linuxthreads 0.71 wants.
5.0 is libc6 compatable, or so the README says.

Next time when you or anyone else has a compile problem its imperitive to
know things like lib versions, what kernel is in use etc etc.. to be able to
give a more pricise answer.

[snip]
> 
> /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:
[snip]

> make: *** [pthread.o] Error 1
> 
> any ideas on how to fix this one?
> 
> TIA,
> Andrew
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to