uClinux and hostAP Driver


From: ■ (imp_at_airlinktek.com)
Date: 2002-08-02 09:39:06 UTC



Dear everyone.

Are there anyone try to porting hostAP Driver to uClinux ?

I use uClinux 2.4.17 version and download 2002-05-29 hostap. and modify the Makefile to make cross compile using arm-elf-gcc then try to compile it. then Error .... anyone can tell me any comment ? Thanks...

[imp_at_Paloalto Prism2-2002-05-19]$ make pccard arm-elf-gcc -I/home/imp/admtek/admLinux/linux-2.4.x/include -O2 -D__KERNEL__ -Wall -c -o driver/modules/hostap_cs.o driver/modules/hostap_cs.c

In file included from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/string.h:19,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/fs.h:23,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/capability.h:17,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/binfmts.h:5,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/sched.h:9,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/skbuff.h:19,
                 from driver/modules/hostap_cs.c:13:

/home/imp/admtek/admLinux/linux-2.4.x/include/asm/string.h:16: warning: conflicting types for built-in function `memcpy'
/home/imp/admtek/admLinux/linux-2.4.x/include/asm/string.h:26: warning: conflicting types for built-in function `memset'
In file included from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/fs.h:23,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/capability.h:17,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/binfmts.h:5,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/sched.h:9,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/skbuff.h:19,
                 from driver/modules/hostap_cs.c:13:

/home/imp/admtek/admLinux/linux-2.4.x/include/linux/string.h:79: warning: conflicting types for built-in function `memcmp'
In file included from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda_fs_i.h:14,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/fs.h:303,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/capability.h:17,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/binfmts.h:5,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/sched.h:9,
                 from /home/imp/admtek/admLinux/linux-2.4.x/include/linux/skbuff.h:19,
                 from driver/modules/hostap_cs.c:13:

/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:259: parse error before `u_quad_t'
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:259: warning: no semicolon at end of struct or union
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:267: parse error before `va_bytes'
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:267: warning: type defaults to `int' in declaration of `va_bytes'
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:267: warning: data definition has no type or storage class
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:268: parse error before `va_filerev'
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:268: warning: type defaults to `int' in declaration of `va_filerev'
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:268: warning: data definition has no type or storage class
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:435: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:443: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:485: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:494: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:539: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:546: field `attr' has incomplete type
/home/imp/admtek/admLinux/linux-2.4.x/include/linux/coda.h:566: field `attr' has incomplete type
In file included from driver/modules/hostap_cs.c:61: driver/modules/prism2.c: In function `prism2_info': driver/modules/prism2.c:3421: warning: int format, long int arg (arg 3) make: *** [driver/modules/hostap_cs.o] 1

This archive was generated by hypermail 2.1.4.