android를 빌드하고 에뮬레이터에서 실행하도록 환경을 설정하려고합니다. 나는 최근에 AOSP에 들어갔고 현재 몇 권의 책을 읽었습니다. 그것으로 주위를 혼란에 자신을 원하는 나는 다음과 같은 오류 있어요 : 이러한 오류의 총 열두에서-make를 사용하여 AOSP를 빌드 할 때 발생하는 오류
external/libcxx/include/cmath:1345:9: error: no member named 'llrint' in the global namespace; did you mean 'lrint'?
external/libcxx/include/cmath:1348:91: error: use of undeclared identifier 'llrintf'
external/libcxx/include/cmath:1349:91: error: use of undeclared identifier 'llrintl'
external/libcxx/include/cmath:1358:9: error: no member named 'llround' in the global namespace; did you mean 'lround'?
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/hash.o] Error 1
make: *** Waiting for unfinished jobs....
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/debug.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/random.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 1
, 텍스트 사이를하지만 나는 그들이 매우 같은 모든 때문에 그것들을 복사하지 않았습니다. (모두 "오류가 발생했습니다 : {single L} [SometHING])
이 결과는 1 : source build/envsetup 결과입니다. sh 2 : 점심 3 : sudo make -j4
나는 엘 캐피 탄을 사용 중이며 the official instructions을 따라 갔다. 내가 만난 유일한 문제는 XCode가 적절한 SDK가있는/developer/SDKs 폴더를 만들지 않아서 Github에서 SDK를 수동으로 다운로드하여 SDK 폴더에 넣었습니다 (내가 만든 것). 이것이 문제 일 수 있습니까?
빌드하려고하는 코드는 수정되지 않은 android 6.0.1_r1입니다. repo-init 및 repo sync를 다시 실행 해 보았지만 (코드를 수정하기 위해) 효과가 없었습니다.
나는 그것이 꽤 스트레칭 인 것을 알지만, 이것을 고치는 방법을 전혀 모른다. 미리 감사드립니다.