Compile error with hostap, 2.4.19, and DEC Alpha.


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:

<SNIP!>

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
driver/modules/hostap_cs.c

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
/usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable
In file included from driver/modules/hostap_cs.c:59: driver/modules/hostap_hw.c: In function `prism2_transmit_cb': driver/modules/hostap_hw.c:1434: warning: cast from pointer to integer of different size
driver/modules/hostap_hw.c: In function `prism2_transmit': driver/modules/hostap_hw.c:1514: warning: cast to pointer from integer of different size
make: *** [driver/modules/hostap_cs.o] Error 1 mull:/usr/src/shared/hostap#

<SNIP!>

The driver compiles fine if I use the pcmcia-cs driver package instead, which is what I am currently running on.

Thanks,

jf



This archive was generated by hypermail 2.1.4.