[oe] Problems building a kernelmodule for OE
Henk Geraads
linux at hf-electronics.com
Tue Oct 28 09:15:57 UTC 2008
Hi Stanislav
questions,
> -----Oorspronkelijk bericht-----
> Van: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org]Namens
> Stanislav Brabec
> Verzonden: maandag 27 oktober 2008 16:56
> Aan: openembedded-devel at lists.openembedded.org
> Onderwerp: Re: [oe] Problems building a kernelmodule for OE
>
>
> 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.
Where should it 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.
Are these not covered by including "asm/uaccess.h" and "asm/io.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/
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list