Re: Problem building non-kernel pcmcia drivers with Prism2-2002-04-21


From: David L. Sifry (david_at_sifry.com)
Date: 2002-04-22 16:09:26 UTC



Actually, what I found worked was commenting out line 30 of hostap_cs.c:

30c30
< /* #include <pcmcia/k_compat.h> */

---

> #include <pcmcia/k_compat.h>
Dave On Mon, 2002-04-22 at 03:07, Reyk Floeter wrote:
> hi,
>
> On Sun, Apr 21, 2002 at 02:27:48PM -0700, David L. Sifry wrote:
> > I'm having a problem building hostap_cs.o when using 2.4.18 (stock) and
> > pcmcia-cs when not using kernel-based PCMCIA. I tried building the
> > module using the recommendations in the README file with both
> > pcmcia-cs-3.1.33 and pcmcia-cs-3.1.31 (which is the one described in the
> > readme) but neither successfully built.
> >
> > Has anyone gotten pcmcia-cs to build a correct hostap_cs.o?
> >
> > Here's the results of 'make config' for pcmcia-cs-3.1.33:
> >
> > # make config
> >
>
> [...]
>
> > `CardServices_Re4eef0a4'
> > hostap_cs.c: In function `init_prism2_pccard':
> > hostap_cs.c:684: warning: implicit declaration of function
> > `register_pccard_driver_R583d4ed2'
> > hostap_cs.c: In function `exit_prism2_pccard':
> > hostap_cs.c:692: warning: implicit declaration of function
> > `unregister_pccard_driver_Rdb348cd2'
> > 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'
> >
>
> please try to build it without CONFIG_MODVERSIONS in your kernel
> configuration. it works fine for me.
>
> reyk
>
> --
> /* -- friendly known free software engineer --
> * reyk_at_hannover.ccc.de https://reyk.synack.de
> */
-- David L. Sifry GPG Key: http://www.sifry.com/david/key.html Key Fingerprint: 7E60 4EDE EB5F AA2D 2F25 8CD3 FE17 C4F8 BDE8 D1B0


This archive was generated by hypermail 2.1.4.