Dell 750 Intel 1G ethernet port--using e1000 source
I am running Redhat 8 distro with Kernel 2.4.20-28.8. I am trying to
run a make file that from the intel web site that is supposed to build
the driver and make it usuable by Redhat. However that is not working,
it keeps complaining about Linux source not found stop. Below is the
portion of the makefile script that is causing it to bomb:
# All the places we look for kernel source
KSP := /lib/modules/$(BUILD_KERNEL)/source \
/lib/modules/$(BUILD_KERNEL)/build \
/usr/src/linux-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
/usr/src/kernel-headers-$(BUILD_KERNEL) \
/usr/src/kernel-source-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed
's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/linux
# prune the list down to only values that exist
# and have an include/linux sub-directory
test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
KSP := $(foreach dir, $(KSP), $(test_dir))
# we will use this first valid entry in the search path
ifeq (,$(KSRC))
KSRC := $(firstword $(KSP))
endif
ifeq (,$(KSRC))
$(error Linux kernel source not found)
else
Any suggestions on where else I should point the script?
Thanks
|