hi there, i have had this error compilign XFree86 in the last 2 releases (4.2.0 and 4.2.1). it is regards to the joystick support... if i turn it of, X compiles fine. Seems that a define, MAGIC_DONE is never defined! i haev grepped my entire systems headers and the linux kernel source also, but to no avail. anyone got any ideas what the problem could be?
i have gcc-3.2 (but got the same compile error with gcc-2.95.3), glbc-2.2.5 and linux-2.4.19. i paste my error (sorry about the word wrapping, yahoo gives me no choice!) gcc -c -s -O3 -fomit-frame-pointer -march=i686 -ansi -pedantic -w -pipe -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_jstk.c In file included from ../../../../../../programs/Xserver/hw/xfree86/common/xf86.h:17, from lnx_jstk.c:40: ../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:250: parse error before numeric constant lnx_jstk.c: In function `linux_jstkModuleInit': lnx_jstk.c:179: `MAGIC_DONE' undeclared (first use in this function) lnx_jstk.c:179: (Each undeclared identifier is reported only once lnx_jstk.c:179: for each function it appears in.) make[6]: *** [lnx_jstk.o] Error 1 make[6]: Leaving directory `/usr/src/xc/programs/Xserver/hw/xfree86/os-support/linux' thanks in advance! Sam __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert