hi there!
I am a slackware newbie (using version 12) and am trying to install from the igb-1.3.28.4.tar.gz and configure the network card. (netconfig refuses to detect
After extraction, when i run the "make install", the below error shows up:
make: *** No rule to make target 'install'. Stop.
I changed to the /src folder and executed "make install" again to see:
Makefile 69: *** Linux Kernel source not found in any of these locations:
Makefile 70:
Makefile 71: *** Install the appropriate kernel development package, e.g.
Makefile 72: *** kernel-devel, for building kernel modules and try again. Stop.
Here's the snippet from "/src/Makefile" which has ref' to the lines 69 through 72.
Is my linux installation incomplete/broken, due to which Make Install is unable to find the required kernel modules? If yes, how do i fix it. I am unable to see the USB Stick or CD Rom contents under the /mnt & /media folders.
DRIVER_NAME=igb
###########################################################################
# Environment tests
# Kernel Search Path
# All the places we look for kernel source
KSP := /lib/modules/$(BUILD_KERNEL)/build \
/lib/modules/$(BUILD_KERNEL)/source \
/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))
$(warning *** Linux kernel source not found in any of these locations
$(warning $(KSP))
$(warning *** Install the appropriate kernel development package, e.g.)
$(error kernel-devel, for building kernel modules and try again)
else
ifeq (/lib/modules/$(shell uname -r)/source, $(KSRC))
KOBJ := /lib/modules/$(shell uname -r)/build
else
KOBJ := $(KSRC)
endif
endif
Thanks
----
p.s - I also have all the installables (extracted from the DVD) in /home/DVD-Sources, if I need to re-install any libs/sources