Skip to content

Instantly share code, notes, and snippets.

@silent27121984
Created January 5, 2018 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silent27121984/c874aa7b52ee2fa1bd45edda4294672a to your computer and use it in GitHub Desktop.
Save silent27121984/c874aa7b52ee2fa1bd45edda4294672a to your computer and use it in GitHub Desktop.
[ 2% 94/3369] target SharedLib: andro...D/android.hardware.health@1.0-impl.so)
FAILED: /home/silent27-4pda/8/out/target/product/santoni/obj/SHARED_LIBRARIES/android.hardware.health@1.0-impl_intermediates/LINKED/android.hardware.health@1.0-impl.so
/bin/bash -c "/usr/bin/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -nostdlib -Wl,-soname,android.hardware.health@1.0-impl.so -Wl,--gc-sections -shared /home/silent27-4pda/8/out/target/product/santoni/obj/lib/crtbegin_so.o /home/silent27-4pda/8/out/target/product/santoni/obj/SHARED_LIBRARIES/android.hardware.health@1.0-impl_intermediates/Health.o -Wl,--whole-archive -Wl,--no-whole-archive /home/silent27-4pda/8/out/target/product/santoni/obj/STATIC_LIBRARIES/android.hardware.health@1.0-convert_intermediates/android.hardware.health@1.0-convert.a /home/silent27-4pda/8/out/target/product/santoni/obj/STATIC_LIBRARIES/libhealthd.lineage_intermediates/libhealthd.lineage.a /home/silent27-4pda/8/out/target/product/santoni/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a /home/silent27-4pda/8/out/target/product/santoni/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a /home/silent27-4pda/8/out/target/product/santoni/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,-maarch64linux -Wl,--hash-style=gnu -Wl,--fix-cortex-a53-843419 -fuse-ld=gold -Wl,--icf=safe -Wl,--no-undefined-version -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,--no-undefined /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libcutils.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libhidlbase.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libhidltransport.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/liblog.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libutils.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/android.hardware.health@1.0.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libc++.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libdl.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libc.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/libm.so -o /home/silent27-4pda/8/out/target/product/santoni/obj/SHARED_LIBRARIES/android.hardware.health@1.0-impl_intermediates/LINKED/android.hardware.health@1.0-impl.so /home/silent27-4pda/8/out/target/product/santoni/obj/lib/crtend_so.o"
vendor/lineage/charger/healthd_board_lineage.cpp:296: error: undefined reference to 'res_create_multi_display_surface(char const*, int*, int*, GRSurface***)'
vendor/lineage/charger/healthd_board_lineage.cpp:77: error: undefined reference to 'gr_get_width(GRSurface*)'
vendor/lineage/charger/healthd_board_lineage.cpp:78: error: undefined reference to 'gr_get_height(GRSurface*)'
vendor/lineage/charger/healthd_board_lineage.cpp:79: error: undefined reference to 'gr_fb_width()'
vendor/lineage/charger/healthd_board_lineage.cpp:80: error: undefined reference to 'gr_fb_height()'
vendor/lineage/charger/healthd_board_lineage.cpp:82: error: undefined reference to 'gr_blit(GRSurface*, int, int, int, int, int, int)'
vendor/lineage/charger/healthd_board_lineage.cpp:94: error: undefined reference to 'gr_font_size(GRFont const*, int*, int*)'
vendor/lineage/charger/healthd_board_lineage.cpp:95: error: undefined reference to 'gr_measure(GRFont const*, char const*)'
vendor/lineage/charger/healthd_board_lineage.cpp:96: error: undefined reference to 'gr_get_height(GRSurface*)'
vendor/lineage/charger/healthd_board_lineage.cpp:97: error: undefined reference to 'gr_fb_width()'
vendor/lineage/charger/healthd_board_lineage.cpp:98: error: undefined reference to 'gr_fb_height()'
vendor/lineage/charger/healthd_board_lineage.cpp:100: error: undefined reference to 'gr_color(unsigned char, unsigned char, unsigned char, unsigned char)'
vendor/lineage/charger/healthd_board_lineage.cpp:101: error: undefined reference to 'gr_text(GRFont const*, int, int, char const*, bool)'
vendor/lineage/charger/healthd_board_lineage.cpp:410: error: undefined reference to 'gr_init_font(char const*, GRFont**)'
vendor/lineage/charger/healthd_board_lineage.cpp:415: error: undefined reference to 'gr_sys_font()'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment