This is a discussion on Dell 750 Intel 1G ethernet port--using e1000 source within the Linux Networking forums, part of the Linux Forums category; I am running Redhat 8 distro with Kernel 2.4.20-28.8. I am trying to run a make ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
On 18 Apr 2005 13:00:46 -0700, cschwab69@hotmail.com
<cschwab69@hotmail.com> wrote: > 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: > Try a distro from this century, like Fedora Core 3. > > Any suggestions on where else I should point the script? > Where did you install the kernel source code? -- "I deleted a file from my PC last week and I have just realized that I need it. If I turn my system clock back two weeks will I have my file back again?" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|