Menu

#442 install.sh fails for Radeon

Build/Compile Fails
closed-invalid
nobody
None
5
2002-06-06
2002-06-04
Anonymous
No

When running install.sh it fails to compile and the log file
contains the following:

cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -
Wstrict-prototypes -Wnested-externs -Wpointer-arith -
D__KERNEL__ -DMODULE -fomit-frame-pointer -
DEXPORT_SYMTAB -I0 -c radeon_drv.c -o radeon_drv.o
In file included from drmP.h:43,
from radeon_drv.c:32:
/usr/include/linux/module.h:21: linux/modversions.h: No
such file or directory
make: *** [radeon_drv.o] Error 1

I am running Debian 3.0 and this does not seem to
contain any modversions.h file.

Discussion

  • Jose Fonseca

    Jose Fonseca - 2002-06-04

    Logged In: YES
    user_id=80087

    Your missing kernel headers that don't come in the base
    install of your linux distribution. Try installing kernel
    sources.

     
  • Tony Middleton

    Tony Middleton - 2002-06-06

    Logged In: YES
    user_id=557742

    Sorry but this was partly my incompetance! I needed to install
    the kernel-headers package. However it still didn't work as the
    modversions.h file wasn't where the script expected. I had to
    set the TREE parameter to /usr/src/kernel-headers-2.4.18-
    k7/include to make it compile.

    Still can't get the XServer loaded but I'm working on that.

    Tony Middleton.

     
  • Jose Fonseca

    Jose Fonseca - 2002-06-06
    • status: open --> closed-invalid
     

Log in to post a comment.