[Prism54-devel] Prism54 AP WPA using Hostap and WDS

Joerg Dorchain joerg at dorchain.net
Sun Nov 7 12:15:55 UTC 2004


On Fri, Nov 05, 2004 at 11:28:11AM -0500, Luis R. Rodriguez wrote:
> 
> http://prism54.org/pub/linux/snapshot/tars/prism54-cvs-latest.tar.bz2

Taking this, does only compile outside of the kernel tree (linus 2.6.9) 
with the following patch

--- Makefile.k26.orig	2004-11-07 13:10:11.000000000 +0100
+++ Makefile.k26	2004-11-07 12:47:55.000000000 +0100
@@ -7,5 +7,5 @@
 
 obj-$(CONFIG_PRISM54) += prism54.o
 
-EXTRA_CFLAGS = -I$(PWD) # -DCONFIG_PRISM54_WDS -DCONFIG_PRISM54_HOSTAPD
+EXTRA_CFLAGS = -I$(PWD)  -DCONFIG_PRISM54_WDS # -DCONFIG_PRISM54_HOSTAPD
 
--- islpci_eth.c.orig	2004-11-07 12:54:15.000000000 +0100
+++ islpci_eth.c	2004-11-07 12:53:58.000000000 +0100
@@ -31,6 +31,7 @@
 #include "islpci_eth.h"
 #include "islpci_mgt.h"
 #include "oid_mgt.h"
+#include "isl_wds.h"
 
 /******************************************************************************
     Network Interface functions

Then it only compiles with errors:
# make modules
make -C ksrc/ modules
make[1]: Entering directory `/usr/src/prism54-ng/ksrc'
make -C /lib/modules/2.6.9/build SUBDIRS=/usr/src/prism54-ng/ksrc
modules
make[2]: Entering directory `/usr/src/linux-2.6'
  CC [M]  /usr/src/prism54-ng/ksrc/islpci_eth.o
  CC [M]  /usr/src/prism54-ng/ksrc/islpci_mgt.o
  CC [M]  /usr/src/prism54-ng/ksrc/isl_38xx.o
  CC [M]  /usr/src/prism54-ng/ksrc/isl_ioctl.o
/usr/src/prism54-ng/ksrc/isl_ioctl.c: In function `prism54_add_wdslink':
/usr/src/prism54-ng/ksrc/isl_ioctl.c:1313: warning: control reaches end of non-void function
/usr/src/prism54-ng/ksrc/isl_ioctl.c: In function `prism54_rem_wdslink':
/usr/src/prism54-ng/ksrc/isl_ioctl.c:1331: warning: control reaches end of non-void function
  CC [M]  /usr/src/prism54-ng/ksrc/islpci_dev.o
  CC [M]  /usr/src/prism54-ng/ksrc/islpci_hotplug.o
  CC [M]  /usr/src/prism54-ng/ksrc/oid_mgt.o
  CC [M]  /usr/src/prism54-ng/ksrc/isl_wds.o
/usr/src/prism54-ng/ksrc/isl_wds.c: In function `add_wds_link':
/usr/src/prism54-ng/ksrc/isl_wds.c:122: warning: implicit declaration of function `dev_alloc'
/usr/src/prism54-ng/ksrc/isl_wds.c:122: warning: assignment makes pointer from integer without a cast
/usr/src/prism54-ng/ksrc/isl_wds.c: In function `wds_net_open':
/usr/src/prism54-ng/ksrc/isl_wds.c:461: warning: unused variable `wnlp'
/usr/src/prism54-ng/ksrc/isl_wds.c: In function `wds_net_close':
/usr/src/prism54-ng/ksrc/isl_wds.c:544: warning: unused variable `lp'
  CC [M]  /usr/src/prism54-ng/ksrc/isl_ap.o
  LD [M]  /usr/src/prism54-ng/ksrc/prism54.o
  Building modules, stage 2.
  MODPOST
*** Warning: "dev_alloc" [/usr/src/prism54-ng/ksrc/prism54.ko] undefined!
  CC      /usr/src/prism54-ng/ksrc/prism54.mod.o
  LD [M]  /usr/src/prism54-ng/ksrc/prism54.ko
make[2]: Leaving directory `/usr/src/linux-2.6'
make[1]: Leaving directory `/usr/src/prism54-ng/ksrc'


IMHO on it is more likely that someone on this list brings up a patch
for the missing dev_alloc than me.

Bye,

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://prism54.org/pipermail/prism54-devel/attachments/20041107/0295a92b/attachment.pgp


More information about the Prism54-devel mailing list