Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-17-2003, 12:44 PM   #1
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

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

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

Rep: Reputation: 33
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, 09:59 PM   #3
Registered: Jul 2004
Posts: 72

Rep: Reputation: 15
Hi my friends,
Read this:
Old 10-15-2004, 04:11 AM   #4
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

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 04:15 AM.
Old 10-15-2004, 04:24 AM   #5
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...

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


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 / openSUSE 3 06-05-2005 07:43 AM
modem: missing modversions.h pimpinella Linux - Hardware 1 03-05-2005 04:05 AM
Compiling: can't find modversions.h rickthemick Debian 3 11-18-2004 02:32 AM
Problem with compiling modem driver csspcman Linux - Software 1 08-14-2003 02:36 PM
compiling SmartLink modem driver problem bugyugo Linux - Laptop and Netbook 1 07-23-2003 10:42 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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