Hi, I'm trying to compile a module for a DSL interface card (FritzDSL! SL). It works fine with the 2.4.18 kernel, and headers, but I get an error when I try to compile with a newer kernel like 2.4.23. I've include the last few lines of the make messages below:
Any suggestions on getting this to work? Is it normal that source code for modules is so dependent on the kernel version? I've checked, but there isn't a newer version of the source available, fcdslsl-suse8.2-03.11.02.tar.gz seems to be the latest version, and the manufacturer claims not to know anything about Debian. Thanks for any suggestions, Chris .... k6:/usr/src/fritz# make (cd src.drv; make CARD=fcdslsl) make[1]: Entering directory `/usr/src/fritz/src.drv' cc -c -DMODULE -D__KERNEL__ -DNDEBUG -D__fcdslsl__ -DTARGET=\"fcdslsl\" -O2 -Wall -I /usr/src/kernel-headers-2.4.23-1/include main.c -o main.o In file included from /usr/src/kernel-headers-2.4.23-1/include/asm/semaphore.h:39, from /usr/src/kernel-headers-2.4.23-1/include/linux/fs.h:200, from /usr/src/kernel-headers-2.4.23-1/include/linux/capability.h:17, from /usr/src/kernel-headers-2.4.23-1/include/linux/binfmts.h:5, from /usr/src/kernel-headers-2.4.23-1/include/linux/sched.h:9, from /usr/src/kernel-headers-2.4.23-1/include/asm/uaccess.h:8, from main.c:28: /usr/src/kernel-headers-2.4.23-1/include/asm/system.h: In function `__set_64bit_var': /usr/src/kernel-headers-2.4.23-1/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/kernel-headers-2.4.23-1/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from tools.h:30, from main.c:42: defs.h: At top level: defs.h:85: error: redefinition of `irqreturn_t' /usr/src/kernel-headers-2.4.23-1/include/linux/interrupt.h:17: error: `irqreturn_t' previously declared here make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/usr/src/fritz/src.drv' make: *** [drv] Error 2 -- Dr.-Ing. C. Hurschler Bodenstedtstr. 13 30173 Hannover -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]