Re: Apparent Bug in AXP's sem.h

Bernd (bmeyer@cs.monash.edu.au)
Thu, 24 Oct 1996 02:02:17 +1000 (EST)

>Apparently 'struct sembuf' is defined in both sys/sem.h and asm/sembits.h.
>sys/sem.h includes sys/sem_buf.h which in turn includes asm/sembits.h. Here's
>the diff for the changes I made to sys/sem.h to fix this problem:
>
>37d36
>< #ifndef _ASM_ALPHA_SEMBITS_H
>45d43
>< #endif
>
>Has this already been taken care of? I find it hard to believe that this is
>the first time is has shown up.

One of the places this (and a similar problem with shm.h) will turn up is
when compiling cdda2wav v0.6 (which, BTW, works quite well apart from being
hard to compile). Heaps of redefined stuff happening in there, with quite
a few things being defined as __KERNEL_XYZ, and later turning up as undefined
as there is no __KERNEL_XYZ anywhere to be found.....

I have this nagging suspicion that a few things changed between the kernel
that shipped with RH 4.0 and the kernel I am currently using (2.1.4), so
this might not be a general problem but one created by being at the bleeding
edge --- and the Changes file in the kernel seems a bit Intel-centric.

Bernie

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices