****************************************************** error: VNDK library: liblog's ABI…
- User
error: VNDK library: liblog's ABI has EXTENDING CHANGES Please check compatibility report at: out/soong/.intermediates/system/core/liblog/liblog/android_ramdisk_arm64_armv8-a_cortex-a55_shared/liblog.so.abidiff
error: Please update ABI references with: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py --llndk -l liblog
- Assistant
This error message indicates that there are compatibility issues with the VNDK library (liblog) due to changes that extend its Application Binary Interface (ABI). The recommended solution is to check the compatibility report located in the specified directory, and update the ABI references using the create_reference_dumps.py tool provided in the Android development directory.
To resolve this issue, follow these steps:
- Open a terminal window and navigate to the Android development top directory:
cd $ANDROID_BUILD_TOP/- Run the create_reference_dumps.py tool with the --llndk and -l options followed by the name of the VNDK library that has the ABI extending changes:
development/vndk/tools/header-checker/utils/create_reference_dumps.py --llndk -l liblog-
Review the output of the tool to ensure that there are no errors or warnings, and that the reference dumps are created successfully.
-
Rebuild the affected module to ensure that it uses the updated ABI references:
- User
hardware/rockchip/libgralloc/bifrost frameworks/native/include system/core/libsync system/core/libsync/include external/libdrm/include/drm] 30 error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: "libvirglrenderer_cuttlefish" depends on undefined module "cuttlefish_host_only" 18:09:17 soong bootstrap failed with: exit status 1
- Assistant
This error message indicates that the Soong build system failed to bootstrap due to a missing module dependency in the Android build tree. Specifically, the module "libvirglrenderer_cuttlefish" depends on an undefined module "cuttlefish_host_only", which causes the build to fail with an exit status of 1.
To resolve this issue, you can try the following steps:
- Navigate to the directory that contains the Android.bp file for the module that is causing the error:
cd device/generic/opengl-transport/host/libs/virglrenderer/- Open the Android.bp file in a text editor and locate the line that declares the "libvirglrenderer_cuttlefish" module:
cc_library_shared { name: "libvirglrenderer_cuttlefish", ... shared_libs: [ "libEGL", "libGLESv2", "liblog", "libsync", ], ... }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.