changing gcc versions
I recently recompiled a kernel to patch in a driver. The readme for the driver said to
after compiling. Here's the error I got:
/lib/modules/2.4.21/kernel/drivers/block/doc/doc.o: The modules you are trying to load (/lib/modules/2.4.21/kernel/drivers/block/doc/doc.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 not known to work.
So from this error I'm assuming that I need to recompile the kernel with a gcc version 2 compiler in order to get this module to load.
My question is how do you specify what gcc version you want to use?
gcc is currently in /usr/lib/gcc-lib/i386-redhat-linux/3.2
|All times are GMT -5. The time now is 02:40 AM.|