Hi,

I am trying build android source code 2.2. I got following error.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/classes)
host SharedLib: libESR_Shared (out/host/linux-x86/obj/lib/
libESR_Shared.so)
host C: libSR_Core <= external/srec/srec/ca/../clib/voc_read.c
host C: libSR_Core <= external/srec/srec/ca/../clib/voicing.c
host C: libSR_Core <= external/srec/srec/ca/../crec/astar.c
external/srec/srec/ca/../crec/astar.c: In function
‘print_partial_paths’:
external/srec/srec/ca/../crec/astar.c:983: warning: format not a
string literal and no format arguments
host C: libSR_Core <= external/srec/srec/ca/../crec/astar_pphash.c
host C: libSR_Core <= external/srec/srec/ca/../crec/c47mulsp.c
host C: libSR_Core <= external/srec/srec/ca/../crec/get_fram.c
host C: libSR_Core <= external/srec/srec/ca/../crec/priority_q.c
host C: libSR_Core <= external/srec/srec/ca/../crec/rec_norm.c
host C: libSR_Core <= external/srec/srec/ca/../crec/srec.c
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_context.c
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_debug.c
external/srec/srec/ca/../crec/srec_debug.c: In function
‘print_fsmnode_token_list’:
external/srec/srec/ca/../crec/srec_debug.c:68: warning: format not a
string literal and no format arguments
external/srec/srec/ca/../crec/srec_debug.c: In function
‘print_fsmarc_token_list’:
external/srec/srec/ca/../crec/srec_debug.c:122: warning: format not a
string literal and no format arguments
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_eosd.c
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_initialize.c
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_results.c
frameworks/base/core/java/android/bluetooth/BluetoothHid.java:76:
cannot find symbol
symbol  : class IBluetoothHid
location: class android.bluetooth.BluetoothHid
    private final IBluetoothHid mService;
                  ^
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_stats.c
frameworks/base/core/java/android/server/BluetoothHidService.java:29:
cannot find symbol
symbol  : class IBluetoothHid
location: package android.bluetooth
import android.bluetooth.IBluetoothHid;
                         ^
frameworks/base/core/java/android/server/BluetoothHidService.java:46:
package IBluetoothHid does not exist
public class BluetoothHidService extends IBluetoothHid.Stub {
                                                      ^
host C: libSR_Core <= external/srec/srec/ca/../crec/srec_tokens.c
host C: libSR_Core <= external/srec/srec/ca/../crec/text_parser.c
host C: libSR_Core <= external/srec/srec/ca/../crec/word_lattice.c
host C: libzipfile <= system/core/libzipfile/centraldir.c
host C: libzipfile <= system/core/libzipfile/zipfile.c
host C: libunz <= external/zlib/adler32.c
host C: libunz <= external/zlib/crc32.c
host C: libunz <= external/zlib/zutil.c
host C: libunz <= external/zlib/inflate.c
host C: libunz <= external/zlib/inftrees.c
host C: libunz <= external/zlib/inffast.c
host C: libSR_AcousticState <= external/srec/srec/AcousticState/src/
AcousticState.c
frameworks/base/core/java/android/bluetooth/BluetoothHid.java:89:
package IBluetoothHid does not exist
            mService = IBluetoothHid.Stub.asInterface(b);
                                    ^
host C: libSR_AcousticState <= external/srec/srec/AcousticState/src/
AcousticStateImpl.c
host C: libSR_G2P <= external/srec/seti/sltsEngine/../setiUtils/src/
platform_utils.c
host C: libSR_G2P <= external/srec/seti/sltsEngine/src/linklist_impl.c
host C: libSR_G2P <= external/srec/seti/sltsEngine/src/run_seq_lts.c
frameworks/base/core/java/android/server/BluetoothHidService.java:156:
cannot find symbol
symbol  : variable super
location: class android.server.BluetoothHidService
            super.finalize();
            ^
frameworks/base/core/java/android/server/BluetoothHidService.java:151:
method does not override a method from its superclass
    @Override
     ^
frameworks/base/core/java/android/server/BluetoothHidService.java:391:
method does not override a method from its superclass
    @Override
     ^
host C: libSR_G2P <= external/srec/seti/sltsEngine/src/SWIslts.c
host C: libSR_Grammar <= external/srec/srec/Grammar/src/SR_Grammar.c
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....







-----------------------------------------------------------------------------------------------------------------------
Can any one help me how I can proceed for successful build.What steps
I should follow to solve the above blocker.

Thanks in advance.

Ashwani

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to