All pastes #65561 Raw Edit

ndiswrapper

public text v1 · immutable
#65561 ·published 2006-06-14 18:05 UTC
rendered paste body
# LANG=C KSRC=/usr/src/linux-headers-2.6.15-23-686/ ./debian/rules binary-modules
/usr/bin/gcc-4.0
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.15-23-686/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##/2.6.15-23-686/g ;s/#KVERS#/2.6.15-23-686/g ; s/_KVERS_/2.6.15-23-686/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.15-23-686/misc
# build and install the module
/usr/bin/make KPKG_EXTRAV_ARG= KSRC=/usr/src/linux-headers-2.6.15-23-686/ \
        KVER=2.6.15-23-686 \
        INST_DIR=debian/ndiswrapper-modules-2.6.15-23-686/lib/modules/2.6.15-23-686/misc/ install
make[1]: Entering directory `/usr/src/modules/ndiswrapper'
/usr/bin/make -C /usr/src/linux-headers-2.6.15-23-686/ SUBDIRS=/usr/src/modules/ndiswrapper \
                DRIVER_VERSION=1.8
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-23-686'
  CC [M]  /usr/src/modules/ndiswrapper/ndis.o
In file included from /usr/src/modules/ndiswrapper/ndis.c:2569:
/usr/src/modules/ndiswrapper/ndis_exports.h:127: error: 'IoAllocateWorkItem' undeclared here (not in a function)
/usr/src/modules/ndiswrapper/ndis_exports.h:128: error: 'IoFreeWorkItem' undeclared here (not in a function)
/usr/src/modules/ndiswrapper/ndis_exports.h:129: error: 'IoQueueWorkItem' undeclared here (not in a function)
/usr/src/modules/ndiswrapper/ndis_exports.h:244: error: 'RndisMIndicateReceive' undeclared here (not in a function)
make[3]: *** [/usr/src/modules/ndiswrapper/ndis.o] Error 1
make[2]: *** [_module_/usr/src/modules/ndiswrapper] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-23-686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/modules/ndiswrapper'
make: *** [binary-modules] Error 2