[yocto] Build Failure Errors

SIVA SUBRAMANIAN.P psiva87 at gmail.com
Thu Apr 21 04:15:44 PDT 2016


Remove -Werror from CFLAGS or EXTRA_OECONF if any.

On Thu, Apr 21, 2016 at 11:38 AM, Harinath maddelal
<Harinath.maddela at inedasystems.com> wrote:
>
> Hi
>
>
> Im new to Yocto.
>
> After downloading poky and i added our BSP package. So while trying to
> compile i get the following errors
>
>
> ===
>
>   LD      init/mounts.o
>   LD      init/built-in.o
>   CC      mm/fadvise.o
>   CC      arch/mips/incdhad1/diap/pllConfig.o
>   CC      arch/mips/incdhad1/diap/dmcConfig.o
> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/incdhad1/diap/pllConfig.c:136:2:
> error: 'writel' is static but used in inline function 'setPixelClock' which
> is not static [-Werror]
>   writel(0x80030003, (void __iomem*)0xBE903064);
>   ^
> /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/incdhad1/diap/pllConfig.c:121:2:
> error: 'writel' is static but used in inline function 'setPixelClock' which
> is not static [-Werror]
>   writel(0x800A0003, (void __iomem*)0xBE903064);
>   ^
> ===========================
>
>
> Looks like warnings are treated as errors. How can i compress warnings being
> treated as errors.
>
>
> Can you please help me in this.
>
>
> Attaching log.do_compile file for further reference.
>
>
> Expecting your reply. Thanks in Advance
>
>
> Thanks and Regards,
> Harinath
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list