fail compiling linx_agp.c [was: Re: build modular Xorg failed: 'EBADF' undeclared]

Daniel Stone daniel at freedesktop.org
Thu May 18 00:42:32 PDT 2006


On Thu, May 18, 2006 at 12:43:52AM +0200, Enrico Weigelt wrote:
> * Carlos Eduardo Rodrigues Di?genes <cerdiogenes at yahoo.com.br> schrieb:
> <snip>
> > In file included from lnx_agp.c:24:
> > /usr/include/linux/agpgart.h:55: error: syntax error before '__u16'
> > /usr/include/linux/agpgart.h:60: error: field 'version' has incomplete
> > type
> > /usr/include/linux/agpgart.h:61: error: syntax error before '__u32'
> > /usr/include/linux/agpgart.h:68: error: syntax error before '}' token
> > /usr/include/linux/agpgart.h:71: error: syntax error before '__u32'
> > /usr/include/linux/agpgart.h:92: error: syntax error before '__u32'
> > /usr/include/linux/agpgart.h:106: error: syntax error before '__u32'
> 
> hmm, probably its still broken or not matching to your libc headers.
> What code is exactly at the error positions ?
> 
> I remember such problems from several crosscompiling experiences,
> where stupid buildfiles (mostly autoshitted) pass broken include 
> directories to the compiler (ie. absolute dirs w/o sysroot 
> prefix, etc) and things got mixed up.

This is nothing to do with autotools or cross-compiling, but thanks for
your contribution anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060518/607cceb2/attachment.pgp>


More information about the xorg mailing list