PPC trouble compiling w/ 2.4.21-pre2-cerf1 (Intrinsyc CerfCube)
Paul Miller
paul
Thu Apr 8 12:40:44 PDT 2004
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:
make[4]: Entering directory
`/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/drivers/net/wireless'
powerpc-linux-gcc -D__KERNEL__
-I/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer
-I/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-Wa,-m405 -nostdinc -iwithprefix include -DKBUILD_BASENAME=hostap
-DEXPORT_SYMTAB -c hostap.c
In file included from hostap_wlan.h:6,
from hostap.c:38:
hostap_compat.h:211: warning: `pcmcia_access_configuration_register'
redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:2:
warning: this is the location of the previous definition
hostap_compat.h:214: warning: `pcmcia_register_client' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:62:
warning: this is the location of the previous definition
hostap_compat.h:217: warning: `pcmcia_deregister_client' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:16:
warning: this is the location of the previous definition
hostap_compat.h:220: warning: `pcmcia_get_first_tuple' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:34:
warning: this is the location of the previous definition
hostap_compat.h:223: warning: `pcmcia_get_next_tuple' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:40:
warning: this is the location of the previous definition
hostap_compat.h:226: warning: `pcmcia_get_tuple_data' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:46:
warning: this is the location of the previous definition
hostap_compat.h:229: warning: `pcmcia_parse_tuple' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:58:
warning: this is the location of the previous definition
hostap_compat.h:232: warning: `pcmcia_get_configuration_info' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:26:
warning: this is the location of the previous definition
hostap_compat.h:235: warning: `pcmcia_request_io' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:82:
warning: this is the location of the previous definition
hostap_compat.h:238: warning: `pcmcia_request_irq' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:84:
warning: this is the location of the previous definition
hostap_compat.h:241: warning: `pcmcia_request_configuration' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:80:
warning: this is the location of the previous definition
hostap_compat.h:244: warning: `pcmcia_release_configuration' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:68:
warning: this is the location of the previous definition
hostap_compat.h:247: warning: `pcmcia_release_io' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:70:
warning: this is the location of the previous definition
hostap_compat.h:250: warning: `pcmcia_release_irq' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:72:
warning: this is the location of the previous definition
hostap_compat.h:253: warning: `pcmcia_release_window' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:74:
warning: this is the location of the previous definition
hostap_compat.h:256: warning: `pcmcia_get_card_services_info' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:24:
warning: this is the location of the previous definition
hostap_compat.h:259: warning: `pcmcia_report_error' redefined
/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/include/linux/modules/cs.ver:78:
warning: this is the location of the previous definition
In file included from hostap_wlan.h:6,
from hostap.c:38:
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'
make[4]: *** [hostap.o] Error 1
make[4]: Leaving directory
`/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/drivers/net/wireless'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory
`/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/drivers/net/wireless'
make[2]: *** [_subdir_wireless] Error 2
make[2]: Leaving directory
`/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory
`/cube/nfs/devel/kernel/linux-2.4.21-pre2-cerf1/drivers'
make: *** [_dir_drivers] Error 2
paul at bluefish:/cube/nfs/usr/src/linux-2.4.21-pre2-cerf1$
More information about the Hostap
mailing list