Antony Suter wrote:
>
> I cannot compile XFree86-4.0.2-3mdk.src.rpm
> My system is Mandrake 7.2 with some cooker packages and kernel 2.4.0
> from www.kernel.org.
>
> ----
> make[9]: Entering directory
>
>`/usr/src/RPM/BUILD/XFree86-4.0.2/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel'
> === KERNEL HEADERS IN /usr/src/linux/include
> === SMP=0 MODULES=1 MODVERSIONS=1 AGP=1
> === kill_fasync has 3 parameters
> === Compiling for machine i686
> cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
> -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
> -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
> -DKILLFASYNCHASTHREEPARAMETERS -I/usr/src/linux/include -c gamma_dma.c
> -o gamma_dma.o
> gamma_dma.c: In function `gamma_irq_install':
> gamma_dma.c:654: structure has no member named `next'
> make[9]: *** [gamma_dma.o] Error 1
The current version of XFree86 4.0.2 pre-dates a change made to the
linked list structure in the 2.4.0 kernel series. If cooker is going to
run with the latest kernel, it need to either patch the X source (3
files are effected, one liners) or not build the kernel modules that
come with it during the RPM build (one of the flags in the host.def).
John