Skip to Content.
Sympa Menu

sm-grimoire - [SM-Grimoire] XFree86 with kernel 2.6

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Ondra Tomecka <otom7630 AT lucy.troja.mff.cuni.cz>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: [SM-Grimoire] XFree86 with kernel 2.6
  • Date: Fri, 9 Jan 2004 12:03:05 +0100 (CET)

Hi all,

yesterday I at last rebooted to kernel 2.6 (2.6.1-rc3 to be precise),
updated glibc, and tried to compile XFree86. And this is what I got:

It compiles cleanly the X server itself (it says during build that
Xserver has been build cleanly), but chokes on some support
program or something:
----------------------------------------------------------------------------
making all in programs/Xserver/hw/xfree86...
make[5]: Entering directory `/home/src/xc.bld/programs/Xserver/hw/xfree86'
making all in programs/Xserver/hw/xfree86/os-support...
make[6]: Entering directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support'
making all in programs/Xserver/hw/xfree86/os-support/linux...
make[7]: Entering directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support/linux'
rm -f lnx_io.o
gcc -m32 -c -march=pentium3 -mmmx -mfpmath=sse -msse -march=pentium3 -mmmx
-mfpmath=sse -msse -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 -DRANDR -DGCCUSESGAS
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
-DXFreeXDGA -DXvExtension -DXFree86LOADER
-DXFree86Server -DXF86VIDMODE
-DXvMCExtension -DSMART_SCHEDULE

-DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO
-DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC lnx_io.c
lnx_io.c: In function `KDKBDREP_ioctl_ok':
lnx_io.c:90: error: structure has no member named `rate'
lnx_io.c:98: error: structure has no member named `rate'
lnx_io.c:100: error: structure has no member named `rate'
lnx_io.c:101: error: structure has no member named `rate'
lnx_io.c:102: error: structure has no member named `rate'
make[7]: *** [lnx_io.o] Error 1
make[7]: Leaving directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support/linux'
make[6]: *** [linux] Error 2
make[6]: Leaving directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/src/xc.bld/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/home/src/xc.bld/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/src/xc.bld/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/src/xc.bld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/src/xc.bld'
! Problem Detected !
----------------------------------------------------------------------------

There is some define before this problem which tries to redefine "rate" to
"period" but it doesn't seem to work. When I rewrote it manually in the
code, it compiled fine, choked the same way after few files, which I
solved the same way as well. And then I got this:

----------------------------------------------------------------------------
making all in programs/Xserver/hw/xfree86/os-support/linux/drm...
make[1]: Entering directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support/linux/drm'
rm -f ../../../../../../../exports/lib/modules/linux/libdrm.a
+ cd ../../../../../../../exports/lib/modules/linux
+ ln -s
../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/libdrm.a .
making all in programs/Xserver/hw/xfree86/os-support/linux/drm/kernel...
make[2]: Entering directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel'
make -f Makefile.linux
make[3]: Entering directory
`/home/src/xc.bld/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel'
=== KERNEL HEADERS IN /lib/modules/2.6.1-rc3/build/include
=== SMP=0 MODULES=1 MODVERSIONS=1 AGP=1
=== Compiling for machine i686
=== WARNING
=== WARNING Use 2.4.x kernels ONLY !
=== WARNING
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
-Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE
-fomit-frame-pointer -fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE
-DCONFIG_DRM_SIS -DMODVERSIONS -include
/lib/modules/2.6.1-rc3/build/include/linux/modversions.h -DEXPORT_SYMTAB
-I/lib/modules/2.6.1-rc3/build/include -c gamma_drv.c -o gamma_drv.o
<command line>:138439029:27064:
/lib/modules/2.6.1-rc3/build/include/linux/modversions.h: No such file or
directory

... lots and lots of errors about undefied symbols follows
----------------------------------------------------------------------------

Does it really mean that XFree86 just doesn't work for 2.6 kernels yet or
I missed something?

Andy





Archive powered by MHonArc 2.6.24.

Top of Page