17 Jan 2010 20:05
AP mode for zd1211 won't build on 2.6.31.6
Marc MERLIN <marc <at> merlins.org>
2010-01-17 19:05:08 GMT
2010-01-17 19:05:08 GMT
I need the driver to set my antenna as an AP, but build from svn fails:
gandalfthegrey [mc]# make
/lib/modules/2.6.31.6-core2smp-1khznohz-preempt-notcks-noide-hm64-20091206/build
/var/src/zd1211/trunk
-I/var/src/zd1211/trunk/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe
-DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT
-DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1
-DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o
src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o
src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.31.6-core2smp-1khznohz-preempt-notcks-noide-hm64-20091206/build
SUBDIRS=/var/src/zd1211/trunk modules
make[1]: Entering directory `/var/src/linux-2.6.31.6-dualcoresmp-hm64'
CC [M] /var/src/zd1211/trunk/src/zd1205.o
CC [M] /var/src/zd1211/trunk/src/zdasocsvc.o
CC [M] /var/src/zd1211/trunk/src/zdauthrsp.o
CC [M] /var/src/zd1211/trunk/src/zdmmrx.o
In file included from /var/src/zd1211/trunk/src/zd1205.h:49,
from /var/src/zd1211/trunk/src/zd1205.c:47:
/var/src/zd1211/trunk/src/zdcompat.h:69: error: conflicting types for 'irqreturn_t'
include/linux/irqreturn.h:16: note: previous declaration of 'irqreturn_t' was here
In file included from /var/src/zd1211/trunk/src/zd1205.h:49,
from /var/src/zd1211/trunk/src/zd1205.c:47:
/var/src/zd1211/trunk/src/zdcompat.h:72:1: warning: "IRQ_RETVAL" redefined
In file included from include/linux/interrupt.h:10,
from include/linux/netdevice.h:1058,
from include/net/sock.h:50,
from include/linux/tcp.h:177,
(Continue reading)
RSS Feed