[Fwd: Re: [Airo-linux-general] compiling for a Cisco 350]
Status: Inactive
Brought to you by:
breed
From: Cory S. <co...@st...> - 2001-12-28 21:26:24
|
Thanks, that got it to compile. Cory -------- Original Message -------- Subject: Re: [Airo-linux-general] compiling for a Cisco 350 Date: Fri, 28 Dec 2001 09:33:35 -0800 (PST) From: Benjamin Reed <br...@ya...> To: co...@st..., air...@li... CC: co...@st... Yes, that is a problem we corrected in CVS, but evidently we haven't sent it to the kernel guys. The problem is that __devinitdata is on the wrong side of the =. It should be: static struct pci_device_id card_ids[] __devinitdata = { ben --- Cory Steers wrote: > Hello. I'm new to the list. I have a Cisco 350 PCI > card and an > external directional antenna comming in the mail, as > a package I'm > purchasing for high speed internet access. Don't > have the card yet, but > I thought I'd get started on updating my kernel. > I've tried a 2.4.7 and > 2.4.17 kernel, and can't get the airo driver > compiled statically into > the kernel. I can get it compiled as a module, but > I'm not confident > that it will work just because it compiled. This is > a desktop machine, > but do I need pcmcia compiled into the kernel to > make this work? I'm > just relying on the code that came with the kernels, > should I patch the > kernel with some other code? > > > Here's a snippit of the config file: > > # > # Wireless LAN (non-hamradio) > # > CONFIG_NET_RADIO=y > # CONFIG_STRIP is not set > # CONFIG_WAVELAN is not set > # CONFIG_ARLAN is not set > # CONFIG_AIRONET4500 is not set > # CONFIG_AIRONET4500_NONCS is not set > # CONFIG_AIRONET4500_PROC is not set > CONFIG_AIRO=y > # CONFIG_HERMES is not set > # CONFIG_PLX_HERMES is not set > CONFIG_NET_WIRELESS=y > > ... and here's the error messages I got: > > make -C wireless > make[3]: Entering directory > `/usr/src/linux-2.4.17/drivers/net/wireless' > make all_targets > make[4]: Entering directory > `/usr/src/linux-2.4.17/drivers/net/wireless' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include > -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 > -fomit-frame-pointer > -fno-strict-aliasing -fno-common -pipe > -mpreferred-stack-boundary=2 > -march=i586 -DEXPORT_SYMTAB -c airo.c > airo.c:50: parse error before `__attribute__' > airo.c:3228: warning: `airo_pci_remove' defined but > not used > make[4]: *** [airo.o] Error 1 > make[4]: Leaving directory > `/usr/src/linux-2.4.17/drivers/net/wireless' > make[3]: *** [first_rule] Error 2 > make[3]: Leaving directory > `/usr/src/linux-2.4.17/drivers/net/wireless' > make[2]: *** [_subdir_wireless] Error 2 > make[2]: Leaving directory > `/usr/src/linux-2.4.17/drivers/net' > make[1]: *** [_subdir_net] Error 2 > make[1]: Leaving directory > `/usr/src/linux-2.4.17/drivers' > make: *** [_dir_drivers] Error 2 > > Any help would be greatly appreciated. > > Thanks, > Cory > > > _______________________________________________ > Airo-linux-general mailing list > Air...@li... > https://lists.sourceforge.net/lists/listinfo/airo-linux-general __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com |