Hi, GCC 4.4 is more strict than GCC 4.3 In my case I had to add several "include" to compile, the android forum there are several references to it.
Good Luck! Lucas On 23 nov, 09:45, tommy tommy <hongjiuj...@gmail.com> wrote: > hi,emailist! > > PC:ubuntu 9.10 > flex --version flex 2.5.35 > r...@tommy-desktop:/home/tommy/android_cupcake# make > build/core/product_config.mk:211: WARNING: adding test OTA key > ============================================ > TARGET_PRODUCT=generic > TARGET_BUILD_VARIANT=eng > TARGET_SIMULATOR= > TARGET_BUILD_TYPE=release > TARGET_ARCH=arm > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID= > ============================================ > build/core/copy_headers.mk:15: warning: overriding commands for target > `out/target/product/generic/obj/include/libpv/getactualaacconfig.h' > build/core/copy_headers.mk:15: warning: ignoring old commands for target > `out/target/product/generic/obj/include/libpv/getactualaacconfig.h' > host C++: aidl <= > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp > frameworks/base/tools/aidl/aidl_language_l.l: In function ‘int yylex()’: > frameworks/base/tools/aidl/aidl_language_l.l:58: error: ‘IMPORT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:59: error: ‘IMPORT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:63: error: ‘PACKAGE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:64: error: ‘PACKAGE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:91: error: ‘IDENTIFIER’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:91: error: ‘IDENTIFIER’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:93: error: ‘GENERIC’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:93: error: ‘GENERIC’ was not > declared in this scope > frameworks/base/tools/aidl/aidl_language_l.l:98: error: ‘IDENTIFIER’ was not > declared in this scope > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp: > In function ‘int yy_get_next_buffer()’: > out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp:1301: > warning: comparison between signed and unsigned integer expressions > > Some software requirement or some Environmental varible missing? > > Thanks > > Tommy -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting