hostap_compat.h compling error...

Jouni Malinen jkmaline at cc.hut.fi
Sun May 21 20:51:04 EDT 2006


On Thu, May 18, 2006 at 04:17:40PM +0800, vestige wrote:

>   Now I wanted to build a host AP module for an embeded 2.4.21 kernel.
> So I downloaded hostap-driver-0.3.10.tar.gz. I wanted to build it with
> kernel, so I followed
> hostap-driver-0.3.10/kernel-patches/readme to make a patch to the
> kenel. Unfortunately, there wasn't 2.4.21 patch, so I just use 2.4.20
> patch and do what the readme told me to.
>   But at the step of "make modules", following error occur,
> hostap_compat.h:22: error: parse error before "do"
> hostap_compat.h:22: error: parse error before "struct"

Have you tried building Host AP driver externally (i.e., by not patching
the kernel and just running 'make' in Host AP directory)? Does that show
the same problem? Linux 2.4.21 is quite old, but I verified that Host AP
driver v0.3.10 can be built successfully against Linux 2.4.31.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list