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. |
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 - Code:
[root@tinwhistle linux-2.4.18-3]# gcc -v 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 If you have everything right, your modem driver should now compile. |
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??
|
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 |
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.
|
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 |
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. |
All times are GMT -5. The time now is 09:22 PM. |