On Sat, 2003-11-08 at 10:38, Daniel Stone wrote: > On Sat, Nov 08, 2003 at 12:39:49AM -0800, Blars Blarson wrote: > > gcc -c -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls > > -Wnested-externs -Wundef -fno-merge-constants > > -I../../../../../../programs/Xserver/hw/xfree86/common > > -I../../../../../../programs/Xserver/hw/xfree86/os-support -I. > > -I../../../../../../programs/Xserver/include > > -I../../../../../../exports/include/X11 > > -I../../../../../../include/extensions > > -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared > > -I../../../../../.. -I../../../../../../exports/include -Dlinux > > -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE > > -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX > > -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV > > -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV > > -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server > > -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG > > -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO > > -DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC lnx_io.c > > In file included from > > ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h:747, > > from lnx_io.c:35: > > ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:259: > > warning: redundant redeclaration of `xf86MakeNewMapping' in same scope > > ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:143: > > warning: previous declaration of `xf86MakeNewMapping' > > ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:260: > > warning: redundant redeclaration of `xf86InitVidMem' in same scope > > ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:144: > > warning: previous declaration of `xf86InitVidMem' > > lnx_io.c: In function `KDKBDREP_ioctl_ok': > > lnx_io.c:83: error: structure has no member named `rate' > > lnx_io.c:91: error: structure has no member named `rate' > > lnx_io.c:93: error: structure has no member named `rate' > > lnx_io.c:94: error: structure has no member named `rate' > > lnx_io.c:95: error: structure has no member named `rate' > > make[8]: *** [lnx_io.o] Error 1 > > make[8]: Leaving directory > > `/home/blarson/src2/xfree86-4.2.1/build-tree/xc/programs/Xserver/hw/xfree86/os-support/linux' > > make[7]: *** [linux] Error 2 > > What kernel version are you running? Specifically, what kernel headers > is XFree86 finding?
The new linux-kernel-headers. I tend to consider this incompatible change a bug in them, however current XFree86 CVS works around it, this patch is all that should be needed. -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Software libre enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Index: programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c =================================================================== RCS file: /home/x-cvs/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c,v retrieving revision 3.24 retrieving revision 3.25 diff -p -u -r3.24 -r3.25 --- programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c 20 Oct 2002 21:45:27 -0000 3.24 +++ programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c 19 Aug 2003 17:32:34 -0000 3.25 @@ -67,6 +67,7 @@ xf86GetKbdLeds() * from util-linux-2.9t package */ #include <linux/kd.h> +#include <linux/version.h> #ifdef __sparc__ #include <asm/param.h> #include <asm/kbio.h>