可执行文件的Android.mk文件:accRuntimeTest

时间:2009-12-21 21:41:06

标签: android

您能否告诉我在哪里可以找到Executable的Android.mk文件:accRuntimeTest?

当我在ubuntu 9.10上编译android源码时出现以下错误。我认为它错过了一个链接标志来链接一个库'dlsym',我只是不知道Android.mk文件应该去哪里修复它?

Install: out/target/product/generic/system/usr/keychars/qwerty.kcm.bin
Install: out/target/product/generic/system/usr/keychars/qwerty2.kcm.bin
Install: out/target/product/generic/system/usr/keychars/tuttle2.kcm.bin
Copy: out/target/product/generic/system/etc/apns-conf.xml
host Executable: accRuntimeTest (out/host/linux-x86/obj/EXECUTABLES/accRuntimeTest_intermediates/accRuntimeTest)
host Executable: acc (out/host/linux-x86/obj/EXECUTABLES/acc_intermediates/acc)
/usr/bin/ld: out/host/linux-x86/obj/EXECUTABLES/accRuntimeTest_intermediates/runtimeTest.o: in function symbolLookup(void*, char const*):system/core/libacc/tests/runtimeTest.cpp:66: error: undefined reference to 'dlsym'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/accRuntimeTest_intermediates/accRuntimeTest] Error 1
make: *** Waiting for unfinished jobs....

1 个答案:

答案 0 :(得分:0)

Android.mk是Android自己的Makefile,你的错误似乎是由于编译器的依赖。 尝试在PC中以文本模式编译源代码。