Errors when building Email regarding aidl_language_l

59 views
Skip to first unread message

Michael Nardi

unread,
Jan 8, 2015, 1:45:47 PM1/8/15
to android-...@googlegroups.com
I was building the Email app with make Email -j16, and I got a bunch of errors:

out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1255:0: error: unterminated #ifdef
logtags: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/EventLogTags.java <= frameworks/base/core/java/android/content/EventLogTags.logtags
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp: In function 'int yyparse()':
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: error: expected '}' at end of input
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: error: expected '}' at end of input
out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1253:41: warning: no return statement in function returning non-void [-Wreturn-type]
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/tools/aidl/aidl_language_l.l: In function 'int yylex()':
frameworks/base/tools/aidl/aidl_language_l.l:59:49: error: 'IMPORT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:60:56: error: 'IMPORT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:64:49: error: 'PACKAGE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:65:56: error: 'PACKAGE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84:3: error: 'PARCELABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84:34: error: 'PARCELABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85:3: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85:33: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86:3: error: 'FLATTENABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86:35: error: 'FLATTENABLE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87:3: error: 'INTERFACE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87:33: error: 'RPC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:88:3: error: 'IN' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:88:26: error: 'IN' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89:3: error: 'OUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89:27: error: 'OUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:90:3: error: 'INOUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:90:29: error: 'INOUT' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91:3: error: 'ONEWAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91:30: error: 'ONEWAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93:3: error: 'ARRAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93:29: error: 'ARRAY' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:94:3: error: 'IDVALUE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:94:31: error: 'IDVALUE' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:95:3: error: 'IDENTIFIER' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:95:34: error: 'IDENTIFIER' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:97:55: error: 'GENERIC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:97:83: error: 'GENERIC' was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:102:41: error: 'IDENTIFIER' was not declared in this scope
make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_l.o] Error 1

I don't understand these errors. How can I fix them? I found a previous thread (https://groups.google.com/forum/#!ms...c/gSnV4C9QFekJ) but it didn't seem to fix anything.
Reply all
Reply to author
Forward
0 new messages