This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/32091] New: Can't build gcj in mingw32 in window XP (gcc-4.2.0)


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
'<init>'.
  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
'<init>'.
  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]