make modules error for ar6000,at91sam9260ek_defconfig...

Andy Green andy at
Fri Feb 20 10:36:18 CET 2009

Hash: SHA1

Somebody in the thread at some point said:
| Finally i made that option appear in my menuconfig...
| now the problem s with header files while making modules..
| here is the error i got when i tried to make modules...
|   CC [M]  drivers/ar6000/htc/ar6k.o
|   CC [M]  drivers/ar6000/htc/ar6k_events.o
|   CC [M]  drivers/ar6000/htc/htc_send.o
|   CC [M]  drivers/ar6000/htc/htc_recv.o
|   CC [M]  drivers/ar6000/htc/htc_services.o
|   CC [M]  drivers/ar6000/htc/htc.o
|   CC [M]  drivers/ar6000/hif/hif2.o
| drivers/ar6000/hif/hif2.c:30:32: error: mach/gta02-pm-wlan.h: No such
| file or directory

Yes this is OM specific thing, doesn't belong here.

Seems to hold the rfkill stuff.

| drivers/ar6000/hif/hif2.c:135:28: error: mach/regs-gpio.h: No such file
| or directory

This is generic GPIO support, you need recent kernel.

| drivers/ar6000/hif/hif2.c: In function 'process_request':
| drivers/ar6000/hif/hif2.c:146: error: implicit declaration of function
| 's3c2410_gpio_getpin'
| drivers/ar6000/hif/hif2.c:146: error: 'S3C2410_GPE7' undeclared (first
| use in this function)
| drivers/ar6000/hif/hif2.c:146: error: (Each undeclared identifier is
| reported only once
| drivers/ar6000/hif/hif2.c:146: error: for each function it appears in.)
| drivers/ar6000/hif/hif2.c: In function 'sdio_ar6000_probe':
| drivers/ar6000/hif/hif2.c:635: error: implicit declaration of function
| 'gta02_wlan_query_rfkill_lock'
| drivers/ar6000/hif/hif2.c:638: error: implicit declaration of function
| 'gta02_wlan_set_rfkill_cb'
| drivers/ar6000/hif/hif2.c:641: error: implicit declaration of function
| 'gta02_wlan_query_rfkill_unlock'
| drivers/ar6000/hif/hif2.c: In function 'sdio_ar6000_remove':
| drivers/ar6000/hif/hif2.c:654: error: implicit declaration of function
| 'gta02_wlan_clear_rfkill_cb'
| make[2]: *** [drivers/ar6000/hif/hif2.o] Error 1
| make[1]: *** [drivers/ar6000] Error 2
| make: *** [drivers] Error 2
| hope i can get some help now...

Maybe Werner has some ideas about moving the rfkill out into machine
specific code so this "doesn't delay ar6000 sumbission to upstream" any
longer than the other brazillion problems with the code for upstream will.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -


More information about the openmoko-kernel mailing list