OSDN Git Service

Link against android.hardware.graphics.composer@2.1-resources r-x86
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 10 Apr 2021 19:07:51 +0000 (21:07 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 10 Apr 2021 19:07:51 +0000 (21:07 +0200)
commit1897fd6a4cc4c020b4ce7ab6e38042fea3cb9a62
tree519e77845da648f39aa3782c314d8c71964a7085
parent1eac35e3d5690ce19ea5734aeebb18d937c9a0a1
Link against android.hardware.graphics.composer@2.1-resources

Fixes the following building errors:

FAILED: out/target/product/x86_64/obj/EXECUTABLES/android.hardware.graphics.composer@2.1-service.drmfb_intermediates/LINKED/and
roid.hardware.graphics.composer@2.1-service.drmfb
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addVirtualDisplay(unsigne
d long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeDisplay(unsigned lo
ng)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addLayer(unsigned long, u
nsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeLayer(unsigned long
, unsigned long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayClientTargetCac
heSize(unsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::create()
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::clear(std::__1::function<
void (unsigned long, bool, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&)>)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addPhysicalDisplay(unsign
ed long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayMustValidateSta
te(unsigned long, bool)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayClientTarget(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeBuffer(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeStream(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayOutputBuffer(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerBuffer(unsigned l
ong, unsigned long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_
1::hal::ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerSidebandStream(un
signed long, unsigned long, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal::Comp
oserResources::ReplacedHandle*)
...
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
Android.mk