Hi I am trying to get the gpib kernel modules to compile on my computer by using the debian package but when issuing the module-assistant auto-install gpib command I get the follwing errors:
dh_clean find /usr/src/modules/gpib \( -name '*.[oas]' -o -name '*.ko' \ -o -name core -o -name '.*.cmd' \) -type f -exec rm -f {} \; pyversions: missing XS-Python-Version in control file, fall back to debian/pyver sions pyversions: missing debian/pyversions file, fall back to supported versions /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules pyversions: missing XS-Python-Version in control file, fall back to debian/pyver sions pyversions: missing debian/pyversions file, fall back to supported versions make[1]: Entering directory `/usr/src/modules/gpib' dh_clean find /usr/src/modules/gpib \( -name '*.[oas]' -o -name '*.ko' \ -o -name core -o -name '.*.cmd' \) -type f -exec rm -f {} \; for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.22-2-k7/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu les.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.22-2-k7/g ;s/#KVERS#/2.6.22-2-k7/g ; s/_KVERS_/2.6.2 2-2-k7/g ; s/##KDREV##/2.6.22-4/g ; s/#KDREV#/2.6.22-4/g ; s/_KDREV_/2.6.22-4/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot dh_clean -k /usr/bin/make -C /lib/modules/2.6.22-2-k7/build V=1 MODVERSIONS=detect modules\ CC="gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include" \ SUBDIRS=" /usr/src/modules/gpib/agilent_82350b/ /usr/src/modules/gpib/agilent_82357a/ /usr/src/modules/gpib/cb7210/ /usr/src/modules/gpib/cec/ /usr/src/modules/gpib/hp82335/ /usr/src/modules/gpib/hp_82341/ /usr/src/modules/gpib/ines/ /usr/src/modules/gpib/nec7210/ /usr/src/modules/gpib/pc2/ /usr/src/modules/gpib/sys/ /usr/src/modules/gpib/tms9914/ /usr/src/modules/gpib/tnt4882/ /usr/src/modules/gpib/ni_usb/" \ MODVERDIR="/usr/src/modules/gpib/.tmp-versions" make[2]: Entering directory `/usr/src/linux-headers-2.6.22-2-k7' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /usr/src/modules/gpib/.tmp-versions rm -f /usr/src/modules/gpib/.tmp-versions/* /usr/bin/make -f scripts/Makefile.build obj=/usr/src/modules/gpib/agilent_82350b gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82350b/.agilent_82350b_init.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilent_82350b_init)" -D"KBUILD_MODNAME=KBUILD_STR(agilent_82350b)" -c -o /usr/src/modules/gpib/agilent_82350b/.tmp_agilent_82350b_init.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c: In function 'agilent_82350b_generic_attach': /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c:289: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66) /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c:289: warning: passing argument 2 of 'request_irq' from incompatible pointer type gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82350b/.agilent_82350b_read.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilennt_82350b/agilent_82350b_init.c /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c: In function 'agilent_82350b_generic_attach': /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c:289: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66) /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.c:289: warning: passing argument 2 of 'request_irq' from incompatible pointer type gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82350b/.agilent_82350b_read.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilent_82350b_read)" -D"KBUILD_MODNAME=KBUILD_STR(agilent_82350b)" -c -o /usr/src/modules/gpib/agilent_82350b/.tmp_agilent_82350b_read.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_read.c gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82350b/.agilent_82350b_write.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilent_82350b_write)" -D"KBUILD_MODNAME=KBUILD_STR(agilent_82350b)" -c -o /usr/src/modules/gpib/agilent_82350b/.tmp_agilent_82350b_write.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_write.c gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82350b/.agilent_82350b_interrupt.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilent_82350b_interrupt)" -D"KBUILD_MODNAME=KBUILD_STR(agilent_82350b)" -c -o /usr/src/modules/gpib/agilent_82350b/.tmp_agilent_82350b_interrupt.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_interrupt.c ld -m elf_i386 -m elf_i386 -r -o /usr/src/modules/gpib/agilent_82350b/agilent_82350b.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_init.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_read.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_write.o /usr/src/modules/gpib/agilent_82350b/agilent_82350b_interrupt.o /usr/bin/make -f scripts/Makefile.build obj=/usr/src/modules/gpib/agilent_82357a gcc-4.1 -I/usr/src/modules/gpib -I/usr/src/modules/gpib/include -Wp,-MD,/usr/src/modules/gpib/agilent_82357a/.agilent_82357a.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(agilent_82357a)" -D"KBUILD_MODNAME=KBUILD_STR(agilent_82357a)" -c -o /usr/src/modules/gpib/agilent_82357a/.tmp_agilent_82357a.o /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c: In function 'agilent_82357a_send_bulk_msg': /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c:81: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c: In function 'agilent_82357a_receive_bulk_msg': /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c:168: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c: In function 'agilent_82357a_setup_urbs': /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c:1072: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c: At top level: /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c:1497: error: unknown field 'owner' specified in initializer /usr/src/modules/gpib/agilent_82357a/agilent_82357a.c:1497: warning: initialization from incompatible pointer type make[3]: *** [/usr/src/modules/gpib/agilent_82357a/agilent_82357a.o] Error 1 make[2]: *** [_module_/usr/src/modules/gpib/agilent_82357a] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-2-k7' make[1]: *** [binary-modules] Error 2 make[1]: Leaving directory `/usr/src/modules/gpib' make: *** [kdist_build] Error 2 Can someone help me out here so these modules can be up and running? Best regards Oli