It has been indicated by somebody (John Caven?) that some lines needs to
be fixed in order to compile with kernel 2.4...... But anybody has posted
any patch about this? Is changing  all dev->tq.next  line into
dev->tq.list->next sufficient, or I'm wrong altogether?

Thanks!

Abel Cheung




On Fri, 30 Mar 2001, Chris wrote:

> Hello,
>
> Im trying to compile XFree86-4.0.3-3mdk srpm and stuck with a compile
> problem.
>
> The error :
> 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
> make[9]: Leaving directory
> 
>`/usr/src/RPM/BUILD/XFree86-4.0.3/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel'
> make[8]: *** [all] Error 2
>
> Any idea/suggestion ? Kernel header 2.4.2-20mdk, gcc 2.96-0.47mdk.
> Does X only compile with kernel 2.2.x ?
>
> PS: sorry if someone already asked for this. I just joined the ML.
> Thanks~
>
> =Spike=
>
>



Reply via email to