hostap-pcmcia-cs-patch-3.1.34 for pcmcia-cs-3.2.5

Bob Beers bbeers
Wed Nov 12 06:44:26 PST 2003


   Hi list,

My apologies if this has already been addressed, but
I didn't find anything about it in the archives.

The patch doesn't apply.  Here is the Makefile.rej.
++++++++++++++++++++++++++++++++++++++++++++++
bbeers at alakazam:~/tmp$ cat Makefile.rej
***************
*** 23,31 ****
   SRCS    += hermes.c orinoco.c orinoco_cs.c
   endif

   all:  $(MODULES)

- wvlan_hcf.o wvlan_hcfio.o hermes.o orinoco.o: %.o: %.c
         $(CC) -MD -c $(XFLAGS) $<
         @mkdir -p .depfiles ; mv $*.d .depfiles

--- 23,35 ----
   SRCS    += hermes.c orinoco.c orinoco_cs.c
   endif

+ # Host AP driver
+ MODULES       += hostap.o hostap_crypt_wep.o hostap_cs.o
+ SRCS  += hostap.c hostap_crypt_wep.c hostap_cs.c
+
   all:  $(MODULES)

+ wvlan_hcf.o wvlan_hcfio.o hermes.o orinoco.o hostap.o: %.o: %.c
         $(CC) -MD -c $(XFLAGS) $<
         @mkdir -p .depfiles ; mv $*.d .depfiles

bbeers at alakazam:~/tmp$
++++++++++++++++++++++++++++++++++++++++++++++

The trouble is that the Makefile.orig line after
"all:  $(MODULES)" starts with "wvlan_cs.o:", not
"wvlan_hcf.o:".  In fact the entire stanza is quite
  different in 3.2.5 vs 3.1.34.

I tried this.
++++++++++++++++++++++++++++++++++++++++++++++
--- pcmcia-cs-3.2.5.orig/wireless/Makefile      Tue Nov 11 15:56:42 2003
+++ pcmcia-cs-3.2.5/wireless/Makefile   Tue Nov 11 16:29:43 2003
@@ -19,6 +19,10 @@
  SRCS    += hermes.c orinoco.c orinoco_cs.c orinoco_plx.c
  endif

+#Host AP driver
+MODULES += hostap.o hostap_crypt_wep.o hostap_cs.o hostap_plx.o
+SRCS    += hostap.c hostap_crypt_wep.c hostap_cs.c hostap_plx.c
+
  all:   $(MODULES)

  wvlan_cs.o: wvlan_base.o wvlan_hcf.o wvlan_hcfio.o
++++++++++++++++++++++++++++++++++++++++++++++
but I got this error when trying `make' in pcmcia-cs-3.2.5/:
make[1]: *** No rule to make target `hostap.o', needed by `all'. Stop.
make[1]: Leaving directory
`/home/bbeers/download/kernel/pcmcia-cs-3.2.5/wireless'
make: *** [all] Error 2

Anybody fix this already?

Works ok to `make' in hostap-driver-0.1.2/.

-- 
Bob Beers

EdgeAccess, Inc.
www.edgeaccess.com
813.594.6118





More information about the Hostap mailing list