Hello,
I just pulled the latest airo-linux module off cvs, copied airo* to
pcmcia-cs-3.1.33/wireless/
did a make config and then make all and I get the error listed above
(full text at bottom). grep shows that the error it's complaining about
is in:
/usr/src/linux/include/linux/module.h:#define __EXPORT_SYMBOL(sym,str)
error this_object_must_be_defined_as_export_objs_in_the_Makefile
Previously I had no problem compiling the cicso airo* and the native
pcmcia-cs airo* drivers. I'm using Kernel 2.4.18-6 with latest
pcmcia-cs-3.1.33. In current kernel and .config pcmcia is disabled as
is the kernel supplied airo driver.
Any suggestions appreciated I'm stuck on how to fix this error.
thanks!
cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux/include -D__KERNEL__ -DMODULE -c airo_cs.c
In file included from airo_cs.c:34:
/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning
linux/malloc.h is deprecated, use linux/slab.h instead.
cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux/include -D__KERNEL__ -DMODULE -c airo.c
airo.c:1456: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1456: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1456: warning: data definition has no type or storage class
airo.c:1626: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1626: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1626: warning: data definition has no type or storage class
airo.c:1671: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1671: warning: type defaults to `int' in declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
airo.c:1671: warning: data definition has no type or storage class
airo.c: In function `airo_interrupt':
airo.c:1821: warning: `buffer' might be used uninitialized in this function
make[1]: *** [airo.o] Error 1
make[1]: Leaving directory `/home/anh/pcmcia-cs-3.1.33/wireless'
make: *** [all] Error 2
|