Hello all,
I am trying to use m-a to install ndiswrapper. I am using debian stable
with backports for module-assistant,build-essential,xorg,kde. m-a
prepare says everything is great and I made sure its getting the
linux-headers from backports. My kernel is stock from backports
2.6.18-4-k7 #1 SMP Mon Feb 5 17:45:20 CET 2007 i686 GNU/Linux. When I
run "m-a a-i ndiswrapper" is says "Bad luck, the kernel headers for the
target kernel version could not be found and you did not specify other
valid kernel headers to use." So I tried "m-a -k
/usr/src/linux-headers-2.6.18-4-k7/ a-i ndiswrapper" That tries to
build and gives me the following log.
/usr/bin/gcc-3.3
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/#define
LINUX_VERSION_CODE 132626/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/#define LINUX_VERSION_CODE 132626/g
;s/#KVERS#/#define LINUX_VERSION_CODE 132626/g ; s/_KVERS_/#define
LINUX_VERSION_CODE 132626/g ; s/##KDREV##//g ; s/#KDREV#//g ;
s/_KDREV_//g' < $templ > ${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/ndiswrapper'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o
misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.o wrapper.o divdi3.o
usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/usr/src/modules/ndiswrapper'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/ndiswrapper'
/usr/bin/gcc-3.3
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_//g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##//g ;s/#KVERS#//g ; s/_KVERS_//g ; s/##KDREV##//g
; s/#KDREV#//g ; s/_KDREV_//g' < $templ > ${templ%.modules.in}; \
done
dh_clean
/usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/ndiswrapper'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o
misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.o wrapper.o divdi3.o
usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[2]: Leaving directory `/usr/src/modules/ndiswrapper'
make[1]: Nothing to be done for `kdist_config'.
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules//misc
# build and install the module
/usr/bin/make KPKG_EXTRAV_ARG= KSRC=/usr/src/linux-headers-2.6.18-4-k7/ \
KVER= \
INST_DIR=debian/ndiswrapper-modules-/lib/modules//misc/ install
make[2]: Entering directory `/usr/src/modules/ndiswrapper'
/usr/bin/make -C /usr/src/linux-headers-2.6.18-4-k7/
SUBDIRS=/usr/src/modules/ndiswrapper \
NDISWRAPPER_VERSION=1.1 \
EXTRA_VERSION= modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.18-4-k7'
CC [M] /usr/src/modules/ndiswrapper/hal.o
CC [M] /usr/src/modules/ndiswrapper/iw_ndis.o
CC [M] /usr/src/modules/ndiswrapper/loader.o
/usr/src/modules/ndiswrapper/loader.c: In function `register_devices':
/usr/src/modules/ndiswrapper/loader.c:861: warning: assignment from
incompatible pointer type
/usr/src/modules/ndiswrapper/loader.c:873: error: structure has no
member named `owner'
make[4]: *** [/usr/src/modules/ndiswrapper/loader.o] Error 1
make[3]: *** [_module_/usr/src/modules/ndiswrapper] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.18-4-k7'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/modules/ndiswrapper'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/ndiswrapper'
make: *** [kdist_build] Error 2
Any suggestions on how to fix this would be a great help.
Thanks,
Gokee2
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]