lbule / android_device_Gree_G0215D

2 stars 5 forks source link

brunch G0215D出错 #1

Open wszgrcy opened 6 years ago

wszgrcy commented 6 years ago

20170813 先make j8 然后可能会报错(大佬编译正常而我同样编译出错)这时候make j1,还会报错。但是下面几个文件夹里出现了libcryptfs_hw.so文件 1/home/chen/lineage/out/target/product/G0215D/obj/lib 2/home/chen/lineage/out/target/product/G0215D/system/lib64 3/home/chen/lineage/out/target/product/G0215D/symbols/system/lib64 4/home/chen/lineage/out/target/product/G0215D/system/vendor/lib64 5/home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/LINKED 6/home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/PACKED 将2的so文件扔进4中 然后在make -j8就可以了 Notice file: bootable/recovery-twrp/crypto/scrypt/NOTICE -- /home/chen/lineage/out/target/product/G0215D/obj/NOTICE_FILES/src//system/lib64/libscrypttwrp_static.a.txt Notice file: bootable/recovery-twrp/crypto/scrypt/NOTICE -- /home/chen/lineage/out/target/product/G0215D/obj/NOTICE_FILES/src//system/lib/libscrypttwrp_static.a.txt Notice file: hardware/libhardware/NOTICE -- /home/chen/lineage/out/target/product/G0215D/obj/NOTICE_FILES/src//system/lib64/libhardware.so.txt Install: /home/chen/lineage/out/target/product/G0215D/system/lib64/libhardware.so Install: /home/chen/lineage/out/target/product/G0215D/system/lib64/libcryptfs_hw.so Install: /home/chen/lineage/out/target/product/G0215D/system/lib64/libcryptfslollipop.so Import includes file: /home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libgpt_twrp_intermediates/import_includes target C: libgpt_twrp <= bootable/recovery-twrp/gpt/gpt.c bootable/recovery-twrp/gpt/gpt.c: In function 'compare_gpts': bootable/recovery-twrp/gpt/gpt.c:420:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] le64_to_cpu(agpt->alternate_lba)); ^ bootable/recovery-twrp/gpt/gpt.c:420:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] bootable/recovery-twrp/gpt/gpt.c:428:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] __le64_to_cpu(agpt->my_lba)); ^ bootable/recovery-twrp/gpt/gpt.c:428:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] bootable/recovery-twrp/gpt/gpt.c:436:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] le64_to_cpu(agpt->first_usable_lba)); ^ bootable/recovery-twrp/gpt/gpt.c:436:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] bootable/recovery-twrp/gpt/gpt.c:444:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] le64_to_cpu(agpt->last_usable_lba)); ^ bootable/recovery-twrp/gpt/gpt.c:444:24: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] bootable/recovery-twrp/gpt/gpt.c:481:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] le64_to_cpu(pgpt->alternate_lba), lastlba); ^ bootable/recovery-twrp/gpt/gpt.c:489:10: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] __le64_to_cpu(agpt->my_lba), lastlba); ^ target C: libgpt_twrp <= bootable/recovery-twrp/gpt/gptcrc32.c target SharedLib: libgpt_twrp (/home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libgpt_twrp_intermediates/LINKED/libgpt_twrp.so) target Pack Relocations: libgpt_twrp (/home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libgpt_twrp_intermediates/PACKED/libgpt_twrp.so) INFO: Compaction : 0 bytes INFO: Too few relocations to pack after alignment target Symbolic: libgpt_twrp (/home/chen/lineage/out/target/product/G0215D/symbols/system/lib64/libgpt_twrp.so) Export includes file: bootable/recovery-twrp/gpt/Android.mk -- /home/chen/lineage/out/target/product/G0215D/obj/SHARED_LIBRARIES/libgpt_twrp_intermediates/export_includes target Strip: libgpt_twrp (/home/chen/lineage/out/target/product/G0215D/obj/lib/libgpt_twrp.so) Install: /home/chen/lineage/out/target/product/G0215D/system/lib64/libgpt_twrp.so make: *** No rule to make target '/home/chen/lineage/out/target/product/G0215D/system/vendor/lib64/libcryptfs_hw.so', needed by '/home/chen/lineage/out/target/product/G0215D/obj_arm/SHARED_LIBRARIES/libbmlutils_intermediates/teamwin'。 停止。

make failed to build some targets (14:47 (mm:ss))

sxxov commented 3 years ago

有点迟,但如果还有人想要解决这个问题能试一试:

  1. source build/envsetup.sh&&lunch lineage_G0215D-eng&&make recoveryimage -j8 -k
  2. cp -r out/target/product/G0215D/system/lib64/ out/target/product/G0215D/system/vendor/
  3. source build/envsetup.sh&&lunch lineage_G0215D-eng&&make recoveryimage -j8
wszgrcy commented 3 years ago

有点迟,但如果还有人想要解决这个问题能试一试:

  1. source build/envsetup.sh&&lunch lineage_G0215D-eng&&make recoveryimage -j8 -k
  2. cp -r out/target/product/G0215D/system/lib64/ out/target/product/G0215D/system/vendor/
  3. source build/envsetup.sh&&lunch lineage_G0215D-eng&&make recoveryimage -j8

手机已经进养老院了.........