Solved

Fedora Core 6 Source Install Problem

Posted on 2006-11-11
6
284 Views
Last Modified: 2013-12-16
I have a new install of Fedora Core 6. I am trying to install an ndiswrapper to get a D-Link Wireless Nic going. I downloaded the kernel-2.6.18-1.2798.fc6.src.rpm package and entered:

$rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm

It says a group does not exists and uses the root group and appears to install successfully.

I downloaded the  ndiswrapper-1.28.tar.gz from sourceforge and entered:

[root@patches ndiswrapper-1.28]# make
make -C driver
make[1]: Entering directory `/home/twright/ndiswrapper-1.28/driver'
Can't find kernel build files in /lib/modules/2.6.18-1.2798.fc6/build;
  give the path to kernel build directory with
  KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/twright/ndiswrapper-1.28/driver'
make: *** [all] Error 2

I'm missing something here. I look in the /lib/modules/2.6.18-1.2798.fc6 directory but there is no build directory under that folder, all I see is:

lrwxrwxrwx 1 root root      5 Nov 11 06:33 source -> build

Any help getting this ndis driver installed will be appreciated.
0
Comment
Question by:thomaswright
  • 2
6 Comments
 
LVL 24

Expert Comment

by:slyong
ID: 17927159
Hi,  is there a reason that you want to use the source RPM instead of the binary RPM?  You can actually just install the binary RPM from http://atrpms.net/dist/fc6/ndiswrapper/ndiswrapper-kmdl-2.6.18-1.2798.fc6-1.27-5.fc6.at.i686.rpm.html
0
 
LVL 4

Expert Comment

by:wbstech
ID: 17929414
Probably could just do 'yum install ndiswrapper' aswell
0
 
LVL 3

Author Comment

by:thomaswright
ID: 17929576
It all started when I was trying to build the ndis wrapper and other wifi tools from source so I could install a wireless pci nic.  Aparently the include and/or source tree has moved and the make (and make install) can't seem to find the header files it needs to build. Ironically I did manage to get the ndiswrapper installed (thanks for  your link), but my problem still is persisting.
0
 
LVL 24

Accepted Solution

by:
slyong earned 500 total points
ID: 17932564
To build a kernel module like ndis from source, you need the kernel-devel package.  http://rpm.pbone.net/index.php3/stat/4/idpl/3418261/com/kernel-devel-2.6.18-1.2798.fc6.i586.rpm.html
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
installing LSI MegaRAID Storage Manager on CentOS 7 22 789
lunix and unix command 21 89
linux SFTP 8 63
php56-php-mcrypt for rhel7 php56 1 55
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question