当前位置:编程学习 > wap >>

android compile error

target StaticExecutable: init (/host/cm/out/target/product/mione_plus/obj/EXECUTABLES/init_intermediates/LINKED/init)
target Symbolic: su (/host/cm/out/target/product/mione_plus/symbols/system/xbin/su)
target Symbolic: adbd (/host/cm/out/target/product/mione_plus/symbols/sbin/adbd)
target StaticExecutable: su.recovery (/host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/LINKED/su.recovery)
target StaticExecutable: recovery_e2fsck (/host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/recovery_e2fsck_intermediates/LINKED/e2fsck)
target StaticExecutable: recovery_mke2fs (/host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/recovery_mke2fs_intermediates/LINKED/mke2fs)
/host/cm/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/../../../external/koush/Superuser/Superuser/jni/su/su.o: in function main:bootable/recovery/su/../../../external/koush/Superuser/Superuser/jni/su/su.c:625: error: undefined reference to 'run_daemon'
/host/cm/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/../../../external/koush/Superuser/Superuser/jni/su/su.o: in function main:bootable/recovery/su/../../../external/koush/Superuser/Superuser/jni/su/su.c:633: error: undefined reference to 'connect_daemon'
/host/cm/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/../../../external/koush/Superuser/Superuser/jni/su/su.o: in function main:bootable/recovery/su/../../../external/koush/Superuser/Superuser/jni/su/su.c:341: error: undefined reference to 'is_daemon'
/host/cm/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/../../../external/koush/Superuser/Superuser/jni/su/su.o: in function main:bootable/recovery/su/../../../external/koush/Superuser/Superuser/jni/su/su.c:341: error: undefined reference to 'daemon_from_uid'
/host/cm/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/../../../external/koush/Superuser/Superuser/jni/su/su.o: in function main:bootable/recovery/su/../../../external/koush/Superuser/Superuser/jni/su/su.c:341: error: undefined reference to 'daemon_from_pid'
collect2: ld returned 1 exit status
make: *** [/host/cm/out/target/product/mione_plus/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/LINKED/su.recovery] Error 1
make: *** Waiting for unfinished jobs....
how to solve this error?   thanks android compile --------------------编程问答-------------------- (cd speex-git && patch -fp1) < ../../contrib/src/speex/no-ogg.patch
patching file configure.ac
Hunk #1 succeeded at 109 with fuzz 1 (offset -3 lines).
patching file libspeex/Makefile.am
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file libspeex/Makefile.am.rej
patching file src/Makefile.am
Hunk #1 FAILED at 11.
Hunk #2 FAILED at 24.
2 out of 2 hunks FAILED -- saving rejects to file src/Makefile.am.rej
make: *** [speex] Error 1
--------------------编程问答-------------------- 请贴代码。那么多未定义,缺包还是咋的?
补充:移动开发 ,  Android
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,