Package: ndiswrapper-source
Version: 1.16
Default compiler installed is gcc-3.3, gcc-3.4 also installed and used to
build a custom linux-image package. (Base system was Sarge).
Despite using gcc-3.4 to compile the kernel, attempting to build
ndiswrapper-modules with m-a fails as make detects the default gcc-3.3.
Using m-a to build other kernel module packages, and the correct version of
gcc is used.
m-a selects the appropriate version of gcc that was used to build the target
kernel and sets the CC variable. Minor addition to rules.modules fixes the
problem (tested.)
Regards, Paul.
--- rules.modules.orig 2006-05-30 23:51:59.000000000 +0100
+++ rules.modules 2006-05-30 23:32:57.000000000 +0100
@@ -19,7 +19,7 @@
dh_installdirs lib/modules/$(KVERS)/misc
# build and install the module
- $(MAKE) KPKG_EXTRAV_ARG=$(KPKG_EXTRAV_ARG) KSRC=$(KSRC) \
+ $(MAKE) CC=$(CC) KPKG_EXTRAV_ARG=$(KPKG_EXTRAV_ARG) KSRC=$(KSRC) \
KBUILD=$(KSRC) KVER=$(KVERS) \
INST_DIR=debian/ndiswrapper-modules-$(KVERS)/lib/modules/$(KVERS)/misc/
install
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]