LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring modem - modversions.h is missing (http://www.linuxquestions.org/questions/linux-newbie-8/configuring-modem-modversions-h-is-missing-50345/)

drcyber 03-17-2003 06:01 PM

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. :Pengy:

Texicle 03-17-2003 06:27 PM

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. :(

drcyber 03-17-2003 08:16 PM

No man...
Look this:

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

Some people use this modem Ok in Linux. ;)

Texicle 03-17-2003 10:30 PM

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. :D

Texicle 03-17-2003 10:35 PM

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.:)

drcyber 03-18-2003 06:39 PM

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 !

drcyber 03-18-2003 09:42 PM

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 !

Texicle 03-19-2003 12:00 AM

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.

drcyber 03-19-2003 04:03 PM

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 ?

drcyber 03-19-2003 04:06 PM

See the previous message.

Texicle 03-19-2003 04:49 PM

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.:D

Texicle 03-24-2003 11:54 PM

Did you get it working?

drcyber 03-25-2003 06:58 PM

No man...

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

Thankz for your help !

Texicle 03-26-2003 02:49 AM

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. :)

roolo 08-23-2003 07:17 PM

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


All times are GMT -5. The time now is 08:52 AM.