LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2004, 12:44 PM   #1
mst700
Member
 
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:

/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 ( ))

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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Reply


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 odiseo77 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


All times are GMT -5. The time now is 03:55 AM.

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