Solved

Fedora Core 6 Source Install Problem

Posted on 2006-11-11
6
282 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 64
PHP Apache application gives "Forbidden" message 5 45
Steps to follow for Maintenance of Servers 4 53
linux redhat 7.2 10 43
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now