My ethernet controller is an Intel Corporation 82579V Gigabit Network Connection. I'd like to use it with SliTaz 3.0. I need module e1000e. I've downladed the source file on the Intel site and tried to compile it but make returns the following message:
root@slitaz:/lib/firmware/e1000e-2.0.0/src# make install
makefile:71: *** Kernel header files not in any of the expected locations.
makefile:72: *** Install the appropriate kernel developement package, e. G.
makefile:73: *** kerrnel-devel, for building kernel modules and try again. ArrĂȘt.
root@slitaz:/lib/firmware/e1000e-2.0.0/src#
I've downloaded slitaz-toolchain and linux-source packages but same message. Here is an extract of the makefile file
39 ifeq (,$(BUILD_KERNEL))
40 BUILD_KERNEL=$(shell uname -r)
41 endif
42
43 DRIVER_NAME = e1000e
44
45 ###########################################################################
46 # Environment tests
47
48 # Kernel Search Path
49 # All the places we look for kernel source
50 KSP := /lib/modules/$(BUILD_KERNEL)/build \
51 /lib/modules/$(BUILD_KERNEL)/source \
52 /lib/modules/$(BUILD_KERNEL)-default/build \
53 /usr/src/linux-$(BUILD_KERNEL) \
54 /usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
55 /usr/src/kernel-headers-$(BUILD_KERNEL) \
56 /usr/src/kernel-source-$(BUILD_KERNEL) \
57 /usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
58 /usr/src/linux
59
60 # prune the list down to only values that exist
61 # and have an include/linux sub-directory
62 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
63 KSP := $(foreach dir, $(KSP), $(test_dir))
64
65 # we will use this first valid entry in the search path
66 ifeq (,$(KSRC))
67 KSRC := $(firstword $(KSP))
68 endif
69
70 ifeq (,$(KSRC))
71 $(warning *** Kernel header files not in any of the expected locations.)
72 $(warning *** Install the appropriate kernel development package, e.g.)
73 $(error kernel-devel, for building kernel modules and try again)
74 else
I understand make don't find files. Do I have to download another package?