Re: uClinux and hostAP Driver


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-08-08 01:07:42 UTC



On Fri, Aug 02, 2002 at 06:39:06PM +0900, ¹ÚÈï¿­ wrote:

> Are there anyone try to porting hostAP Driver to uClinux ?

Does it really need any porting?

> 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 ?

I would guess that your cross compiler is broken. If it is indeed named arm-elf-gcc, it might not be compiled for Linux.. If it does not define __linux__, linux/coda.h will not compile. If this is indeed the case, the real fix would be to fix the cross compiler. As a quick test, you could also just add -D__linux__ to CFLAGS.

-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.