Hi, I am trying to get my PCMCIA networkcard up and running. It came with a disk that includes a driver for that card: pcnet_cs The pcnet_cs.c on the disk looks different than the one that I have in /lib/modules/2.2.15 - so I need to compile it. According to the README (for compiling that module) I only need the Kernel sources and the PCMCIA sources. I've downloaded and installed the appropriate versions (Kernel 2.2.15 PCMCIA 3.1.8) but I can't compile it.
I compiled the driver before on a SuSE linux system without a problem, but unfortunately I neither have the module nor the old SuSE system. When I execute: make all I get the following error: gcc -O2 -DMODULE -D__KERNEL__ -DKINGMAX -c -O6 -I/usr/src/linux -I/usr/src/pcmcia-cs-3.1.8//include -I/usr/src/linux -I/usr/src/linux/drivers/net -I/usr/src/kernel-headers-2.2.15/ -I. -o pcnet_cs.o pcnet_cs.c In file included from /usr/include/linux/fs.h:262, from /usr/include/linux/capability.h:13, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from pcnet_cs.c:35: /usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t' /usr/include/linux/hpfs_fs_i.h:5: warning: no semicolon at end of struct or union /usr/include/linux/hpfs_fs_i.h:12: parse error before `:' In file included from /usr/include/linux/fs.h:264, from /usr/include/linux/capability.h:13, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from pcnet_cs.c:35: /usr/include/linux/msdos_fs_i.h:36: parse error before `off_t' /usr/include/linux/msdos_fs_i.h:36: warning: no semicolon at end of struct or union In file included from /usr/include/linux/fs.h:265, from /usr/include/linux/capability.h:13, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from pcnet_cs.c:35: And this is going on a while. I'm assuming that I am missing something because it worked before on a SuSE system and I've installed Debian for the first time a couple of days ago. Thx for any help... Jens