[yocto] do_compile fails in Jethro

Alexandre Freire da Silva Osorio alexandre.osorio at eldorado.org.br
Thu Jan 28 04:31:15 PST 2016


Khem,

Yes, your suggestion solves the problem, I justo don't know why this was not needed in Fido. Thanks for your help!

But now I'm facing a new error:

> bitbake core-image-lsb

ERROR: Function failed: do_rootfs

ERROR: Unable to install packages.

Computing transaction...warning: Can't install libtevent-dev-0.9.21-r0 at core2_64: Can't install talloc-dev-2.1.1-r0 at core2_64: no package provides talloc = 2.1.1-r0


Do you have an idea of what could be happened?

Regards,
Alexandre




-----Original Message-----
From: Khem Raj [mailto:raj.khem at gmail.com] 
Sent: quarta-feira, 27 de janeiro de 2016 17:18
To: Alexandre Freire da Silva Osorio <alexandre.osorio at eldorado.org.br>
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] do_compile fails in Jethro

On Wed, Jan 27, 2016 at 11:11 AM, Alexandre Freire da Silva Osorio <alexandre.osorio at eldorado.org.br> wrote:
> Hi!
>
> The first time I tried to upgrade my build to Jethro I received the following error message while do_compiling krb5:
>
> (...)
> | .build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-poky-linux/gcc/x
> | 86_64-poky-linux/5.2.0/ld: plugins.so: relocation R_X86_64_PC32 
> | against symbol `krb5int_open_plugin' can not be used when making a 
> | shared object; recompile with -fPIC
> | .build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-poky-linux/gcc/x
> | 86_64-poky-linux/5.2.0/ld: final link failed: Bad value
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [libkrb5support.so.0.1] Error 1
> | make[2]: Leaving directory `.build/tmp/work/core2-64-poky-linux/krb5/1.13.2-r0/krb5-1.13.2/src/util/support'
> | make[1]: *** [all-recurse] Error 1
> | make[1]: Leaving directory `.build/tmp/work/core2-64-poky-linux/krb5/1.13.2-r0/krb5-1.13.2/src/util'
> | make: *** [all-recurse] Error 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at 
> | .build/tmp/work/core2-64-poky-linux/krb5/1.13.2-r0/temp/log.do_compi
> | le.9043)
> ERROR: Task 1764 (.meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5_1.13.2.bb, do_compile) failed with exit code '1'
>
>
> This error doesn't occur when I was using Fido. Please, could anyone give me a help?

what happens if you add

CFLAGS += "-fPIC -DPIC" to concerned .bb file.

>
> Thanks in advance.
>
> Regards,
> Alexandre
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list