Can't built boost-1.75, "not a valid ELF file"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't built boost-1.75, "not a valid ELF file"

ソリューションへジャンプ
3,365件の閲覧回数
colinbroderick
Contributor III

I'm trying to `bitbake imx-image-full` for the imx8mpevk, but it is failing on boost 1.75. The full error is as follows:

ERROR: boost-1.75.0-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/package/usr/lib/libboost_log.a']):
dwarfsrcfiles: /home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/package/usr/lib/libboost_log.a: not a valid ELF file

ERROR: Logfile of failure stored in: /home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/temp/log.do_package.22126
ERROR: Task (/home/colin/imx-yocto-bsp/sources/poky/meta/recipes-support/boost/boost_1.75.0.bb:do_package) failed with exit code '1'

Any tips? I'm quite new to this stuff. Thanks.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
3,362件の閲覧回数
colinbroderick
Contributor III

Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.

元の投稿で解決策を見る

1 返信
3,363件の閲覧回数
colinbroderick
Contributor III

Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.