Error happened when I run make

by liangta...@gmail.com » Thu, 05 Mar 2009 11:39:26 GMT


Sponsored Links
 iangta...@linux-gdr3:~/android> 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/main.mk:180: implicitly installing apns-conf_sdk.xml
build/core/copy_headers.mk:15: €ut/target/product/generic/
obj/include/libpv/getactualaacconfig.h
build/core/copy_headers.mk:15: €ut/target/product/generic/
obj/include/libpv/getactualaacconfig.hhost Java: clearsilver (out/host/common/obj/JAVA_LIBRARIES/
clearsilver_intermediates/classes)
javac: 1.5: javac: 9999999: javac: unrecognized option '-target'
javac: unrecognized option '-Xmaxerrs'
external/clearsilver/java-jni/CS.java:9: error: HDF cannot be resolved
to a type
protected HDF globalHDF;
^^^
external/clearsilver/java-jni/CS.java:10: error: HDF cannot be
resolved to a type
protected HDF localHDF;
^^^
external/clearsilver/java-jni/CS.java:13: error: JNI cannot be
resolved
JNI.loadLibrary();
^^^
external/clearsilver/java-jni/CS.java:16: error: HDF cannot be
resolved to a type
public CS(HDF ho) {
^^^
external/clearsilver/java-jni/CS.java:17: error: globalHDF cannot be
resolved or is not a field
this.globalHDF = null;
^^^^^^^^^
external/clearsilver/java-jni/CS.java:18: error: localHDF cannot be
resolved or is not a field
this.localHDF = ho;
^^^^^^^^
external/clearsilver/java-jni/CS.java:23: error: HDF cannot be
resolved to a type
public CS(HDF ho, HDF global) {
^^^
external/clearsilver/java-jni/CS.java:23: error: HDF cannot be
resolved to a type
public CS(HDF ho, HDF global) {
^^^
external/clearsilver/java-jni/CS.java:26: error: globalHDF cannot be
resolved or is not a field
this.globalHDF = global;
^^^^^^^^^
external/clearsilver/java-jni/CS.java:33: error: HDF cannot be
resolved to a type
public void setGlobalHDF(HDF global) {
^^^
external/clearsilver/java-jni/CS.java:35: error: globalHDF cannot be
resolved or is not a field
this.globalHDF = global;
^^^^^^^^^
external/clearsilver/java-jni/CS.java:39: error: HDF cannot be
resolved to a type
public HDF getGlobalHDF() {
^^^
external/clearsilver/java-jni/CS.java:40: error: globalHDF cannot be
resolved or is not a field
return this.globalHDF;
^^^^^^^^^
external/clearsilver/java-jni/CS.java:58: error: fileLoader cannot be
resolved
_parseFile(csptr, filename, fileLoader != null);
^^^^^^^^^^
external/clearsilver/java-jni/CS.java:81: error: CSFileLoader cannot
be resolved to a type
CSFileLoader aFileLoader = fileLoader;
^^^^^^^^^^^^
external/clearsilver/java-jni/CS.java:81: error: fileLoader cannot be
resolved
CSFileLoader aFileLoader = fileLoader;
^^^^^^^^^^
external/clearsilver/java-jni/CS.java:85: error: localHDF cannot be
resolved
String result = aFileLoader.load(localHDF, filename);
^^^^^^^^
external/clearsil



Error happened when I run make

by David Turner » Thu, 05 Mar 2009 12:57:43 GMT


 avac: unrecognized option '-target'
javac: unrecognized option '-Xmaxerrs'

seem to indicate a problem with your JavaC compiler. Are you sure you're
using the JDK listed in the requirements.
Do you have CDPATH defined in your environment. I believe it sometimes
creates problems during the build process.

What is your exact Linux distribution ? 32/64 bit ?

2009/3/5 liangta...@gmail.com <liangta...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Error happened when I run make

by liangta...@gmail.com » Thu, 05 Mar 2009 23:38:46 GMT


 avid,
My OS is openSUSE 11,32bit. The Javac's version is 4.3. CDPATH is not
defined in my environment.
Can you give me more information?
Thank you!!!

On 3 87 David Turner <di...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Error happened when I run make

by David Turner » Fri, 06 Mar 2009 10:37:40 GMT


 his is strange because -target should be recognized by javac, see
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javac.html#options

Which exact version of the JDK are you using ? As far as I understand only
Sun's JDK 1.5 is really supported

On Fri, Mar 6, 2009 at 12:38 AM, liangta...@gmail.com
<liangta...@gmail.com>wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Error happened when I run make

by liangta...@gmail.com » Fri, 06 Mar 2009 10:47:01 GMT


 i,
You are right.The javac has a problem.And I have reinstalled JAVA.
Thank you!

On 3 87 David Turner <di...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Abridged summary of android-developers@googlegroups.com - 100 Messages in 66 Topics

Building the google CalendarAPI sample code causing error for this line:

*import com.google.android.gdata.client.AndroidXmlParserFactory;*

Error: "*The import com.google cannot be solved"*

I know I need to install the google data library to my android-sdk-window
directory, but I don;t know where to get the .jav code.

Jingyu Li

-- 

2. Code example on possibilities of android . permission . STATUS_BAR?

Hi,

The following page seems to imply that it's possible to hide icons on
the status bar, but I can't seem to find information or examples that
show which icons you can disable, and what is meant by opening or
closing the status bar.

http://developer.android.com/reference/android/Manifest.permission.html#STATUS_BAR:
"Allows an application to open, close, or disable the status bar and
its icons.".

I'm looking for code examples to use this permission.

I hope somebody would be able to enlighten me by providing some
answers or pointers on where to look.

Thanks in advance,

a2ronus

-- 

3. Rebuilding just a single external project (wpa_supplicant) - toolchain problems

4. Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

5. Expanding the status bar from an app (android . permission . EXPAND_STATUS_BAR?)

6. Confused about activity lifecycle usage in the notepad example

7. trusted computing