gcc - version problem
I am trying to compile and install the driver for a linmodem. At the insmod command I get a version mismatch message given below. Both the kernel and the driver are being compiled on the same sytem. Please help.
[root@sqadeerNB pctel-0.9.6]# insmod pctel
Using /lib/modules/2.4.20-8custom/misc/pctel.o
/lib/modules/2.4.20-8custom/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.20-8custom/misc/pctel.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.
[root@sqadeerNB linmodem]# gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|