[oe] Problems building a kernelmodule for OE
Stanislav Brabec
utx at penguin.cz
Mon Oct 27 15:56:26 UTC 2008
Henk Geraads wrote:
> when I try to make the module, following error message is produced!
It seems, that source code is a bit outdated (intended for older kernel
that you have) or you are compiling it in a bad way.
> include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
Strange. It should be defined.
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c:67: warning: implicit declaration of function 'GPLR'
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c:67: warning: implicit declaration of function 'GPIO_bit'
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c: In function 'cfi_init':
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c:204: error: 'GPIO_IN' undeclared (first use in this function)
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c:208: error: 'MSC1' undeclared (first use in this function)
> /home/henk/cm270/fifodrv/cfi-ktst/cfi-mod.c:209: error: 'GPIO79_nCS_3_MD' undeclared (first use in this function)
It indicates that you need to include asm/arch/pxa2xx-regs.h and
asm/arch/pxa2xx-gpio.h.
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz
Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
More information about the Openembedded-devel
mailing list