LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2003, 11:44 AM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Rep: Reputation: 30
Problem with modversions.h when compiling modem driver


I am trying to complile the drivers for a pctel 789
(pci bus 0x0000 cardnum 0x0c function 0x00: vendor 0x134d device 0x7890 PCTel Inc HSP MicroModem 56)

Following the instructions in the FAQ file I did the following

Now, create the modversions.h by running
$ cd /usr/src/linux
$ make dep

this should make you a modversions.h in /usr/src/linux/include/

If this did not work, an ugly hack is to create an empty file there:
$ mkdir -p /usr/src/linux/include/linux
$ touch /usr/src/linux/include/linux/modversions.h


As make dep did't make the modversions.h file tried the 'ugly hack' this obviously caused problems see below... everything goes fine until it reads the modverions.h


/include/linux/modversions.h -c -o ptserial.o ptserial.c
<command line>:1:13: multi-line string literals are deprecated
cc1: warnings being treated as errors
ptserial.c:4626: warning: static declaration for `pci_siig10x_fn' follows non-static
ptserial.c:4655: warning: static declaration for `pci_siig20x_fn' follows non-static
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/home/pctel-0.8.6/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pctel-0.8.6/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pctel-0.8.6/src'
make: *** [all-recursive] Error 1


I have no idea what this modversions.h file is but can anyone give me an idea of what I need to do to get this to compile

Adam
 
Old 09-18-2003, 07:04 PM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 32
I installed this driver for a pctel HAMR modem in my desknote but later changed to a smartlink HAMR modem driver from smartlink (in the unsupported download section of the smartlink web site) The PCTel 9.6 driver worked but I was one of those who ended up with a sound driver conflict.

When I installed in Slackware the way I always got around the modversions problem was to make sure I have kernel sources installed and then compiled a new kernel.

It is alot to go through but I end up having to do it anyway to get the alsa sound drivers to work. I have an outdated website that describes installing the pctel driver which has been reported to work with the pctel 789 chipset. I now have the desknote running slackware 9.0 with the Smartlink HAMR modem driver and alsa 9.6 sound.. It works so well I plan to leave it alone.

You also might get some milage doing a search on the Conexant HSF HCF modems and seeing if someone can email you the old driver. I rechecked the download agreement and they can be shared but not altered. The drivers fit on a 1.44 floppy and even with dialup can be emailed in 2-3 minutes. I have a friend that has the drivers on his hd and if you know specifically HSF vs HCF (look at you lspci output and post the vendor and model ID numbers I can email you the older 56K tarball drivers. (These will also need kernel sources installed and modversion.h)

Failing that the PCTel driver should work. I would delete your dummy files and follow the kernel compiling instructions in this forum. Keep you first attempt simple and just optimize the cpu. If you plan on the alsa drivers you need to have general sound card support and I think OSS support but no specific drivers.

PCTel 9.6 installation
 
Old 10-14-2004, 08:59 PM   #3
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Rep: Reputation: 15
Hi my friends,
Read this:
http://www.linuxquestions.org/questi...90#post1216290
Cheers,
 
Old 10-15-2004, 03:11 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Original Poster
Rep: Reputation: 30
Hey shepper thanks for your great reply... unforutnatly my notification that you had replied got lost in the mail somewhere Explaining the length of time it took to me to reply. I just stumbled accross it.

I was using the old driver that worked perfectly with 2.4.x but as you can see from above not with 2.6.x I have heard that the pctel drivers are free and work but only from some chipsets.

Anyway I bought an external modem a while ago now and have been very happy with it... just one less thing to have to worry about when I do an install/re-install

Thanks for your reply

@Amirhossein that link is for the pay driver anyway!

Last edited by jimdaworm; 10-15-2004 at 03:15 AM.
 
Old 10-15-2004, 03:24 AM   #5
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Rep: Reputation: 15
Your welcome my friend, we MUST help each others...
It made me really sad when I understood any reply was too late for you....
These days users are not very active for replying...And I am complaining for that...
Cheers,

Last edited by Amirhossein; 10-15-2004 at 03:36 AM.
 
  


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
modem driver installation gives the error modversions.h not found gajaykrishnan Suse/Novell 3 06-05-2005 06:43 AM
modem: missing modversions.h pimpinella Linux - Hardware 1 03-05-2005 03:05 AM
Compiling: can't find modversions.h rickthemick Debian 3 11-18-2004 01:32 AM
Problem with compiling modem driver csspcman Linux - Software 1 08-14-2003 01:36 PM
compiling SmartLink modem driver problem bugyugo Linux - Laptop and Netbook 1 07-23-2003 09:42 AM


All times are GMT -5. The time now is 08:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration