簡體   English   中英

為什么我的BitBake自動工具配方在do_configure期間失敗?

[英]Why does my BitBake autotools recipe fail during do_configure?

我正在嘗試創建一個使用自動工具的相當簡單的BitBake食譜,您可以在這里看到它:

SUMMARY = "an example autotools recipe"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

inherit autotools 
SRC_URI = "file://${TOPDIR}/piu/geo_utilities"
S = "${TOPDIR}/piu/geo_utilities"

使用該配方的默認程序包啟動BitBake構建后, do_configure失敗,並顯示以下內容:

configure: exit 0
WARNING: /home/presslertj/repos/new-bb-layers/poky-jethro-build/build/tmp/work/x86-poky-linux/geo-utilities/0.1-r0/temp/run.do_configure.48030:1 exit 1 from
  exit 1

這似乎是矛盾的。 這是完整的日志。 什么會導致這種行為?

“配置:錯誤:源目錄已配置;首先在此處運行” make distclean”

這基本上意味着您已經更改了$ {B},但是如果您使用自動工具執行此操作,則通常需要先擦除現有的構建。 猜測,您已經從autotools-brokensep轉到了autotools,或者您是在解壓后的樹中手動運行configure。

快速的“ bitbake -c clean geo-utilities”將刪除解壓縮的源樹,然后再次進行bitbaking應該可以正常工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM