Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-30-2004, 12:44 PM   #1
Registered: Jun 2004
Location: Ascension Island SAO
Distribution: FC2 2.6.8 Kernel, FreeBSD Unix, Gentoo 2004-2, WinXP SP2
Posts: 46

Rep: Reputation: 15
Unable to compile modem driver

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:


and I ran these commands:

cd /src/module
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 ( ))

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
Old 06-30-2004, 03:18 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
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

Your first make has probably not done anything, since the
files you copied were all from the same time and date :}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile modem driver Hungry ghost Linux - Hardware 2 01-27-2005 01:49 PM
Help needed to compile modem driver for Fedora Core 1 mainframer Linux - Newbie 0 07-17-2004 06:58 PM
modem driver compile error in suse 9.0 archish Linux - Hardware 3 06-08-2004 10:00 AM
I cant Figure out how to compile the Driver for My BCM V90 Modem darkone66669 Linux - Newbie 1 03-22-2004 09:13 AM
modem driver compile problem junks Linux - Software 5 01-13-2003 02:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration