| 
 | 
TQ-ZQL 发表于 2012-11-22 09:09   
你用是不是ubuntu11.10,那个脚本(ubuntu_env_install.sh)有没有执行过?脚本有没有报错?  
是desktop 64位 11.10   而且环境搭建一切跟手册上说的一样 
我看手册上给的11.10 dvd 的版本,可是下来却是32位的,于是我自己找了一个dvd 64位的 
我不懂他们之间是不是有什么影响 
换完之后,环境搭建跟手册一样, 
可是编译很时间后,又是报错,不过跟以上不同 
下面是打的信息 
Note: Recompile with -Xlint:unchecked for details. 
external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/SortedMapTestBase.java:361: warning: non-varargs call of varargs method with inexact argument type for last parameter; 
cast to java.lang.Class<?> for a varargs call 
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning 
        Method refClone = ref.getClass().getMethod("clone", null); 
                                                            ^ 
external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/SortedMapTestBase.java:362: warning: non-varargs call of varargs method with inexact argument type for last parameter; 
cast to java.lang.Class<?> for a varargs call 
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning 
        Method mapClone = map.getClass().getMethod("clone", null); 
                                                            ^ 
external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/SortedMapTestBase.java:363: warning: non-varargs call of varargs method with inexact argument type for last parameter; 
cast to java.lang.Object for a varargs call 
cast to java.lang.Object[] for a non-varargs call and to suppress this warning 
        SortedMap<Integer, Integer> map2 = (SortedMap<Integer, Integer>) mapClone.invoke(map, null); 
                                                                                              ^ 
external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/SortedMapTestBase.java:364: warning: non-varargs call of varargs method with inexact argument type for last parameter; 
cast to java.lang.Object for a varargs call 
cast to java.lang.Object[] for a non-varargs call and to suppress this warning 
        assertEquals(refClone.invoke(ref, null), map2); 
                                          ^ 
external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/MessageFormatTest.java:768: warning: non-varargs call of varargs method with inexact argument type for last parameter; 
cast to java.lang.Object for a varargs call 
cast to java.lang.Object[] for a non-varargs call and to suppress this warning 
        assertEquals("nullABC", MessageFormat.format("{0}{1}", new String[]{null, "ABC"})); 
                                                               ^ 
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. 
5 warnings 
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. 
/bin/bash: mkimage: command not found 
make: *** [out/target/product/tq210/ramdisk.img] Error 127 
make: *** Deleting file `out/target/product/tq210/ramdisk.img' 
make: *** Waiting for unfinished jobs.... 
 |   
 
 
 
 |