[Airo-linux-general] Re: [Airo-linux-gen80211] error 'this_object_must_be_defined_as_export_objs_in_
Status: Inactive
Brought to you by:
breed
From: Kevin <lei...@ne...> - 2002-06-07 19:12:41
|
In case anyone else has this problem, I just solved it duh. I added -DEXPORT_SYMTAB to CFLAGS in the Makefile residing in the /wireless dir containing airo* files. CFLAGS = -O3 -Wall -Wstrict-prototypes -pipe -DEXPORT_SYMTAB regards lei...@ne... wrote: > 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. I > think i sent this to the wrong list last time, sorry if anyone got a > dupe on this. > thank you and best regards, > Kevin > > 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 > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Airo-linux-general mailing list > Air...@li... > https://lists.sourceforge.net/lists/listinfo/airo-linux-general > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Airo-linux-gen80211 mailing list > Air...@li... > https://lists.sourceforge.net/lists/listinfo/airo-linux-gen80211 |