Unable to compile modem driver
:study: PCTel - Chip set I am in such a way...... I have alittle problem (for some peeps it is little, but for me it is a big problem).
Let me explain: I copied these files into the following directies: /lib/pctel.o /lib/control.a /lib/dsp.a /lib/hal.a /src/module/Makefile /src/module/ptmodule.c and I ran these commands: cd /src/module make cd /lib/ insmod pctel.o c 62 79 pctel.o: The module you are trying to load (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. mknod /dev/ttyS15 c 62 79 chgrp uucp /dev/ttyS15 chmod 666 /dev/ttyS15 ln -s /dev/ttyS15 cp /lib/pctel.o /lib/modules/2.4.22-1.2115.nptl After all of this (I was very nervus - doing these things (:newbie: )) Can anyone tell me why or how I can to recomplie the .c to be compatable with the gcc 3??? mst700 (Supernewbie) Intel 2.8E 1gb ram 160gb hd, chaintech CT-9CJS motherboard 9600 Radeon 256 video card 1 gb LAN, 1 3com 10/100 LAN Envy Audio card |
I'd find it a bit odd that you should have a different version
of gcc installed than the one your kernel is built with ... My suggestion is that you remove the binary files from that source directory (at least the .o file), and do the make again. Your first make has probably not done anything, since the files you copied were all from the same time and date :} Cheers, Tink |
All times are GMT -5. The time now is 06:36 PM. |