LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-04-2003, 11:42 AM   #1
The_Forgotten
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
I am going insane... Lucent modem and stupid modversions.h


I have searched everywhere, including this forum, but I cannot compile Lucent/Agere modem drivers. It is because of that retarded modversions.h

This is the string that is displayed when I finish running ./build_module

To begin compilation of lt_modem.o and lt_serial.o, Enter

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

Checking for driver products:

Compilation of lt_modem.o failed,
as expected from absence of modversions.h
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org

Please help me, before I go insane.

Like I said, I searched everywhere, therefore do not post tutorials on winmodems. I think I have memorized them by now.
 
Old 09-04-2003, 11:52 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
Is kernel-source that matches your running kernel installed?

# Find software here
The table of equivalents, replacements, analogs of Windows software in Linux
Freshmeat
Sourceforge
rpmfind
 
Old 09-04-2003, 12:07 PM   #3
The_Forgotten
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I have done all of that before. The problem is that it cannot find modversions.h. I see that it is there. Where do I get the proper file from??? It is driving me nuts...

BTW, I have RedHat 9.0
Kernel version: 2.4.20-8


Last edited by The_Forgotten; 09-04-2003 at 12:12 PM.
 
Old 09-04-2003, 07:27 PM   #4
The_Forgotten
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Someone help before I go postal...
 
Old 04-29-2004, 07:45 PM   #5
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Rep: Reputation: 30
Same problem I have a year later. Did you ever get it sorted?
 
  


Reply



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 06:43 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
MDK 10, modversions.h and Conexant modem drivers LeHardi Linux - Software 6 05-10-2004 02:21 AM
Configuring modem - modversions.h is missing drcyber Linux - Newbie 15 11-02-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration