problem building Prism2-2002-04-24 with pcmcia-cs-3.1.33 and kernel 2.4.9


From: James W Cummings (jcumming_at_andrew.cmu.edu)
Date: 2002-04-28 22:36:04 UTC


   I have been using an old version (Prism2-2002-01-03) of the    HostAP driver successfully with my Compaq WL200.    I tried to upgrade to Prism2-2002-04-24 but have been unable    to compile it, and the problem seems to be different from    the other ones recently discussed on the list.    Any suggestions will be gratefully received.

  1. A brief description of my setup and the problem

   Redhat 7.2 with kernel 2.4.9
   External pcmcia support, version pcmcia-cs-3.1.33

   I copied the driver files to pcmcia source directory    and did "make config" (see below for details)

   I did "make all".
   Pcmcia compilation proceeded normally till it got    to the prism2 driver then failed with the message

In file included from prism2.c:65,

                 from hostap_cs.c:67:

/usr/src/linux/include/net/sock.h:815: parse error before `unsigned'
/usr/src/linux/include/net/sock.h:822: parse error before `unsigned'
make[2]: *** [hostap_cs.o] Error 1
make[2]: Leaving directory `/usr/src/pcmcia-cs-3.1.33/modules'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.1.33'


   2)  Here is the output from "make config" in the pcmcia
       source directory (lightly edited)



The kernel source tree is version 2.4.9-13custom. Build 'trusting' versions of card utilities (y/n) [n]: Include 32-bit (CardBus) card support (y/n) [y]: Include PnP BIOS resource checking (y/n) [n]:

Kernel configuration options:

    Kernel-tree PCMCIA support is disabled.     PCI BIOS support is enabled.
    Networking support is enabled.
     Radio network interface support is enabled.     Module version checking is enabled.
    Kernel debugging support is enabled.

Configuration successful.



This archive was generated by hypermail 2.1.4.