• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Problems Compiling Drivers in Redhat Null

I'm using redhat null and an aureal soundcard. I got the newest drivers
from cvs and when I entered 'make install' I didn't get any serious
complaints from the system. Null displays the module being loaded as
au8830. The sound does not work though and when I try to modprobe the driver and got the following error:

root@localhost root]# modprobe au8830
/lib/modules/2.4.18-11/drivers/sound/au8830.o: The module you are trying to
load (/lib/modules/2.4.18-11/drivers/sound/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-11/drivers/sound/au8830.o: insmod /lib/modules/2.4.18-
11/drivers/sound/au8830.o failed
/lib/modules/2.4.18-11/drivers/sound/au8830.o: insmod au8830 failed

What is the deal here? I just have the gcc that came with redhat null. When I type gcc -v at the prompt, it returns gcc 3.2....
Shouldn't this be the same gcc that compiled the kernel?

If not, how do I compile my driver with gcc 3?

Someone at sourceforge said the following about the driver: "The fact that the binary with which the f__king Aureal card driver is made off, when it was made back in old 1999 (or whenever Aureal were profitable), was compiled with may some GCC version of 2. I wonder if it will completely break once distros become completely GCC 3.x based. We've managed to keep the binary alive for a long time now. Maybe time is finally up? (Unless of course you install the appropriate GCC 2 stuff). "

Thanks and I will be happy to supply more information.
 
IIRC, you should just type make first.

That would compile it on your system. I'm very, very, very tired now, so I might not be posting coherently.
 
Originally posted by: Chaotic42
IIRC, you should just type make first.

That would compile it on your system. I'm very, very, very tired now, so I might not be posting coherently.

Are you saying I should type
prompt:make
prompt:make install

I typed make install pursuant to the instructions. Also, you talk about compiling the drivers, but they did compile. The problem is the compiled drivers don't work.
 
I believe this is due to an incompatibility with the the new version of GCC in null as compared to the version in Red Hat 7.3, which is what those drivers were most likely designed for. You will probably have to wait until they release drivers for Red Hat 8.0 when it is eventually released. That's what it looks like to me anyway...
 
The kernel is still compiled with GCC 2.95.3 AFAIK.

I believe in Red Hat, that compiler binary is installed as kgcc.

Most likely, you can edit the drivers Makefile to use kgcc and everything will should work fine.
 
Back
Top