Problem compiling hostap for a PCI card

Madhusudan Singh chhabra at eecs.umich.edu
Wed Aug 6 21:27:03 EDT 2003


Hi
    I am trying to set up at Access Point using a Netgear  MA311 PCI 
card. An attempt to compile fails spectacularly :

    [root at sggs hostap-0.0.4]# make hostap
Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is 
not defined
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \
        /sbin/genksyms -k 2.4.20 > driver/modules/hostap.ver
In file included from driver/modules/hostap.c:21:
/usr/src/linux/include/linux/module.h:15:1: warning: "_set_ver" redefined
In file included from /usr/src/linux/include/linux/modversions.h:3,
                 from <command line>:1:
/usr/src/linux/include/linux/modsetver.h:9:1: warning: this is the 
location of the previous definition
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap_crypt.c | \
        /sbin/genksyms -k 2.4.20 > driver/modules/hostap_crypt.ver
In file included from driver/modules/hostap_crypt.c:18:
/usr/src/linux/include/linux/module.h:15:1: warning: "_set_ver" redefined
In file included from /usr/src/linux/include/linux/modversions.h:3,
                 from <command line>:1:
/usr/src/linux/include/linux/modsetver.h:9:1: warning: this is the 
location of the previous definition
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver 
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -o driver/modules/hostap.o driver/modules/hostap.c
[root at sggs hostap-0.0.4]# make hostap_pci
Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is 
not defined
make: *** No rule to make target `hostap_pci'.  Stop.


    The machine is a desktop machine. What is all this business about 
PCMCIA support ?

MS

PS : I am now having doubts about whether MA311 is appropriate as an 
Access Point. I have found a few links on the web which state that it is 
so, but nothing in the accompanying documentation says that. I received 
the card earlier today, so I can return it for something else. My 
Netgear MA401 card on my laptop (which is going to be the client) works 
perfectly.



More information about the HostAP mailing list