[zd1211-devs] New Kernel and gcc4.0.2 - Problems?
Status: Beta
Brought to you by:
mayne
From: Emanuel G. <gu...@ph...> - 2005-10-20 20:41:58
|
Hello, I'm using a Siemens Gigaset card based on the zd1211 chipset. My machine is an amd64 gentoo machine, with kernel 2.6.14-rc4 and gcc4.0.2. I'm using the zd1211-driver-r35 release from http://zd1211.ath.cx/. Compilation fails with hundreds of errors at zd1205.c, the first of which are: /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:445: error: syntax error before 'write' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:446: error: syntax error before 'read' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:447: error: syntax error before 'open' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:448: error: syntax error before 'close' Does anybody get the same errors and maybe even know how to fix it? Just uncommenting them results in a nice compilation but during module insertion I get Oct 20 22:36:29 hrmpf zd1211: Unknown symbol sys_write build log part: -I/home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -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.14-rc4/build SUBDIRS=/home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35 modules make[1]: Entering directory `/usr/src/linux-2.6.14-rc4' CC [M] /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.o /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:445: error: syntax error before 'write' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:446: error: syntax error before 'read' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:447: error: syntax error before 'open' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:448: error: syntax error before 'close' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:454: warning: return type defaults to 'int' /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:454: warning: function declaration isn't a prototype /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c: In function '_syscall1': /home/emanuel/ZyDas/zd1211-ath/zd1211-driver-r35/src/zd1205.c:454: error: parameter 'OfdmRateTbl' is initialized --cut-- Greets, Emanuel |