它在我构建Android源时显示了对clock_gettime的'未定义引用'

时间:2015-11-07 11:08:11

标签: android ubuntu build

out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/utils.o: 
Infunction `art::InitTimeSpec(bool, int, long long, int, timespec*)':
/tmp/android-src/art/runtime/utils.cc:190: undefined reference to 
`clock_gettime'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libart.so] Error 1
make: *** Waiting for unfinished jobs....

我使用的是ubuntu 12.04和android 4.4.2。

如何解决?

0 个答案:

没有答案