On Sat, Aug 09, 2003 at 07:55:11PM +1200, Rik Tindall wrote:
> On driver compilation, it fails, saying that my gcc3 working on the
> available gcc2 files downloaded is "known not to work". I'm running
> RH9 on an Athlon XP1800.
It would be helpful if you had quoted the exact message.
Your problem is that your Linux kernel has been built with an older
compiler--most probably gcc 2.96. You also need to use this compiler to
build kernel modules.
Make sure you have the 'gcc-compat' package installed. You can then
invoke the older version of gcc using 'kgcc', or 'gcc296'. If the build
environment for the kernel module you're trying to build is sane, you
should be able to specify the compiler when you run make:
$ CC=gcc296 make
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]