I think I got most of the things correct. Only that I cannot do "insmod ians" cos it ians is compiled with gcc2 and my kernel is compiled with gcc3. I tried compiling it with gcc 3 but got errors as in the log file (apended at the end). Any ideas ?? Looks like things in /include/linux and /include/asm are clashing. :o)
BTW I have both the same nics .. -js [EMAIL PROTECTED] src]# make Compiling ians_base.c ... Compiling ians_kernel.c ... Compiling lib/incg_dev.c ... Compiling lib/incg_gp_mem.c ... Compiling lib/incg_kthread.c ... In file included from lib/incg_kthread.c:366: /lib/modules/2.4.20-8/build/include/asm/smplock.h:17:1: warning: "kernel_locked" redefined In file included from /lib/modules/2.4.20-8/build/include/asm/hw_irq.h:16, from /lib/modules/2.4.20-8/build/include/linux/irq.h:69, from /lib/modules/2.4.20-8/build/include/asm/hardirq.h:6, from /lib/modules/2.4.20-8/build/include/linux/interrupt.h:46, from /lib/modules/2.4.20-8/build/include/asm/highmem.h:25, from /lib/modules/2.4.20-8/build/include/linux/highmem.h:11, from /lib/modules/2.4.20-8/build/include/linux/skbuff.h:27, from /lib/modules/2.4.20-8/build/include/linux/netdevice.h:147, from lib/incg_kthread.c:363: /lib/modules/2.4.20-8/build/include/linux/smp_lock.h:12:1: warning: this is the location of the previous definition In file included from lib/incg_kthread.c:366: /lib/modules/2.4.20-8/build/include/asm/smplock.h:22:1: warning: "release_kernel_lock" redefined In file included from /lib/modules/2.4.20-8/build/include/asm/hw_irq.h:16, from /lib/modules/2.4.20-8/build/include/linux/irq.h:69, from /lib/modules/2.4.20-8/build/include/asm/hardirq.h:6, from /lib/modules/2.4.20-8/build/include/linux/interrupt.h:46, from /lib/modules/2.4.20-8/build/include/asm/highmem.h:25, from /lib/modules/2.4.20-8/build/include/linux/highmem.h:11, from /lib/modules/2.4.20-8/build/include/linux/skbuff.h:27, from /lib/modules/2.4.20-8/build/include/linux/netdevice.h:147, from lib/incg_kthread.c:363: /lib/modules/2.4.20-8/build/include/linux/smp_lock.h:10:1: warning: this is the location of the previous definition In file included from lib/incg_kthread.c:366: /lib/modules/2.4.20-8/build/include/asm/smplock.h:33:1: warning: "reacquire_kernel_lock" redefined In file included from /lib/modules/2.4.20-8/build/include/asm/hw_irq.h:16, from /lib/modules/2.4.20-8/build/include/linux/irq.h:69, from /lib/modules/2.4.20-8/build/include/asm/hardirq.h:6, from /lib/modules/2.4.20-8/build/include/linux/interrupt.h:46, from /lib/modules/2.4.20-8/build/include/asm/highmem.h:25, from /lib/modules/2.4.20-8/build/include/linux/highmem.h:11, from /lib/modules/2.4.20-8/build/include/linux/skbuff.h:27, from /lib/modules/2.4.20-8/build/include/linux/netdevice.h:147, from lib/incg_kthread.c:363: /lib/modules/2.4.20-8/build/include/linux/smp_lock.h:11:1: warning: this is the location of the previous definition In file included from lib/incg_kthread.c:366: /lib/modules/2.4.20-8/build/include/asm/smplock.h:47:40: macro "lock_kernel" passed 1 arguments, but takes just 0 In file included from lib/incg_kthread.c:366: /lib/modules/2.4.20-8/build/include/asm/smplock.h:48: syntax error before '{' token /lib/modules/2.4.20-8/build/include/asm/smplock.h:63:42: macro "unlock_kernel" passed 1 arguments, but takes just 0 /lib/modules/2.4.20-8/build/include/asm/smplock.h:64: syntax error before '{' token make: *** [lib/incg_kthread.o] Error 1 _______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd