[oe] Struggling with creating recipe liblockdev
Phil Blundell
philb at gnu.org
Wed Sep 5 11:33:43 UTC 2012
On Wed, 2012-09-05 at 12:32 +0100, Jack Mitchell wrote:
> | /usr/bin/ld: ../src/lockdev.z: Relocations in generic ELF (EM: 40)
> | /usr/bin/ld: ../src/lockdev.z: Relocations in generic ELF (EM: 40)
> | /usr/bin/ld: ../src/lockdev.z: Relocations in generic ELF (EM: 40)
> | /usr/bin/ld: ../src/lockdev.z: Relocations in generic ELF (EM: 40)
> | /usr/bin/ld: ../src/lockdev.z: Relocations in generic ELF (EM: 40)
> | ../src/lockdev.z: could not read symbols: File in wrong format
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [blib/arch/auto/LockDev/LockDev.so] Error 1
You seem to be trying to use /usr/bin/cc and /usr/bin/ld to generate
target binaries. Those should almost certainly be ${CC} and ${LD}
respectively.
p.
More information about the Openembedded-devel
mailing list