DJ Lucas wrote: > Ran into difficulties tonight. Need to protect against kernel types > that conflict with glibc in linux/types.h.
I'm not sure what you're trying say in this post. It would help if you specified the actual problem you are having. > The quick solution for xorg-server was to > remove both instances of linux/types.h in lnx_agp.c. I chose to add the > same protected ifdef to linux/types.h and drag in sys/types.h. Oh, it's the "Xorg lnx_agp.c fails to compile" issue? If so, then you're off the mark IMHO. Xorg fails to compile due to a Glibc bug with sys/kd.h, now fixed in Glibc-2.4. In other words, Xorg compiles successfully against Glibc-2.4. No seds to lnx_agp.c or other hacks required. http://lists.freedesktop.org/archives/xorg/2005-October/010694.html http://bugzilla.ubuntu.com/show_bug.cgi?id=18157 http://sources.redhat.com/bugzilla/show_bug.cgi?id=720 Regards Greg -- http://www.diy-linux.org/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page