Matthew Gregan wrote:
On Sat, Aug 09, 2003 at 07:55:11PM +1200, Rik Tindall wrote:Sorry, gave up on it yesterday & working from notes & memory. Can look thru logs & repost if nec'.
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.
I think it's the other way round - I have gcc3 but the driver was old / gcc2
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.
Will give this a try & let you know - sounds v. promising.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
Cheers
Rik
