I am building AOSP(Android Open Source Project) on MAC from doc and everything works fine although there is some problem which I can google to solve.
When I execute make
, I got an error:
Yacc: aidl <= frameworks/base/tools/aidl/aidl_language_y.y
prebuilts/misc/darwin-x86/bison/bison -d -o out/host/darwin-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp frameworks/base/tools/aidl/aidl_language_y.y
make: *** [out/host/darwin-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Illegal instruction: 4
I have googled too much and I tried to install bison
but it does not work for me.
Environment:
Mac SDK : 10.11 Mac OS : 10.13 Android : 6.0.1 JDK : 1.7 XCode : 8.3 make : 3.81
Can anyone help me ? Thanks in advance.
UPDATE
I also tried to downgrade XCode
to 7.3.1 but it does not still work.
UPDATE for compatibility
file prebuilts/misc/darwin-x86/bison/bison
output : prebuilts/misc/darwin-x86/bison/bison: Mach-O executable i386
uname -a
output: root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64
0 comments:
Post a Comment