On Mon, Oct 31, 2005 at 10:45:55AM +0100, Matej Vela wrote:
> Package: linux-kernel-headers
> Version: 2.6.13+0rc3-2
> Severity: serious
> Justification: causes an FTBFS for dctc and dcgui
> 
> Including <linux/sem.h> results in the following error on mips and mipsel:
> 
>   casals.debian.org$ echo '#include <linux/sem.h>' | cpp > /dev/null
>   In file included from /usr/include/asm/atomic.h:26,
>                    from /usr/include/linux/sem.h:5,
>                    from <stdin>:1:
>   /usr/include/asm/cpu-features.h:15:35: error: cpu-feature-overrides.h: No 
> such file or directory

Why are you using this header from userspace?  In general it's the
wrong choice.

The only advantage over the userspace header is that it provides union
semun; but POSIX is quite clear that it is the application's
responsibility to provide that type.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to