LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-25-2003, 05:49 PM   #1
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Rep: Reputation: 30
kernel configured.


I have been getting this error. This is what i typed in.

./configure --with-hal=pct789

This is the error i got. configure: error: modversions.h is missing-you should configure your kernel first!. Can someone please give me step by step instructions on how to configure my kernel?? I don't have a clue where to start. I'm trying to do this with a PCTEL Platinum V. 90 modem on a Compaq Presario Desktop. I'm trying to run the commands under Redhat Linux 9. If anyone has any questions about what i'm trying to do please reply back. Please reply back as soon as possible with some steps on this. Thanks guys.
 
Old 05-25-2003, 06:22 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Is this still about your winmodem?

Information is needed. What is your kernel version and have you installed kernel source code and developemntal packages?

Open an x terminal and type this:
Code:
[phil@tinwhistle phil]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
[root@tinwhistle root]# cd /usr/src/linux-2.4.18-3
[root@tinwhistle linux-2.4.18-3]# ls
.     configs	     drivers  ipc	   Makefile  REPORTING-BUGS
..    COPYING	     fs       kernel	   mm	     Rules.make
abi   CREDITS	     include  lib	   net	     scripts
arch  Documentation  init     MAINTAINERS  README
Change the number to your kernel version.If you see something similar to what I have, the kernel source code is there.
Code:
[root@tinwhistle linux-2.4.18-3]#  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 linux-2.4.18-3]#
Yes, I have gcc installed

Redhat does not make a symbolic link to /usr/src/linux as the compiler will expect. Do that manually
Code:
[root@tinwhistle linux-2.4.18-3]# ln -s /usr/src/linux-2.4.18-3 /usr/src/linux
[root@tinwhistle root]#
Use your source version, not mine.

If you have everything right, your modem driver should now compile.

Last edited by fancypiper; 05-25-2003 at 06:26 PM.
 
Old 05-25-2003, 06:35 PM   #3
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Yo hold up... I'm lost. What do you what me to type in?? That's why i put it in the Linux Newbie. I'm not no advance user. How do i tell what kernel version i have??
 
Old 05-25-2003, 06:57 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Bookmark and refer to these. They are real handy See the Newbie part? They are so good I put them in my sig.

Linux Newbie Administrator Guide
Rute User's Tutorial and Exposition

From your user's account, look on the menu or a panel for something with "terminal" in it's name. Use that.

If you can't find it that way, try right clicking on the desktop and looking for something like "new terminal".

Command to find running kernel version
uname -r
Command to find compiler version
gcc -version
Command to find out what pci cards are installed and their irq port info
cat /proc/pci

Last edited by fancypiper; 05-25-2003 at 07:05 PM.
 
Old 05-25-2003, 07:13 PM   #5
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I just tryed what you first posted and i got the same error message. They want me to configure my kernel. I just tryed what you told me.
 
Old 05-25-2003, 07:19 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Did you create the symbolic link /usr/src/linux that points to your source code directory?

Redhat 9.0 Upgrading the kernel
Building a custom kernel

Last edited by fancypiper; 05-25-2003 at 07:25 PM.
 
Old 05-25-2003, 07:26 PM   #7
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
yes. This is what i did.

su -
uname -r
cd /usr/src/linux-2.4.20-8
ls
ln -s /usr/src/linux-2.4.20-8/usr/src/linux

and then i went like this.
mkdir /work
cp /mnt/cdrom/pctel-0.9.6.tar.gz /work
cd /work
tar zxvf pctel-0.9.6.tar.gz
cd pctel-0.9.6
./configure --with-hal=pct789. and the same error.
 
  


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
no suitable configured kernel include tree found r.stiltskin Debian 4 08-02-2005 04:37 PM
Best way to tell how a kernel is configured if no config file is accessible? dr_zayus69 Linux - General 4 06-01-2005 04:22 PM
Netlink is not configured in the kernel ursus Linux - Newbie 0 02-26-2005 05:36 AM
Fonts not configured in fonts.o/kernel compile gizmogadgetus Linux - General 0 02-08-2004 11:50 AM
Linux Kernel source not configured SkylarkUK Linux - Newbie 3 11-29-2002 04:53 PM


All times are GMT -5. The time now is 01:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration