Menu

#22 Make file does not work in RH 7.2

open
nobody
None
5
2001-10-30
2001-10-30
Don Eller
No

Whenever I try to make install10 I get the following
errors. From my very small technical ablities it seems
like it is a directory structure problem. What is the
proper directory structure to put in the make file? or
is there a different problem?

Get the following error:

linux-2.4.2/include [root@localhost aureal]# make
install10
make install AUCHIP=AU8810
make[1]: Entering directory `/home/nalaska/aureal
drivers/aureal'
cc -D__KERNEL__ -DMODULE -DAU8810 -mpentium -O6
-fomit-frame-pointer -Wall -pipe
-I/usr/src/linux-2.4.2/include -c -o au_audio.o
au_audio.c
In file included from au_vortex.h:55,
from au_audio.c:49:
/usr/include/linux/modversions.h:1:2: #error Modules
should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather
headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change
-I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error
-I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build
against the currently-running kernel.
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/home/nalaska/aureal
drivers/aureal'
make: *** [install10] Error 2

Thanks

Discussion

  • Tom McKellips

    Tom McKellips - 2001-11-22

    Logged In: YES
    user_id=104073

    In mine RedHat 7.1 I went to /usr/src and made a symlink of linux to my linux source directory. THen I went back to ~/aureal and ran make install10 and everything went just fine.

     
  • Nobody/Anonymous

    Logged In: NO

    i changed the file "INCLUDEDIRS = -I/usr/src/linux/include"
    to "INCLUDEDIRS = -I/usr/src/linux-2.4.7-10/include"
    and it installs fine but i still don't get any sound other
    than my mic sounds will play through

     
  • Nobody/Anonymous

    Logged In: NO

    I had redhat 7.1 and I upgraded to v7.2. Now my AU8820
    doesn't work. I tried using a symlink to my src files but
    I still get unresolved symbols when running make install20.

    /sbin/depmod -a
    depmod: *** Unresolved symbols in
    /lib/modules/2.4.7-10smp/misc/au8820.o

     
  • Nobody/Anonymous

    Logged In: NO

    It seems we need to have the driver modified for new
    memory allocation technics. I ran rebuild20 and got this
    error in multiple places:

    /usr/src/linux/include/linux/malloc.h:3:2: warning:
    #warning The Use of linux/malloc.h is deprecated, use linux
    /slab.h

     
  • Nobody/Anonymous

    Logged In: NO

    It works!!! This is from previous submissions.
    Created a symlink linux to your usr/src/...
    Edited au_vortex.h and replaced malloc.h with slab.h and
    ran make install20.

    It's a wonderful thing.

     

Log in to post a comment.