From: Fulmer, John (JFulmer_at_hrblock.com)
Date: 2002-09-10 01:38:09 UTC
Okay. After almost a week, I've got my little DEC trying to compile against the kernel instead of the pcmcia-cs package.
The kernel is compiled with the native PCMCIA controller driver as a module, and one pcmcia device driver, the NE2K pcmcia ethernet, which works just fine. When I try to compile hostap, I get the following:
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -c
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-fomit-frame-pointer -o driver/modules/hostap_cs.o
In file included from /usr/src/linux/include/asm/semaphore.h:11, from /usr/src/linux/include/linux/fs.h:200, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/skbuff.h:19, from driver/modules/hostap_cs.c:13:/usr/src/linux/include/asm/current.h:4: global register variable follows a function definition
The driver compiles fine if I use the pcmcia-cs driver package instead, which is what I am currently running on.