LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LT Winmodem installation error message (https://www.linuxquestions.org/questions/linux-software-2/lt-winmodem-installation-error-message-5653/)

jburns_99 08-20-2001 07:28 PM

LT Winmodem installation error message
 
Hey all:

I sure I have just about used up my welcome here with all my questions :-)

Right now I am attempting to install a Winmodem (Lucent LTWinmodem) on a Thinkpad T22; I am getting the following error:

**snipped out for summary**
Checking for kernel headers
...in /usr/src/linux: nope
...in /usr/src/kernel-headers-2.4.2-2: nope
...in /usr/src/linux-2.4.2: nope
...in /usr/src/linux-2.4.2-2: nope
ERROR: No kernal headers; try --with-kernal=dir

#I tried the flag but no luck - HR

Trying compilation of lt_modem.o and lt_serial.o

make: ***No targets specified and no makefile found. Stop.

Compilation of lt_modem.o failed!
Read Compile_failure from DOCS

#Reading DOCS file now - HR

What does this mean? What are kernel headers? I am sure I am missing something simple, so any heads up would be appreciated :-)

TIA

Hank Reardon

crabboy 08-20-2001 09:34 PM

The modem needs the kernel headers in order to link in the kernel's libaries. These libaries are needed so the kernel can process any low level requests that the driver may make, ie. disk io, serial io, memory mangement.

In order to build anything that may "talk" to the kernel, you will need the kernel headers. In your case, you can either download the kernel source for the version that you have from: www.kernel.org.

Or the easier route would be to download a binary version of the modem driver. Try this site and scroll down to the binaries for your distro. I think they are RPM format.

http://www.heby.de/ltmodem

Hope this helps.

Gary

jburns_99 08-20-2001 10:09 PM

re: LT Modem and site suggestion
 
Hi there:

No go on that site - Red Hat doesn't have an RPM for the RH 7.1 kernel (2.4.2.2) - I went to that dl site and my problem involves being able to compile ltmodem.o and ltserial.o - I simply can't - it seems that either I am not compiling, or the modules aren't there....not really sure.

Hank Reardon

isajera 08-21-2001 01:07 AM

hmmm.. interesting choice of names here...

anyway, what kernel version do you have? if you still have a 2.2 flavor, then the compiling isn't going to work. you need to have a 2.4 kernel version... preferably 2.4.2 by the looks of it.

unSpawn 08-21-2001 04:11 AM

the source rpm: ftp://speakeasy.rpmfind.net/linux/re....4.2-2.src.rpm

jburns_99 08-21-2001 07:40 AM

Hi there:

My kernel version is 2.4.2-2; my kernal-headers (the source of the error; that they can't be found) is 2.4.3 (found an update on rpmfind.net)

When I try to compile the the ltmodem-5.99b or ltmodem-6.00a from http://www.heby.de/ltmodem, I get a error that my kernel-headers could not be located; I did an rpm -q kernel-headers and they are installed (but not sure where - any ideas?)

I think I will wipe out the Linux install and try again, keeping an eye on what is initially installed. I will post more later.

TIA

Hank Reardon

jburns_99 08-21-2001 08:36 AM

Ok - here's the straight dope:

My kernel version is 2.4.2-2
My kernel headers (previously not installed) are now installed, and version 2.4.2-2

I have dl'ed the ltmodem-6.00a.tar.gz from www.heby.de/ltmodem

(I have also dl'ed the original 6.00 mixed binary/source driver just in case)

I will attempt to run the ltmodem stuff and see whether I get the same error messages - a quick question however - the program allows you to use a flag detailing where the kernel-headers are installed if it can't be located automatically - how do I find the path where kernel-headers are installed?

TIA

Hank Reardon


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