Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 05-07-2006, 10:15 PM   #1
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
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: 58
So fix the broken link, point the link to /usr/src/kernels/2.6.15-1.2054_FC5-i686;

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
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
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

if u give me urs i will be thankful


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 / openSUSE 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 > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration