From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32735 invoked by alias); 26 May 2007 07:07:56 -0000 Received: (qmail 32582 invoked by uid 48); 26 May 2007 07:07:54 -0000 Date: Sat, 26 May 2007 07:07:00 -0000 Subject: [Bug java/32091] New: Can't build gcj in mingw32 in window XP (gcc-4.2.0) X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "dragzhb at yahoo dot com dot cn" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q2/txt/msg00132.txt.bz2 HI all: I can't build gcj in mingw32 in window XP (gcc-4.2.0), this is error out : mkdir -p classes/gnu/classpath/tools/jarsigner mkdir -p classes/gnu/classpath/tools/keytool cp ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/rmi/rmic/templates/*.jav classes/gnu/classpath/too ls/rmi/rmic/templates cp ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/giop/grmic/templates/*.jav classes/gnu/classpath/t ools/giop/grmic/templates cp ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/rmi/*.txt classes/gnu/classpath/tools/rmi/ cp ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/giop/*.txt classes/gnu/classpath/tools/giop/ /d/cdev/mingw_build/gcc_build/gcc/gcj -B/d/cdev/mingw_build/gcc_build/mingw32/libjava/ -B/d/cdev/mingw_build/gcc_build/gcc/ - encoding UTF-8 --bootclasspath '../lib':'../lib/glibj.zip' --classpath . -C -d classes ../../../../../../gcc-4.2.0/libjava/cl asspath/tools/gnu/classpath/tools/*.java ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/*/*.java ../ ../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/*/*/*.java ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:0: error: Can't find def ault package 'java.lang'. Check the CLASSPATH environment variable and the access to the archives ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:43: error: Class or interface 'java. io.InputStreamReader' not found in import. import java.io.InputStreamReader; ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:61: error: Type 'String' not found i n the declaration of the argument 'args' of method 'checkHelpKey'. public static void checkHelpKey(String[] args, String helpResourcePath) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:61: error: Type 'String' not found i n the declaration of the argument 'helpResourcePath' of method 'checkHelpKey'. public static void checkHelpKey(String[] args, String helpResourcePath) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:65: error: Type 'String' not found i n the declaration of the local variable 'a'. String a = args[i]; ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:78: error: Type 'String' not found i n the declaration of the argument 'helpResourcePath' of method 'printHelp'. public static void printHelp(String helpResourcePath) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80: error: Class 'java.lang.NoClassD efFoundError' not found in 'throws'. InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath); ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80: error: Type 'java.lang.ClassNotF oundException' not found in the declaration of the local variable 'write_parm_value$'. InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath); ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80: error: Type 'InputStream' not fo und in the declaration of the local variable 'in'. InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath); ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:81: error: Type 'BufferedReader' not found in the declaration of the local variable 'br'. BufferedReader br = new BufferedReader(new InputStreamReader(in)); ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:84: error: Type 'String' not found i n the declaration of the local variable 's'. String s; ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:88: error: Type 'IOException' not fo und in the declaration of the local variable 'x'. catch (IOException x) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:99: error: Type 'IOException' not fo und in the declaration of the local variable 'ignored'. catch (IOException ignored) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:111: error: Type 'String' not found in the declaration of the argument 'helpResourcePath' of method 'printHelpAndExit'. public static void printHelpAndExit(String helpResourcePath) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:42: error: Class or interface 'java.util.ArrayList' not found in import. import java.util.ArrayList; ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:44: error: Superc lass 'URLClassLoader' of class 'gnu.classpath.tools.appletviewer.AppletClassLoader' not found. public class AppletClassLoader extends URLClassLoader ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:52: error: Type ' URL' not found in the declaration of the argument 'codebase' of method ''. public AppletClassLoader(URL codebase, ArrayList archives) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:52: error: Type ' ArrayList' not found in the declaration of the argument 'archives' of method ''. public AppletClassLoader(URL codebase, ArrayList archives) ^ ../../../../../../gcc-4.2.0/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:77: error: Type ' String' not found in the declaration of the argument 'name' of method 'findClass'. protected Class findClass(String name) throws ClassNotFoundException ^ -- Summary: Can't build gcj in mingw32 in window XP (gcc-4.2.0) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dragzhb at yahoo dot com dot cn GCC build triplet: Configured with: ../../gcc-4.2.0/configure --with-gcc -- with-gnu GCC host triplet: mingw32 GCC target triplet: mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32091