错误:system / extras / perfprofd / Android.bp:77:1:" libperfprofd_record_proto"取决于未定义的模块" libquipper"

时间:2018-05-16 06:00:17

标签: android gnu-make android-source

我正在 hikey960 主板的master分支上构建 AOSP。 我按照以下步骤进行构建 AOSP。

$ repo init -u https://android.googlesource.com/platform/manifest -b master
$ repo sync -j24

在运行下面的命令后,我习惯得到终端输出(在Android'O': 8.1.0上有些包括msg)。但是我没有遇到这种情况。

$ source build/envsetup.sh 

请注意此命令后没有终端输出。这是真正的问题吗?

$ lunch

You're building on Linux
Lunch menu... pick a combo:
 1. aosp_angler-userdebug
 .
 .
 36.hikey960-userdebug
 .
 .

Which would you like? [aosp_arm-eng] 36

贝娄是终极输出的几行。

 PLATFORM_VERSION_CODENAME=Q
 PLATFORM_VERSION=Q
 TARGET_PRODUCT=hikey960
 TARGET_BUILD_VARIANT=userdebug
 TARGET_BUILD_TYPE=release
 TARGET_ARCH=arm64
 /*Other ENV set*/

 $ make -j24

以下是错误

 [1/1] out/soong/.minibootstrap/minibp      out/soong/.bootstrap/build.ninja
 [58/59] glob prebuilts/ndk/cpufeatures.bp
 [82/82] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
 FAILED: out/soong/build.ninja 
 out/soong/.bootstrap/bin/soong_build -t -l      out/.module_paths/Android.bp.list -b out/soong -n out -d      out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
 error: system/extras/perfprofd/Android.bp:77:1: "libperfprofd_record_proto" depends on undefined module "libquipper"
 ninja: build stopped: subcommand failed.
 11:21:46 soong bootstrap failed with: exit status 1

由于我是AOSP的新手,我试图以大多数方式找到,但仍在努力寻找解决方案,在这里期待帮助。提前谢谢。

参考:Using Reference Boards

2 个答案:

答案 0 :(得分:0)

您是否建立了正确的构建环境?

请参阅Establishing a Build Environment

答案 1 :(得分:0)

您可以尝试直接构建libquipper

. ./build/envsetup.sh
lunch hikey960-userdebug
cd external/perf_data_converter/src/quipper
mm