LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 05-07-2006, 10:15 PM   #1
itsonlyme
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 19

Rep: Reputation: 0
Installed kernel-devel and source for i686; didn't create directory "build"


Hi, thanks in advance!

I have kernel 2.6.15-1.2054 with kernel-devel-2.6.15-1.2054_FC5.i686.rpm and kernel-2.6.15-1.2054_FC5.src.rpm. Everything seemed fine until installed the kernel-devel... with "open with 'install software'" It said it was installed successfully, but didn't create a "build" directory for me to install ndiswrapper in. (when i type "make install" while in root and the ndiswrapper directory it gives me an error saying the build directory doesn't exist) There is a broken link named "build" in /lib/modules/2.6.15-1.2054_FC5smp. It's target is /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686. in /usr/src/kernels/ there is a folder named 2.6.15-1.2054_FC5-i686 (without the -smp-).

I am trying to use ndiswrapper to install drivers for my Netgear WGT311 v2 wireless PCI card. It works fine on my Windows.

Please help! Thank You!

Last edited by itsonlyme; 05-08-2006 at 11:43 AM.
 
Old 05-08-2006, 05:41 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
So fix the broken link, point the link to /usr/src/kernels/2.6.15-1.2054_FC5-i686;

Code:
ln -s /usr/src/kernels/2.6.15-1.2054_FC5-i686 /lib/modules/2.6.15-1.2054_FC5smp/build

Last edited by Lenard; 05-08-2006 at 05:43 PM.
 
Old 05-09-2006, 05:05 PM   #3
itsonlyme
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Ok Thank You! I actually figured out what was wrong: I needed kernel-smp-devel instead of kernel-devel because I have an smp kernel. But I do still have a problem installing ndiswrapper: I wrote a new thread about that. I would appreciate if you could halp me with that! Thanks!
 
Old 04-05-2007, 09:08 AM   #4
kingraja84
LQ Newbie
 
Registered: Aug 2006
Location: India
Distribution: suse,mandriva
Posts: 24

Rep: Reputation: 15
hi itsonlyme,

I am also using fedora the same as urs ,please give me the source u have installed in ur pc.

I am also facing the same broken link my build is searching for
usr/src/kernels/2.6.15-1.2054_FC5-i686

if u give me urs i will be thankful
 
  


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
Message: Package "kernel-source" needs to be installed by YaST2 first! snarvey Suse/Novell 3 03-17-2006 10:22 PM
"Cannot create directory: No space left on device" but I have 7.1G available !!!! fr_laz Linux - General 3 12-09-2005 04:44 PM
How to create file "kernel-source-version.rpm xinix Linux - Software 2 09-10-2005 01:45 AM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM
Pre-Build Executable "No Such File or Directory" problem Archeress Linux - General 2 08-17-2002 08:26 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration