public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dragzhb at yahoo dot com dot cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/32091]  New: Can't build gcj in mingw32 in window XP (gcc-4.2.0)
Date: Sat, 26 May 2007 07:08:00 -0000	[thread overview]
Message-ID: <bug-32091-5896@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2007-05-26  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26  7:08 dragzhb at yahoo dot com dot cn [this message]
2007-05-26  7:09 ` [Bug java/32091] " dragzhb at yahoo dot com dot cn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-32091-5896@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).