location of kernel source
I've got a problem where I'm trying to install some intel network card drivers for my machine.
I've downloaded the tar.gz file from Intel then I ran this command:
rpmbuild -tb nicdriver.tar.gz
I get the error "cannot locate kernel source". I then stuck in my Red Hat sources CD and installed the package named kernel-2.4.9-e.12.src.rpm using the following command:
rpm -Uvh kernel-2.4.9-e.12.src.rpm
That package installed without a problem. But I still continue to get the cannot locate kernel source when ever I run either rpmbuild or use the make install command.
I moved into /lib/modules it had a broken symlink build -> /usr/src/linux-2.4.9-e.12.
the dir /usr/src only had a single sub folder named "redhat". So I created a symlink in the /usr/src dir using this command:
ln -s /usr/src/redhat/SOURCES linux-2.4.9-e.12
I still get the kernel source error... HELP! I'd love to get my machine to work on my LAN.
|