[tulip-bug] Problem with KNE111TX card under Mandrake Linux

Shawn Gates the_nine@hotmail.com
Fri Aug 23 22:45:00 2002


Hello,
First of all, if I'm sending this message to the wrong place, please let me 
know along with where to send it if anyone knows. I'm trying to get my 
KNE111TX ethernet card to work under Linux. I'm using kernel version 
2.4.18-6mdk which came with my Mandrake 8.2 distro. Yesterday, I downloaded 
the drivers for my card from the Scyld website. When I tried to load them, I 
got some compiling errors(as seen below). I tried downloading the test 
versions of tulip.c, kern_compat.h and pci-skeleton.c to see if this would 
help but I get the same errors and warnings and no pci-skeleton.o is created 
due to them. If anyone knows what is going on or what I need to do, please 
let me know. I'd really like to get this working so I can leave Windows 
completely. If anymore info is needed, please let me know. Although I will 
be out of town as of today until Monday. Thanks.

Shawn

Here is the output(it IS long...I apologize):

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 
-I/lib/modules/2.4.18-6mdk/build/include -pipe -fno-strength-reduce 
-DMODVERSIONS   -c -o pci-skeleton.o pci-skeleton.c
In file included from pci-skeleton.c:91:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation 
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header 
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="
In file included from pci-skeleton.c:93:
/usr/include/linux/modversions.h:1:2: #error 
"======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the 
compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header 
files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal 
and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system 
header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules 
please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the 
symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname 
-r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source 
directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure 
to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname 
-r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/modversions.h:34:2: #error 
"======================================================="
In file included from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/module.h:11,
                 from pci-skeleton.c:95:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here 
(not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:296,
                 from pci-skeleton.c:95:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation 
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header 
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="
In file included from pci-skeleton.c:95:
/usr/include/linux/module.h:298: parse error before `UTS_RELEASE'
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from pci-skeleton.c:109:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here 
(not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/irq.h:69,
                 from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from pci-skeleton.c:109:
/usr/include/asm/hw_irq.h: In function `x86_do_profile':
/usr/include/asm/hw_irq.h:203: warning: implicit declaration of function 
`smp_processor_id'
In file included from /usr/include/linux/interrupt.h:45,
                 from pci-skeleton.c:109:
/usr/include/asm/hardirq.h: At top level:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here 
(not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from pci-skeleton.c:109:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared 
here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
In file included from pci-skeleton.c:111:
/usr/include/linux/netdevice.h:164: `CONFIG_X86_L1_CACHE_SHIFT' undeclared 
here (not in a function)
/usr/include/linux/netdevice.h:164: requested alignment is not a constant
In file included from kern_compat.h:38,
                 from pci-skeleton.c:122:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation 
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header 
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to 
use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
-r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="
In file included from kern_compat.h:42,
                 from pci-skeleton.c:122:
/usr/include/linux/modversions.h:1:2: #error 
"======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the 
compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header 
files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal 
and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system 
header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules 
please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the 
symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname 
-r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source 
directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy 
/boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure 
to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname 
-r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/modversions.h:34:2: #error 
"======================================================="
In file included from pci-skeleton.c:122:
kern_compat.h:138:26: linux/bios32.h: No such file or directory
In file included from pci-skeleton.c:111:
/usr/include/linux/netdevice.h:481: `CONFIG_X86_L1_CACHE_SHIFT' undeclared 
here (not in a function)
/usr/include/linux/netdevice.h:481: requested alignment is not a constant
In file included from pci-skeleton.c:122:
kern_compat.h:80: conflicting types for `spinlock_t'
/usr/include/linux/spinlock.h:58: previous declaration of `spinlock_t'
kern_compat.h:146: redefinition of `struct pci_dev'
kern_compat.h:154: redefinition of `pcibios_present'
/usr/include/linux/pci.h:618: `pcibios_present' previously defined here
pci-skeleton.c:403: field `stats' has incomplete type
pci-skeleton.c: In function `netfin_probe1':
pci-skeleton.c:473: warning: assignment from incompatible pointer type
pci-skeleton.c:479: dereferencing pointer to incomplete type
pci-skeleton.c:482: dereferencing pointer to incomplete type
pci-skeleton.c:483: dereferencing pointer to incomplete type
pci-skeleton.c:485: dereferencing pointer to incomplete type
pci-skeleton.c:485: dereferencing pointer to incomplete type
pci-skeleton.c:488: dereferencing pointer to incomplete type
pci-skeleton.c:489: dereferencing pointer to incomplete type
pci-skeleton.c:507: dereferencing pointer to incomplete type
pci-skeleton.c:513: dereferencing pointer to incomplete type
pci-skeleton.c:514: dereferencing pointer to incomplete type
pci-skeleton.c:516: dereferencing pointer to incomplete type
pci-skeleton.c:528: dereferencing pointer to incomplete type
pci-skeleton.c:529: dereferencing pointer to incomplete type
pci-skeleton.c:545: dereferencing pointer to incomplete type
pci-skeleton.c:550: dereferencing pointer to incomplete type
pci-skeleton.c:551: dereferencing pointer to incomplete type
pci-skeleton.c:552: dereferencing pointer to incomplete type
pci-skeleton.c:553: dereferencing pointer to incomplete type
pci-skeleton.c:554: dereferencing pointer to incomplete type
pci-skeleton.c:555: dereferencing pointer to incomplete type
pci-skeleton.c:558: dereferencing pointer to incomplete type
pci-skeleton.c:570: dereferencing pointer to incomplete type
pci-skeleton.c:469: warning: `np' might be used uninitialized in this 
function
pci-skeleton.c: In function `mdio_read':
pci-skeleton.c:691: dereferencing pointer to incomplete type
pci-skeleton.c: In function `mdio_write':
pci-skeleton.c:721: dereferencing pointer to incomplete type
pci-skeleton.c:722: dereferencing pointer to incomplete type
pci-skeleton.c:1098:25: macro "dev_kfree_skb" passed 2 arguments, but takes 
just 1
pci-skeleton.c: In function `netdev_open':
pci-skeleton.c:754: dereferencing pointer to incomplete type
pci-skeleton.c:755: dereferencing pointer to incomplete type
pci-skeleton.c:764: dereferencing pointer to incomplete type
pci-skeleton.c:764: dereferencing pointer to incomplete type
pci-skeleton.c:771: dereferencing pointer to incomplete type
pci-skeleton.c:771: dereferencing pointer to incomplete type
pci-skeleton.c:783: dereferencing pointer to incomplete type
pci-skeleton.c:797: dereferencing pointer to incomplete type
pci-skeleton.c:798: dereferencing pointer to incomplete type
pci-skeleton.c:803: warning: passing arg 1 of `netif_start_queue' from 
incompatible pointer type
pci-skeleton.c:810: dereferencing pointer to incomplete type
pci-skeleton.c:814: dereferencing pointer to incomplete type
pci-skeleton.c: In function `check_duplex':
pci-skeleton.c:829: dereferencing pointer to incomplete type
pci-skeleton.c:830: dereferencing pointer to incomplete type
pci-skeleton.c:850: dereferencing pointer to incomplete type
pci-skeleton.c: In function `netdev_timer':
pci-skeleton.c:861: dereferencing pointer to incomplete type
pci-skeleton.c:862: dereferencing pointer to incomplete type
pci-skeleton.c:868: dereferencing pointer to incomplete type
pci-skeleton.c:873: warning: passing arg 1 of `netif_queue_stopped' from 
incompatible pointer type
pci-skeleton.c:875: dereferencing pointer to incomplete type
pci-skeleton.c: In function `tx_timeout':
pci-skeleton.c:885: dereferencing pointer to incomplete type
pci-skeleton.c:886: dereferencing pointer to incomplete type
pci-skeleton.c:889: dereferencing pointer to incomplete type
pci-skeleton.c:905: dereferencing pointer to incomplete type
pci-skeleton.c:910: dereferencing pointer to incomplete type
pci-skeleton.c: In function `init_ring':
pci-skeleton.c:919: dereferencing pointer to incomplete type
pci-skeleton.c:926: dereferencing pointer to incomplete type
pci-skeleton.c:926: dereferencing pointer to incomplete type
pci-skeleton.c:946: warning: assignment from incompatible pointer type
pci-skeleton.c: In function `start_tx':
pci-skeleton.c:964: dereferencing pointer to incomplete type
pci-skeleton.c:971: dereferencing pointer to incomplete type
pci-skeleton.c:1003: warning: passing arg 1 of `netif_stop_queue' from 
incompatible pointer type
pci-skeleton.c:1007: dereferencing pointer to incomplete type
pci-skeleton.c:1009: dereferencing pointer to incomplete type
pci-skeleton.c:1013: dereferencing pointer to incomplete type
pci-skeleton.c: In function `intr_handler':
pci-skeleton.c:1035: dereferencing pointer to incomplete type
pci-skeleton.c:1036: dereferencing pointer to incomplete type
pci-skeleton.c:1039: dereferencing pointer to incomplete type
pci-skeleton.c:1039: void value not ignored as it ought to be
pci-skeleton.c:1041: dereferencing pointer to incomplete type
pci-skeleton.c:1042: dereferencing pointer to incomplete type
pci-skeleton.c:1055: dereferencing pointer to incomplete type
pci-skeleton.c:1070: dereferencing pointer to incomplete type
pci-skeleton.c:1075: dereferencing pointer to incomplete type
pci-skeleton.c:1098: `dev_kfree_skb' undeclared (first use in this function)
pci-skeleton.c:1098: (Each undeclared identifier is reported only once
pci-skeleton.c:1098: for each function it appears in.)
pci-skeleton.c:1105: warning: passing arg 1 of `netif_wake_queue' from 
incompatible pointer type
pci-skeleton.c:1115: dereferencing pointer to incomplete type
pci-skeleton.c:1122: dereferencing pointer to incomplete type
pci-skeleton.c:1125: dereferencing pointer to incomplete type
pci-skeleton.c: In function `netdev_rx':
pci-skeleton.c:1134: dereferencing pointer to incomplete type
pci-skeleton.c:1158: dereferencing pointer to incomplete type
pci-skeleton.c:1160: dereferencing pointer to incomplete type
pci-skeleton.c:1163: dereferencing pointer to incomplete type
pci-skeleton.c:1195: warning: assignment from incompatible pointer type
pci-skeleton.c:1212: dereferencing pointer to incomplete type
pci-skeleton.c:1495:25: macro "dev_kfree_skb" passed 2 arguments, but takes 
just 1
pci-skeleton.c:1501:25: macro "dev_kfree_skb" passed 2 arguments, but takes 
just 1
pci-skeleton.c:1230: warning: passing arg 2 of `eth_type_trans' from 
incompatible pointer type
pci-skeleton.c:1233: dereferencing pointer to incomplete type
pci-skeleton.c:1252: warning: assignment from incompatible pointer type
pci-skeleton.c:1263: dereferencing pointer to incomplete type
pci-skeleton.c: In function `netdev_error':
pci-skeleton.c:1269: dereferencing pointer to incomplete type
pci-skeleton.c:1274: dereferencing pointer to incomplete type
pci-skeleton.c:1281: dereferencing pointer to incomplete type
pci-skeleton.c:1287: dereferencing pointer to incomplete type
pci-skeleton.c:1298: dereferencing pointer to incomplete type
pci-skeleton.c: In function `get_stats':
pci-skeleton.c:1311: dereferencing pointer to incomplete type
pci-skeleton.c:1312: dereferencing pointer to incomplete type
pci-skeleton.c:1322: warning: control reaches end of non-void function
pci-skeleton.c: In function `set_rx_mode':
pci-skeleton.c:1352: dereferencing pointer to incomplete type
pci-skeleton.c:1356: dereferencing pointer to incomplete type
pci-skeleton.c:1358: dereferencing pointer to incomplete type
pci-skeleton.c:1362: dereferencing pointer to incomplete type
pci-skeleton.c:1363: dereferencing pointer to incomplete type
pci-skeleton.c:1371: dereferencing pointer to incomplete type
pci-skeleton.c:1371: warning: value computed is not used
pci-skeleton.c:1371: dereferencing pointer to incomplete type
pci-skeleton.c: In function `mii_ioctl':
pci-skeleton.c:1390: dereferencing pointer to incomplete type
pci-skeleton.c: In function `netdev_close':
pci-skeleton.c:1443: dereferencing pointer to incomplete type
pci-skeleton.c:1444: dereferencing pointer to incomplete type
pci-skeleton.c:1447: warning: passing arg 1 of `netif_stop_queue' from 
incompatible pointer type
pci-skeleton.c:1452: dereferencing pointer to incomplete type
pci-skeleton.c:1455: dereferencing pointer to incomplete type
pci-skeleton.c:1485: dereferencing pointer to incomplete type
pci-skeleton.c:1493: structure has no member named `free'
pci-skeleton.c:1495: `dev_kfree_skb' undeclared (first use in this function)
pci-skeleton.c: In function `netdev_pwr_event':
pci-skeleton.c:1515: dereferencing pointer to incomplete type
pci-skeleton.c:1516: dereferencing pointer to incomplete type
pci-skeleton.c:1519: dereferencing pointer to incomplete type
pci-skeleton.c:1536: dereferencing pointer to incomplete type
pci-skeleton.c:1538: warning: passing arg 1 of `dev_close' from incompatible 
pointer type
pci-skeleton.c:1539: dereferencing pointer to incomplete type
pci-skeleton.c:1541: warning: passing arg 1 of `unregister_netdev' from 
incompatible pointer type
pci-skeleton.c:1542: dereferencing pointer to incomplete type
pci-skeleton.c:1547: dereferencing pointer to incomplete type
pci-skeleton.c:1535: warning: `next' might be used uninitialized in this 
function
pci-skeleton.c: In function `cleanup_module':
pci-skeleton.c:1581: dereferencing pointer to incomplete type
pci-skeleton.c:1582: warning: passing arg 1 of `unregister_netdev' from 
incompatible pointer type
pci-skeleton.c:1584: dereferencing pointer to incomplete type
make: *** [pci-skeleton.o] Error 1


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com