LinuxQuestions.org
Help answer threads with 0 replies.
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 03-17-2003, 05:01 PM   #1
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Rep: Reputation: 15
Unhappy Configuring modem - modversions.h is missing


Ohh my god. My brain is going to explode in a minute. Well...

Im trying to install my PCtel HSP56 modem. Im installing the 0.9.6 Linux driver in RedHat 8.

When I type in the terminal: "./configure --with-hal=sis" it says:


[root@localhost root]# cd pctel-0.9.6
[root@localhost pctel-0.9.6]# ./configure --with-hal=sis
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_I8XX
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!


Ok... What should I do?... Id look in /usr/src but there is not more folders.

Please help me, I have more than 2 days trying and I can't solve this.

THANKZ A LOT!

PD: I have the 2.4.18-14 kernel.
 
Old 03-17-2003, 05:27 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
As far as I know, the PCTel modems are not Linux compatible. The PCTel group has forgotten to write drivers/modules for Linux. Every person I've seen so far here at LQ with a PCTel modem has not been able to make it work. You might want to look for another modem. Sorry.
 
Old 03-17-2003, 07:16 PM   #3
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
No man...
Look this:

http://pctelcompdb.sourceforge.net/v....php?id_no=109

Some people use this modem Ok in Linux.
 
Old 03-17-2003, 09:30 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Excellent! Maybe those others out there who've got these modems will be able to use them now. That's a great link, BTW.

I noticed that in there, it says that it works for kernel 2.4.19. This could be where your problem lies.

Quote:
Manufacturer: SiS
Model: HSP56 MR
Chipset: PCT303L/PCT303A
Status: Working
Distributions tested: Mandrake 9.0
Kernel versions: 2.4.19
Driver versions: 0.9.6
He's on Mandy 9.0 with a "newer" kernel from your RedHat 8.0 system. Have you considered going with Mandrake 9.0? If not, I would check around for the 2.4.19 kernel for RedHat before trying to get that modem working.
 
Old 03-17-2003, 09:35 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Also, I just noticed this:

Quote:
[root@localhost root]# cd pctel-0.9.6
[root@localhost pctel-0.9.6]# ./configure --with-hal=sis
Before you did the ./configure stage, you should do an "ls" to check for any READMEs, HOWTOs, INSTALLs, or whatever other text files are in it and go through them to see if there's any other things you can do during the ./configure process. One way to do it is to type as root (after ls to view the contents of pctel-0.9.6):

less README

Substitute "README" for whatever the actual name is. Use your up and down arrows to scroll or space bar to go a page down, then press the letter Q to get out of the "less" command. Write down anything important to you. Hopefully these files will contain some useful information for your system.
 
Old 03-18-2003, 05:39 PM   #6
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
Ok... the script contains an INSTALL, FAQ, and README files. But it doesn´t help...

Look a copy of the files here:

http://linmodems.technion.ac.il/pcte...-0.9.6/INSTALL
http://linmodems.technion.ac.il/pcte...l-0.9.6/README
http://linmodems.technion.ac.il/pcte...ctel-0.9.6/FAQ

Thankz !
 
Old 03-18-2003, 08:42 PM   #7
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
OK... id it !!!... but now... when i type "make" after the ./configure command it says:

[root@localhost root]# cd pctel-0.9.6
[root@localhost pctel-0.9.6]# make
cd . && /bin/sh /root/pctel-0.9.6/missing --run aclocal-1.6
/root/pctel-0.9.6/missing: line 46: aclocal-1.6: command not found
WARNING: `aclocal-1.6' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.6' program.
make: *** [aclocal.m4] Error 1


You can see the aclocal.m4 file at:
http://www.pcteros.com/~danny/aclocal.m4

Thankz !
 
Old 03-18-2003, 11:00 PM   #8
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Have you searched your system for the file? I would try to find them with locate and whereis:

locate aclocal-1.6
whereis aclocal-1.6

If you can find it, try to copy it to the directory that your tarball is looking for. If you can't find it, I would go this website and get it:

http://rpmfind.net//linux/RPM/redhat...-1.noarch.html

I know you're trying to find it as a tarball, but since you're running RedHat 8.0, this RPM just might do what you need. After you've got it installed, do the ./configure process all over again. Hope this helps.
 
Old 03-19-2003, 03:03 PM   #9
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
Ok.. id pass the make and the make install, id just need to install the automake package, but when i type insmod pctel I receive this error:

[root@localhost pctel-0.9.6]# insmod pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
/lib/modules/2.4.18-14/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.18-14/misc/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.

What should I do ?

Last edited by drcyber; 03-19-2003 at 03:10 PM.
 
Old 03-19-2003, 03:06 PM   #10
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
See the previous message.

Last edited by drcyber; 03-19-2003 at 03:10 PM.
 
Old 03-19-2003, 03:49 PM   #11
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by drcyber
Ok.. id pass the make and the make install, id just need to install the automake package, but when i type insmod pctel I receive this error:

[root@localhost pctel-0.9.6]# insmod pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
/lib/modules/2.4.18-14/misc/pctel.o: The module you are trying to load (/lib/modules/2.4.18-14/misc/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.

What should I do ?
I plugged your exacty error message The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler.
into www.google.com/linux and I came up with this webpage: http://jamesthornton.com/linux/HOWTO...le.html#AEN769

This says you should type (as root of course):

insmod -f pctel

and

insmod -f ptserial

instead of the command you were given. The website above is a PCTel troubleshooting page. Hopefully this will get you on your way to surfing with your PCTel modem.
 
Old 03-24-2003, 10:54 PM   #12
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Did you get it working?
 
Old 03-25-2003, 05:58 PM   #13
drcyber
Member
 
Registered: Mar 2003
Distribution: Fedora Core 2
Posts: 31

Original Poster
Rep: Reputation: 15
No man...

It doesn't work. I bought a Intel Ham módem and it works fine.

Thankz for your help !
 
Old 03-26-2003, 01:49 AM   #14
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
I'm glad you got a modem that works now, though I'm a bit disappointed we couldn't get that PCTel to work. I thought we were on our way to success for a while there. Oh well, at least your surfin' again.
 
Old 08-23-2003, 06:17 PM   #15
roolo
LQ Newbie
 
Registered: May 2003
Location: Czech Republic/Prague
Distribution: Debian-woody
Posts: 10

Rep: Reputation: 0
Pctel isn't compatible with Linux-ho ho ho
It's bullshit. Who don't believe visit http://www.linuxfan.pl/sprzet/05.2001/142.php3
There Old Linux bie say that he use it alredy for one year
 
  


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
ftape missing modversions.h compile error. RRolleston Debian 4 11-15-2005 12:29 AM
modem: missing modversions.h pimpinella Linux - Hardware 1 03-05-2005 03:05 AM
Problem with modversions.h when compiling modem driver jimdaworm Slackware 4 10-15-2004 03:24 AM
Trying to install linmodemn driver but missing file modversions.h jimdaworm Slackware 9 02-24-2004 11:25 AM
error: modversions.h missing bugsbunny Linux - Newbie 8 01-31-2003 12:16 PM


All times are GMT -5. The time now is 11:15 AM.

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