LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-25-2008, 04:47 PM   #1
infrasup
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
Smile make hangs or errors on Red Hat 5 Client


Hi

Forgive maybe this obvious question as Im fairly new to Linux particulary Red Hat


Im trying to 'make' a new module to load into kernel


I have an issue with my Fujitsu Siemens Amilo Pro Laptop where I cant get the Intel Pro 2200 BG interface to be recognized.

As well documented on the web, This is due to a button on the side of the laptop which toggles the radio wireless off and on

So I have downloaded various fsam7400 version to attempt to create a kernel module ( fsam7440.sourceforge.net/install.html )

The problem is when i type 'make' the system never creates module or I get an error like
>make
fsam744make -C /lib/modules/2.6.18-53.1.14.el5/build SUBDIRS=/tmp/fsam7440-0.4 modules
make: *** /lib/modules/2.6.18-53.1.14.el5/build: No such file or directory. Stop.
make: *** [default] Error 2
0.sourceforge.net/install.html

the issue seems to be a missing directory

lrwxrwxrwx 1 root root 48 Mar 24 21:11 build -> ../../../usr/src/kernels/2.6.18-53.1.14.el5-i686
lrwxrwxrwx 1 root root 5 Mar 24 21:11 source -> build


build links to an invalid directory


Would someone kindly put me out of my misery and explain how I need to enable the make command to do something


Any help will be greatly appreciated
 
Old 03-25-2008, 08:08 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,879

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
rwxrwxrwx 1 root root 48 Mar 24 21:11 build -> ../../../usr/src/kernels/2.6.18-53.1.14.el5-i686
lrwxrwxrwx 1 root root 5 Mar 24 21:11 source -> build
In order to compile a kernel module, you need to have the kernel source code installed.
 
Old 03-26-2008, 01:39 AM   #3
infrasup
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the reply

but I am new to redhat and linux

how would I start to get the kernel source code installed ?

 
Old 03-27-2008, 01:12 AM   #4
infrasup
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I found from another forum that not all my Kernel rpms had been installed

I needed kernel-devel to be added manually for make to work


rpm -qa|grep kernel

kernel-2.6.18-53.1.15.el5
kernel-2.6.18-53.el5
kernel-headers-2.6.18-53.1.14.el5
kernel-devel-2.6.18-53.1.14.el5 <<<<<<<


this created a 2.6.18-53.1.14.el5-i686 directory under /usr/src/kernels

Now my 'make' runs propely


Many Thanks
 
  


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
Red Hat hangs jgnasser Linux - Newbie 1 03-10-2004 11:34 PM
Red Hat 9 Grub Hangs brucnbeck Red Hat 2 02-17-2004 07:57 PM
Red Hat 9.0 hangs on startup Covel Linux - General 2 12-05-2003 05:46 PM
red hat 9 hangs during installation superbungle83 Linux From Scratch 1 07-07-2003 05:02 PM
Red hat 8 hangs in booting... bogroll Linux - General 3 02-12-2003 07:33 PM


All times are GMT -5. The time now is 08:38 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