Dear all,

I try to cross compile the following driver: zd1211-driver-r85.tgz and 
modifying the makefile to point to my ARM target linux source. However it 
results in the following error.

make[1]: Entering directory `/scratchbox/users/kyo/home/kyo/linux-2.6.19'
  CC [M]  /home/kyo/zd1211-driver-r83/src/zd1205.o
In file included from /home/kyo/zd1211-driver-r83/src/zd1205.c:34:
/usr/include/linux/config.h:1:2: error: #error "Compilation aborted. Please 
read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: error: #error "(can be found at 
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from /home/kyo/zd1211-driver-r83/src/zd1205.c:42:
/home/kyo/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers 
ignored on function return type
/home/kyo/zd1211-driver-r83/src/zd1205.h:1279: warning: 'zd_readl' declared 
inline after being called
/home/kyo/zd1211-driver-r83/src/zd1205.h:1279: warning: previous declaration 
of 'zd_readl' was here
/home/kyo/zd1211-driver-r83/src/zd1205.c: In function 
'zd1205_validate_frame':
/home/kyo/zd1211-driver-r83/src/zd1205.c:2809: warning: unused variable 
'len1'
/home/kyo/zd1211-driver-r83/src/zd1205.c: In function 
'zd1205wext_iw_get_stats':
/home/kyo/zd1211-driver-r83/src/zd1205.c:4777: error: 'struct driver_stats' 
has no member named 'iw_stats'
/home/kyo/zd1211-driver-r83/src/zd1205.c: In function 
'zd1205_translate_scan':
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: format '%d' expects 
type 'int', but argument 4 has type 'U32'
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: unknown conversion 
type character ',' in format
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: spurious trailing 
'%' in format
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: format '%d' expects 
type 'int', but argument 4 has type 'U32'
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: unknown conversion 
type character ',' in format
/home/kyo/zd1211-driver-r83/src/zd1205.c:7183: warning: spurious trailing 
'%' in format
/home/kyo/zd1211-driver-r83/src/zd1205.c: In function 'zd1205_list_bss':
/home/kyo/zd1211-driver-r83/src/zd1205.c:7388: warning: format '%2d' expects 
type 'int', but argument 2 has type 'U32'
/home/kyo/zd1211-driver-r83/src/zd1205.c:7388: warning: spurious trailing 
'%' in format
/home/kyo/zd1211-driver-r83/src/zd1205.c: At top level:
/home/kyo/zd1211-driver-r83/src/zd1205.c:7527: warning: type qualifiers 
ignored on function return type
/home/kyo/zd1211-driver-r83/src/zd1205.c:7608: warning: type qualifiers 
ignored on function return type
/home/kyo/zd1211-driver-r83/src/zd1205.c:7697: warning: type qualifiers 
ignored on function return type
/home/kyo/zd1211-driver-r83/src/zd1205.c:7713: warning: type qualifiers 
ignored on function return type
/home/kyo/zd1211-driver-r83/src/zd1205.c: In function 'CalculateQuality':
/home/kyo/zd1211-driver-r83/src/zd1205.c:10074: warning: unused variable 
'rxOffset'
make[2]: *** [/home/kyo/zd1211-driver-r83/src/zd1205.o] Error 1
make[1]: *** [_module_/home/kyo/zd1211-driver-r83] Error 2
make[1]: Leaving directory `/scratchbox/users/kyo/home/kyo/linux-2.6.19'


Secondly, as i am using Linux 2.6.19, i try to load the zd1211rw driver and 
have copied the contents of "zd1211-firmware1.3.tar.bz2" to my ARM target's 
RFS /lib/firmware/zd1211.
What i get was the following when i plug in my ALINK 54G USB adapter

# usb 1-1: new full speed USB device using at91_ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: Could not load firmware file zd1211/zd1211b_ub. Error number -2
zd1211rw 1-1:1.0: couldn't load firmware. Error number -2
usb 1-1: reset full speed USB device using at91_ohci and address 3
zd1211rw: probe of 1-1:1.0 failed with error -2
usb 1-1: device_add(1-1:1.0) --> -2

I have successfully installed the driver provided by A-Link on my host 
computer which is running a Linux 2.6.15, upon checking the RF type. It turn 
out the RF of the WLAN USB adapter is AL2230S_RF

Thanks you any help granted .

Regards,
Kelvin

_________________________________________________________________
Find singles online in your area with MSN Dating and Match.com! 
http://cp.intl.match.com/eng/msn/msnsg/wbc/wbc.html


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to