protest_boy
07-21-2001, 03:47 PM
I'm trying to install the correct sound drivers for my aureal soundcard and I'm getting an error upon installation. Mandrake 8.0.
The original error message went like this (someone else had the same problem on another forum and posted this):
-------------
# make install
\cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/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 headers from an appropriate kernel-source
make: *** [au_audio.o] Error 1
-----------
And someone suggested to this user (who was using redhat 7.1) to do this as the solution:
---------
1) You'll have to install the kernelsources and headers.
2) Rename the directory /usr/include/linux to /usr/include/linux_old.
3) Set the symlink to the kernelsources!
type:
ln -s /usr/src/linux-2.4/include/linux /usr/include/linux
4) ungunzip to a dir:
gunzip -dc au88xx-1.1.2.tar.gz | tar xvf -
5) type: make install
-------------
So I went ahead and did that, not knowing if the fact that I"m not using RedHat will make a difference and it appeared to work (i.e. lots of stuff was scrolling by on the terminal window) but just at the end of the pages and pages of code was this:
au_audio.c:1057: warning: `send_mem' defined but not used
make: *** Error 1
------------
What I would like to know is, can anyone help me get sound on my system? Or if not...should I undo what I did before? Since I don't know what "ln -s /usr/src/linux-2.4/include/linux /usr/include/linux " means, I don't know how to undo what I did or if I should. Thanks for any help!
Btw, this same question was posted a few pages back, but no solution was found so I felt it deserved a repost. There is a forum that very much deals with aureal-linux, but it's not as visited so I thought I'd try here too :-)
The original error message went like this (someone else had the same problem on another forum and posted this):
-------------
# make install
\cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/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 headers from an appropriate kernel-source
make: *** [au_audio.o] Error 1
-----------
And someone suggested to this user (who was using redhat 7.1) to do this as the solution:
---------
1) You'll have to install the kernelsources and headers.
2) Rename the directory /usr/include/linux to /usr/include/linux_old.
3) Set the symlink to the kernelsources!
type:
ln -s /usr/src/linux-2.4/include/linux /usr/include/linux
4) ungunzip to a dir:
gunzip -dc au88xx-1.1.2.tar.gz | tar xvf -
5) type: make install
-------------
So I went ahead and did that, not knowing if the fact that I"m not using RedHat will make a difference and it appeared to work (i.e. lots of stuff was scrolling by on the terminal window) but just at the end of the pages and pages of code was this:
au_audio.c:1057: warning: `send_mem' defined but not used
make: *** Error 1
------------
What I would like to know is, can anyone help me get sound on my system? Or if not...should I undo what I did before? Since I don't know what "ln -s /usr/src/linux-2.4/include/linux /usr/include/linux " means, I don't know how to undo what I did or if I should. Thanks for any help!
Btw, this same question was posted a few pages back, but no solution was found so I felt it deserved a repost. There is a forum that very much deals with aureal-linux, but it's not as visited so I thought I'd try here too :-)