#427 i810 kernel modules do not compile. i810_dma.c:286: structur

Build/Compile Fails
closed-fixed
nobody
None
5
2002-05-17
2002-05-04
No

Compiling...
ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

bash-2.05a# cat dri.log
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 -DCONFIG_DRM_SIS -DMODVERSIONS
-include /lib/modules/2.4.19-r1/build/include/linux/modversions.h -DEXPORT_SYMTAB
-I/lib/modules/2.4.19-r1/build/include -c i810_drv.c -o i810_drv.o
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 -DCONFIG_DRM_SIS -DMODVERSIONS
-include /lib/modules/2.4.19-r1/build/include/linux/modversions.h
-I/lib/modules/2.4.19-r1/build/include -c i810_dma.c -o i810_dma.o
i810_dma.c: In function `i810_free_page':
i810_dma.c:286: structure has no member named `wait'
make: *** [i810_dma.o] Error 1
bash-2.05a# uname -a
Linux twentyfive.complab 2.4.19-r1 #5 Tue Apr 30 10:10:49 IST 2002 i686 GenuineIntel
bash-2.05a# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
bash-2.05a#

Discussion

  • Jose Fonseca

    Jose Fonseca - 2002-05-17

    Logged In: YES
    user_id=80087

    This happens with recent kernels. It should have been fixed
    on cvs now and from the following snapshots.

     
  • Jose Fonseca

    Jose Fonseca - 2002-05-17
    • summary: i810 kernel modules do not compile. i810_dma.c:286: structure has no member named `wait' --> i810 kernel modules do not compile. i810_dma.c:286: structur
    • status: open --> closed-fixed
     
  • Aniruddha Shankar

    Logged In: YES
    user_id=534794

    I still get an error compiling. the error message is slightly
    different.

    Compiling...
    ERROR: Kernel modules did not
    compile

    The DRI drivers can not be installed without the latest
    kernel modules.
    Installation will be aborted. See the dri.log file
    for information on
    what went wrong.
    twentysix dripkg # cat
    dri.log
    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 -DCONFIG_DRM_SIS -
    DMODVERSIONS -include /lib/modules/2.4.19-
    r1/build/include/linux/modversions.h -DEXPORT_SYMTAB -
    I/lib/modules/2.4.19-r1/build/include -c i810_drv.c -o
    i810_drv.o
    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 -
    DCONFIG_DRM_SIS -DMODVERSIONS -include /lib/modules/2.4.19-
    r1/build/include/linux/modversions.h -I/lib/modules/2.4.19-
    r1/build/include -c i810_dma.c -o i810_dma.o
    i810_dma.c: In function
    `i810_free_page':
    i810_dma.c:289: structure has no member named
    `wait'
    i810_dma.c: In function
    `i810_wait_ring':
    i810_dma.c:355: warning: implicit declaration
    of function `udelay'
    i810_dma.c:340: warning: unused variable
    `i'
    make: *** [i810_dma.o] Error 1

     

Log in to post a comment.