#46 Makefile error: RedHat 8.0


I downloaded the au88xxx.tar.gz from this site. While
compiling the source, the make returns a lot of errors.
I have attached a lis file of the errors

cc -D__KERNEL__ -DMODULE -DAU8830 -mpentiumpro -O6
-fomit-frame-pointer -Wall -pipe
-I/usr/src/linux/include -c -o au_audio.o au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro'
or `-mcpu=pentiumpro' instead.
In file included from au_vortex.h:50,
from au_audio.c:49:
/usr/include/linux/autoconf.h:1:2: #error Invalid
kernel header in user space
In file included from au_vortex.h:61,
from au_audio.c:49:
/usr/include/linux/string.h:8:2: warning: #warning
Using kernel header in userland!
Blah Blah


  • Nobody/Anonymous

    Logged In: NO

    I had to install the kernel source and change the include path to
    /usr/src/linux-2.4/include . I also had to edit the au_vortex.h file. change
    the line reading :

    #include <linux/malloc.h>


    #include <linux/slab.h>

    The compile will now work, unfortunatly, the binary only module that
    comes with this driver is compiled with gcc 2.x, while the RH8 kernel is
    gcc 3.x and the module types are of these two compiler are
    incompatible, so you'll have to get hold of a gcc 2.x compiled kernel to
    actually get it to work.

  • Nobody/Anonymous

    Logged In: NO

    So is there anyway to get it to work on 8.0 with the default
    kern installed?

  • Nobody/Anonymous

    Logged In: NO

    /lib/modules/2.4.18-14/misc/au8830.o: The module you are
    trying to load (/lib/modules/2.4.18-14/misc/au8830.o) is
    compiled with a gcc
    version 2 compiler, while the kernel you are running is
    compiled with
    a gcc version 3 compiler. This is known to not work.
    /lib/modules/2.4.18-14/misc/au8830.o: insmod
    /lib/modules/2.4.18-14/misc/au8830.o failed
    /lib/modules/2.4.18-14/misc/au8830.o: insmod au8830 failed
    make: [install] Error 255 (ignored)

    Please fix!


Log in to post a comment.