goodev / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
1 stars 0 forks source link

Building error after patching sources with smartcard-api patches #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem?
I can't build android source on emulator applying smartcard API patches. After 
patching source folder successfully I can't build android on the emulator.

What steps will reproduce the problem?
1. Applying patches (smartcard-api.patch, uicc.patch, emulator.patch)
2. Start building with command line "make -j4"
3. At some point the build process stops

What version of the product are you using? On what operating system?
I downloaded android-4.3_r2.1 version on Fedora 20 system (I had the same 
problem on Ubuntu 12.04 LTS)

Please provide any additional information below.

Console window after error:

host C++: libdvm <= dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp: In static member function 
'static char* EncoderBase::encode(char*, Mnemonic, const 
EncoderBase::Operands&)':
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp:361:62: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp:364:62: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp:368:50: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_imm(Mnemonic, OpndSize, int, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:163:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_update_imm(int, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:184:14: warning: unused 
variable 'numBytes' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_mem(Mnemonic, OpndSize, int, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:199:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_reg(Mnemonic, OpndSize, int, bool, LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:215:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_reg_reg(Mnemonic, OpndSize, int, bool, int, bool, LowOpndRegType, 
char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:234:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_mem_reg(Mnemonic, OpndSize, int, int, bool, int, bool, LowOpndRegType, 
char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:248:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_mem_scale_reg(Mnemonic, OpndSize, int, bool, int, bool, int, int, bool, 
LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:262:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_reg_mem_scale(Mnemonic, OpndSize, int, bool, int, bool, int, bool, int, 
LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:277:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_mem_disp_scale_reg(Mnemonic, OpndSize, int, bool, int, int, bool, int, 
int, bool, LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:291:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_movzs_mem_disp_scale_reg(Mnemonic, OpndSize, int, bool, int, int, bool, 
int, int, bool, LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:305:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_reg_mem_disp_scale(Mnemonic, OpndSize, int, bool, int, bool, int, int, 
bool, int, LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:321:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_reg_mem(Mnemonic, OpndSize, int, bool, int, int, bool, LowOpndRegType, 
char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:336:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_imm_reg(Mnemonic, OpndSize, int, int, bool, LowOpndRegType, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:354:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_update_imm_rm(int, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:364:14: warning: unused 
variable 'numBytes' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_imm_mem(Mnemonic, OpndSize, int, int, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:384:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_fp_mem(Mnemonic, OpndSize, int, int, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:398:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_mem_fp(Mnemonic, OpndSize, int, int, bool, int, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:413:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_return(char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:424:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_compare_fp_stack(bool, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:439:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_movez_mem_to_reg(OpndSize, int, int, bool, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:453:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_moves_mem_to_reg(OpndSize, int, int, bool, int, bool, char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:467:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_movez_reg_to_reg(OpndSize, int, bool, int, bool, LowOpndRegType, 
char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:481:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp: In function 'char* 
encoder_moves_reg_to_reg(OpndSize, int, bool, int, bool, LowOpndRegType, 
char*)':
dalvik/vm/compiler/codegen/x86/libenc/enc_wrapper.cpp:495:11: warning: unused 
variable 'stream_start' [-Wunused-variable]
host C++: libdvm <= dalvik/vm/compiler/codegen/x86/libenc/enc_tabl.cpp
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp: At global scope:
dalvik/vm/compiler/codegen/x86/libenc/enc_base.cpp:681:13: warning: 'bool 
match(const EncoderBase::OpcodeDesc&, const EncoderBase::Operands&)' defined 
but not used [-Wunused-function]
dalvik/vm/compiler/codegen/x86/libenc/enc_tabl.cpp:316:1: warning: multi-line 
comment [-Wcomment]
host SharedLib: libcrypto (out/host/linux-x86/obj/lib/libcrypto.so)
host SharedLib: libicuuc (out/host/linux-x86/obj/lib/libicuuc.so)
dalvik/vm/compiler/codegen/x86/libenc/enc_tabl.cpp:1731:1: warning: missing 
initializer for member 'OpcodeInfo::roles' [-Wmissing-field-initializers]
dalvik/vm/compiler/codegen/x86/libenc/enc_tabl.cpp:1739:13: warning: 'bool 
mnemonic_info_comparator(const MnemonicInfo&, const MnemonicInfo&)' defined but 
not used [-Wunused-function]
host StaticLib: libdex 
(out/host/linux-x86/obj/STATIC_LIBRARIES/libdex_intermediates/libdex.a)
host StaticLib: libz 
(out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
Copy: dexdeps (out/host/linux-x86/obj/EXECUTABLES/dexdeps_intermediates/dexdeps)
host Executable: dmtracedump 
(out/host/linux-x86/obj/EXECUTABLES/dmtracedump_intermediates/dmtracedump)
Copy: dx (out/host/linux-x86/obj/EXECUTABLES/dx_intermediates/dx)
host C: emulator <= external/qemu/android/main-emulator.c
host StaticLib: emulator-common 
(out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/emulator-
common.a)
host C: emulator-arm <= external/qemu/audio/audio.c
cc1: error: to generate dependencies you must specify either -M or -MM
make: *** 
[out/host/linux-x86/obj/EXECUTABLES/emulator-arm_intermediates/audio/audio.o] 
Error 1
make: *** Waiting for unfinished jobs....

If someone can help me I would appreciate it.

Original issue reported on code.google.com by joaojose...@gmail.com on 24 Mar 2014 at 2:43