[PATCH] Fix for warning in MODPOST

Jouni Malinen jkmaline at cc.hut.fi
Sun Jun 8 22:56:49 EDT 2003


On Wed, May 28, 2003 at 03:10:38PM -0400, Pavel Roskin wrote:

> When compiling hostap for 2.5.x kernels and it depends on some other
> modules (in particular, hostap_cs can depend on ds), there are spurious
> warnings:
> 
>   Starting the build. KBUILD_BUILTIN= KBUILD_MODULES=1
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "pcmcia_unregister_driver"
> [/home/proski/src/hostap/driver/modules/hostap_cs.ko] undefined!

Hmm.. I haven't seen that. Does it require some special condition like
Linux kernel tree modules not built/installed? With 2.5.70:

  Starting the build. KBUILD_BUILTIN= KBUILD_MODULES=1
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap.o
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap_crypt.o
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap_crypt_wep.o
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap_cs.o
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap_plx.o
  CC [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap_pci.o
  Building modules, stage 2.
  MODPOST
  CC      /home/jm/tmp/h-test/hostap/driver/modules/hostap.mod.o
  LD [M]  /home/jm/tmp/h-test/hostap/driver/modules/hostap.ko
...

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list