On Sat, 14 Jun 2003, Chris wrote:

> >
> > Yes. Please send me your /var/log/messages and /var/log/XFree86.0.log .
> >
> 
> um, those won't help considering DRI won't even compile, I'm sure its for
> DRI you were meaning.
> 
> <snip from compile log>
> make[11]: Entering directory `/usr/src/linux-2.4.21-rc8'
> 
> make -C
> /usr/src/dri-cvs/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kern
> el
> CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21-rc8/include -Wall -Wstrict-prot
> otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-poin
> ter -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE"
> MAKING_MODULES=1 modules
> 
> make[12]: Entering directory
> `/usr/src/dri-cvs/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/ker
> nel'
> 
> gcc -I/usr/src/dri-cvs/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/dr
> m/kernel -D__KERNEL__ -I/usr/src/linux-2.4.21-rc8/include -Wall -Wstrict-pro
> totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-poi
> nter -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -nostdinc -iwit
> hprefix include -DKBUILD_BASENAME=gamma_drv -c -o gamma_drv.o gamma_drv.c
> 
> In file included from drmP.h:125,
> 
> from gamma_drv.c:34:
> 
> drm_agp.h:43: error: parse error before "agp_memory"
> 
> drm_agp.h:43: warning: no semicolon at end of struct or union
> 
> drm_agp.h:48: error: parse error before '}' token
> 
> drm_agp.h:48: warning: type defaults to `int' in declaration of
> `drm_agp_mem_t'
> 
> drm_agp.h:48: warning: data definition has no type or storage class
> 
> drm_agp.h:56: error: parse error before "agp_kern_info"
> 
> <END SNIP>
> 
> 
> X4.3.99.6 does work however.

It looks to me like the contents of drm_agp.h need to be protected with:

#if __REALLY_HAVE_AGP

/* struct definitions and prototypes */

#endif

This was present in drmP.h before the struct/typedef definitions and 
prototypes were split out into drm_agp.h.

-- 
Leif Delgass 
http://www.retinalburn.net



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to