Ciao! As I said on both my machine runs Debian Sid, not Mac Os X. I am looking for a solution for compiling linux drivers supporting monitor mode on PPC hardware. Someone can help?
Thanks for you reply, Rello jxiao wrote: > Dear rello: > The ZD1211 driver package for Macintosh computer running on Mac OS 10.3 > or later is ready now, you can download it from download page in URL of > www.zydas.com.tw, it includes a Kernel extension driver and an user mode > utility > Thanks a lot. > James Hsiao > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of rello > Sent: Tuesday, June 20, 2006 3:41 AM > To: zd1211-devs@lists.sourceforge.net > Subject: [zd1211-devs] working on PPC ?? > > Ciao > > I have a usb dongle with a ZD1211 chip inside. > > I compiled your r80 drivers on my desktop P4 x86 machine and everything > works well (monitor mode with kismet sometimes hungs up as you say). > > Then I tried to compile it on my iBook G4 PPC but I got lots of warnings > and errors, and "make" refuses to finish it's work.. > > On both my machines the system is a Debian Unstable with 2.6.17-rc4 kernel. > > Someone was successful compiling the drivers on a PPC machine? > > This is the log: > > > [EMAIL PROTECTED]:/home/rello/temp3/zidas1211/linux/zd1211-driver-r80# make > /lib/modules/2.6.17-rc4-rello-ppc/build > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80 > -I/home/rello/temp3/zidas1211/linux/zd1211-driver-r80/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.17-rc4-rello-ppc/build > SUBDIRS=/home/rello/temp3/zidas1211/linux/zd1211-driver-r80 modules > make[1]: Entering directory `/usr/src/linux-2.6.17-rc4' > CC [M] /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.o > In file included from include/linux/skbuff.h:27, > from include/linux/tcp.h:163, > from > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:36: > include/linux/highmem.h:24:25: error: asm/highmem.h: No such file or > directory > In file included from include/linux/skbuff.h:27, > from include/linux/tcp.h:163, > from > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:36: > include/linux/highmem.h: In function 'clear_user_highpage': > include/linux/highmem.h:51: warning: implicit declaration of function > 'kmap_atomic' > include/linux/highmem.h:51: error: 'KM_USER0' undeclared (first use in this > function) > include/linux/highmem.h:51: error: (Each undeclared identifier is reported > only once > include/linux/highmem.h:51: error: for each function it appears in.) > include/linux/highmem.h:51: warning: initialization makes pointer from > integer without a cast > include/linux/highmem.h:53: warning: implicit declaration of function > 'kunmap_atomic' > include/linux/highmem.h: In function 'clear_highpage': > include/linux/highmem.h:73: error: 'KM_USER0' undeclared (first use in this > function) > include/linux/highmem.h:73: warning: initialization makes pointer from > integer without a cast > include/linux/highmem.h: In function 'memclear_highpage_flush': > include/linux/highmem.h:87: error: 'KM_USER0' undeclared (first use in this > function) > include/linux/highmem.h:87: warning: assignment makes pointer from integer > without a cast > include/linux/highmem.h: In function 'copy_user_highpage': > include/linux/highmem.h:97: error: 'KM_USER0' undeclared (first use in this > function) > include/linux/highmem.h:97: warning: assignment makes pointer from integer > without a cast > include/linux/highmem.h:98: error: 'KM_USER1' undeclared (first use in this > function) > include/linux/highmem.h:98: warning: assignment makes pointer from integer > without a cast > include/linux/highmem.h: In function 'copy_highpage': > include/linux/highmem.h:110: error: 'KM_USER0' undeclared (first use in this > function) > include/linux/highmem.h:110: warning: assignment makes pointer from integer > without a cast > include/linux/highmem.h:111: error: 'KM_USER1' undeclared (first use in this > function) > include/linux/highmem.h:111: warning: assignment makes pointer from integer > without a cast > In file included from include/linux/tcp.h:163, > from > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:36: > include/linux/skbuff.h: In function 'kmap_skb_frag': > include/linux/skbuff.h:1221: warning: implicit declaration of function > 'local_bh_disable' > include/linux/skbuff.h:1223: error: 'KM_SKB_DATA_SOFTIRQ' undeclared (first > use in this function) > include/linux/skbuff.h:1223: warning: return makes pointer from integer > without a cast > include/linux/skbuff.h: In function 'kunmap_skb_frag': > include/linux/skbuff.h:1228: error: 'KM_SKB_DATA_SOFTIRQ' undeclared (first > use in this function) > include/linux/skbuff.h:1230: warning: implicit declaration of function > 'local_bh_enable' > In file included from include/linux/netdevice.h:539, > from include/net/sock.h:48, > from include/linux/tcp.h:164, > from > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:36: > include/linux/interrupt.h: At top level: > include/linux/interrupt.h:101: warning: conflicting types for > 'local_bh_enable' > include/linux/skbuff.h:1230: warning: previous implicit declaration of > 'local_bh_enable' was here > In file included from > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:42: > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.h:1332: > warning: type qualifiers ignored on function return type > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.h:1279: > warning: 'zd_readl' declared inline after being called > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.h:1279: > warning: previous declaration of 'zd_readl' was here > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: In > function 'zd1205_validate_frame': > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:2809: > warning: unused variable 'len1' > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: In > function 'zd1205_translate_scan': > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: format '%d' expects type 'int', but argument 4 has type 'U32' > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: unknown conversion type character ',' in format > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: spurious trailing '%' in format > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: format '%d' expects type 'int', but argument 4 has type 'U32' > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: unknown conversion type character ',' in format > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7182: > warning: spurious trailing '%' in format > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: In > function 'zd1205_list_bss': > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7387: > warning: format '%2d' expects type 'int', but argument 2 has type 'U32' > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7387: > warning: spurious trailing '%' in format > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: At top > level: > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7526: > warning: type qualifiers ignored on function return type > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7607: > warning: type qualifiers ignored on function return type > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7696: > warning: type qualifiers ignored on function return type > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:7712: > warning: type qualifiers ignored on function return type > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: In > function 'zdcb_setup_next_send': > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9150: > warning: initialization makes integer from pointer without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9150: > warning: passing argument 1 of '__fswab32' makes integer from pointer > without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9194: > warning: initialization makes integer from pointer without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9194: > warning: passing argument 1 of '__fswab32' makes integer from pointer > without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9229: > warning: initialization makes integer from pointer without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9229: > warning: passing argument 1 of '__fswab32' makes integer from pointer > without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9258: > warning: initialization makes integer from pointer without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:9258: > warning: passing argument 1 of '__fswab32' makes integer from pointer > without a cast > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c: In > function 'CalculateQuality': > /home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.c:10073: > warning: unused variable 'rxOffset' > make[2]: *** > [/home/rello/temp3/zidas1211/linux/zd1211-driver-r80/src/zd1205.o] Error 1 > make[1]: *** [_module_/home/rello/temp3/zidas1211/linux/zd1211-driver-r80] > Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.17-rc4' > make: *** [all] Error 2 > [EMAIL PROTECTED]:/home/rello/temp3/zidas1211/linux/zd1211-driver-r80# > > > > _______________________________________________ > Zd1211-devs mailing list - http://zd1211.ath.cx/ > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs > > > _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs