PPC trouble compiling w/ 2.4.21-pre2-cerf1 (Intrinsyc CerfCube)
Thu Apr 8 21:28:30 PDT 2004
On Thu, Apr 08, 2004 at 02:40:44PM -0500, Paul Miller wrote:
> I recently purchased a Netgear SL-2511MP PLUS 2.10 (Prism 2.5) miniPCI
> card for an embedded Linux project. It is a IBM 405EP PPC CerfCube from
> Intrinsyc. Intrinsyc recommended this network card and Netgear's site
> identified hostap as being the Linux driver. I'm running a kernel
> 2.4.21-pre2-cerf1 from Intrinsyc (unfortunately, I have not been able to
> find patches for more recent kernels).
> Anyhow, I'm have difficulty compiling the hostap driver. I used the
> kernel-2.4.20 patch and it applied cleanly. Here are the results:
> hostap_compat.h:211: warning: `pcmcia_access_configuration_register'
It looks like the kernel tree or pcmcia-cs you are using is modified by
including some parts of changes from the newer kernel versions. The
backwards compatibility code in hostap_compat.h supports unmodified
released of the latest kernel releases from kernel.org. If you are using
modified trees, you may need to edit this file to match with the patches
that are included in your tree. There are too many different kernel
trees to make it feasible to include backwards compatibility code for
all of them in the Host AP driver distribution.
In this case, it looks like you may need to comment out some of the
extra definitions for pcmcia_* functions in hostap_compat.h.
> hostap_compat.h:114: warning: static declaration for
> `flush_scheduled_tasks' follows non-static
> hostap_compat.h:118: parse error before `do'
> hostap_compat.h:119: parse error before `struct'
Which version of the Host AP driver are you using? I'm not fully sure
about the reason for this error, but again, it looks like something that
would need to be modified for the kernel tree by either removing the
flush_schedule_work() definition from hostap_compat.h or by changing it
Jouni Malinen PGP id EFC895FA
More information about the Hostap