Advertisement

Modem Install HELP!!!

Started by August 06, 2002 08:41 PM
3 comments, last by Liquid Darkness 22 years, 3 months ago
I have a HSP56 micromodem and I am trying to get it to work in SuSe linux. It does not get detected by the hardware setup. I did some searching and found drivers for it with instructions on how to install them. Here is the instructions: Description ----------- This package contains the PCTEL driver for various PCTEL modems for linux. It is meant for kernel 2.4.x, up to 2.4.18 so far. Installation ------------ 0) Unpack the tarball by typing "tar zxvf pctel-0.9.2.tar.gz" 1) Go into that directory by typing "cd pctel-0.9.2" 2) Find out what chipset you have in your board: 3) ./configure Options: --with-hal=hal Select one of: pct789, cm8738, i81x, sis, via686a --with-kernel-includes=/path/to/my/kernel-sources/include If you don''t have your kernel sources at /usr/src/linux, specifiy your includes 4) Compile the modules by typing "make" ------------------------------------------------------- after typing make I got a bunch of errors like this: /usr/include/linux/version.h:8: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10: #error "included via other system header files - user space" /usr/include/linux/version.h:11: #error "programs should not directly include or" /usr/include/linux/version.h:12: #error " as well." /usr/include/linux/version.h:13: #error "" /usr/include/linux/version.h:14: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15: #error "" /usr/include/linux/version.h:16: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17: #error "" /usr/include/linux/version.h:18: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20: #error " the matching kernel source directory" /usr/include/linux/version.h:21: #error "" /usr/include/linux/version.h:22: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23: #error " /lib/modules/`uname -r`/build/include/linux/version.h" I dont know what any of this is. I am not too familiar with linux, I dont now anythign about compiling the kernels and all that. I''m sure that getting this modem to work isnt going to be easy but if anyone has any suggestions it would be apriciated. thanks...
=-=-=-=-=-=-=-=-=-=-=-=-----I am a signature virus. Please add me to your signature so that I may multiply.
you didn''t specify where your kernel sources where...

if you did, then something is wrong and it''ll probably take some makefile editing to fix... (specifically you need to force it to include /usr/src/linux/include before /usr/include)
Advertisement
Hey... First: you are sure you are running in a linux with kernel 2.4.18 or the brand new 2.4.19???

If no.. this is the answer.

Or, you have what version of gcc??? Many new drivers are requesting the gcc-3.01 at least....

check all this first...

Good Lucky!!!

---------------
links:
www.kernel.org
gcc.gnu.org
---------------

Rafael G. Donato
"Be forgotten is worse than death..."[email=rgdonato@gmail.com]Rafael G. Donato[/email]
Well I''m rather new to linux. I have no idea how to find out what kernel I''m running, nor how to compile. Also I''m not sure if I included the sources in my installation.

=-=-=-=-=-=-=-=-=-=-=-=-----I am a signature virus. Please add me to your signature so that I may multiply.
quote: Original post by Liquid Darkness
Well I''m rather new to linux. I have no idea how to find out what kernel I''m running, nor how to compile. Also I''m not sure if I included the sources in my installation.



In order to get the drivers compiled, you need the sources for the kernel installed on your machine. Usually, with SuSE, they''re on the last CD of the set and the file is sometimes called linux-something.srpm. Run rpm -ivh on it and it should install the sources for you. Then all you have to do is figure out where it installed them.

If the compile still fails, its a faulty configure or makefile script. Or it might not have been made with SuSE in mind. So some modifications might be in need.

Let us know what happens.

"DaHjajmajQa''jajHeghmeH!"

Cyberdrek
danielc@iquebec.com
Founder
Laval Linux

/(bb|[^b]{2})/ that is the Question -- ThinkGeek.com
Hash Bang Slash bin Slash Bash -- #!/bin/bash
[Cyberdrek | ]

This topic is closed to new replies.

Advertisement