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/34426] New: GCC 4.2.2 compile failed in java due to error in java class


I am trying to compile GCC 4.2.2 on a T2000 running Solaris 10 release "Solaris
10 11/06 s10s_u3wos_10 SPARC"

I compiled GCC 4.2.2 successfully using GCC 4.1.1, no error.

When I try to compile GCC 4.2.2 with a compiled GCC 4.2.2 it result in a series
of error reporting problem with "java.lang", "String not found in the
declaration ...", "Class not found".

The following is a summary of what I get in screen and is striped of about 5000
rows, maybe more !

 *********
 configure
 *********
/opt/local/src/gcc-4.2.2/configure --with-ld=/usr/ccs/bin/ld
--with-as=/usr/ccs/bin/as --prefix=/tmp/usr/local
--with-libiconv-prefix=/usr/local

make bootstrap


/opt/local/src/build-gcc-4.2.2/./gcc/gcj
-B/opt/local/src/build-gcc-4.2.2/./gcc/
-B/tmp/usr/local/sparc-sun-solaris2.10/bin/
-B/tmp/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/tmp/usr/local/sparc-sun-solaris2.10/include -isystem
/tmp/usr/local/sparc-sun-solaris2.10/sys-include  -m64 -encoding UTF-8
--bootclasspath '../lib':'../lib/glibj.zip' --classpath . -C -d classes
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/*.java
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/*/*.java
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/*/*/*.java
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:0:
error: Can't find default package 'java.lang'. Check the CLASSPATH environment
variable and the access to the archives
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:43:
error: Class or interface 'java.io.InputStreamReader' not found in import.
import java.io.InputStreamReader;
          ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:61:
error: Type 'String' not found in the declaration of the argument 'args' of
method 'checkHelpKey'.
  public static void checkHelpKey(String[] args, String helpResourcePath)
                                     ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:61:
error: Type 'String' not found in the declaration of the argument
'helpResourcePath' of method 'checkHelpKey'.
  public static void checkHelpKey(String[] args, String helpResourcePath)
                                                    ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:65:
error: Type 'String' not found in the declaration of the local variable 'a'.
        String a = args[i];
           ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:78:
error: Type 'String' not found in the declaration of the argument
'helpResourcePath' of method 'printHelp'.
  public static void printHelp(String helpResourcePath)
                                  ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80:
error: Class 'java.lang.NoClassDefFoundError' not found in 'throws'.
    InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath);
                                    ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80:
error: Type 'java.lang.ClassNotFoundException' not found in the declaration of
the local variable 'write_parm_value$'.
    InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath);
                                    ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:80:
error: Type 'InputStream' not found in the declaration of the local variable
'in'.
    InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath);
       ^
/opt/local/src/gcc-4.2.2/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));
       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:84:
error: Type 'String' not found in the declaration of the local variable 's'.
        String s;
           ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:88:
error: Type 'IOException' not found in the declaration of the local variable
'x'.
    catch (IOException x)
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:99:
error: Type 'IOException' not found in the declaration of the local variable
'ignored'.
        catch (IOException ignored)
                  ^
/opt/local/src/gcc-4.2.2/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)
                                         ^
/opt/local/src/gcc-4.2.2/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;
          ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:44:
error: Superclass 'URLClassLoader' of class
'gnu.classpath.tools.appletviewer.AppletClassLoader' not found.
public class AppletClassLoader extends URLClassLoader
                                          ^
/opt/local/src/gcc-4.2.2/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)
                              ^
/opt/local/src/gcc-4.2.2/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)

...

/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:75:
error: Type 'String' not found in declaration of field 'id'.
    String id;
       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:77:
error: Type 'String' not found in declaration of field 'kind'.
    String kind;
       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:79:
error: Type 'String' not found in declaration of field 'ior'.
    String ior;
       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:84:
error: Type 'NameComponent' not found in the declaration of the return type of
method 'getComponent'.
    public NameComponent getComponent()
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:92:
error: Type 'OutputStream' not found in the declaration of the argument 'out'
of method 'write'.
    public void write(OutputStream out) throws IOException
                         ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:92:
error: Class 'IOException' not found in 'throws'.
    public void write(OutputStream out) throws IOException
                                                  ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:105:
error: Type 'BufferedReader' not found in the declaration of the argument 'in'
of method 'read'.
    public boolean read(BufferedReader in) throws IOException
                           ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:105:
error: Class 'IOException' not found in 'throws'.
    public boolean read(BufferedReader in) throws IOException
                                                     ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:107:
error: Type 'String' not found in the declaration of the local variable 'key'.
      String key = in.readLine();
         ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:108:
error: Type 'String' not found in the declaration of the local variable 'xior'.
      String xior = in.readLine();
         ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:166:
error: Type 'String' not found in the declaration of the argument 'id' of
method 'getKey'.
    public String getKey(String id, String kind)
                            ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:166:
error: Type 'String' not found in the declaration of the argument 'kind' of
method 'getKey'.
    public String getKey(String id, String kind)
                                       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:166:
error: Type 'String' not found in the declaration of the return type of method
'getKey'.
    public String getKey(String id, String kind)
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:168:
error: Type 'StringBuffer' not found in the declaration of the local variable
'b'.
      StringBuffer b = new StringBuffer(id.length() + 8);
         ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:183:
error: Type 'StringBuffer' not found in the declaration of the argument 'b' of
method 'appEscaping'.
    void appEscaping(StringBuffer b, String s)
                        ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:183:
error: Type 'String' not found in the declaration of the argument 's' of method
'appEscaping'.
    void appEscaping(StringBuffer b, String s)
                                        ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:210:
error: Type 'File' not found in declaration of field 'file'.
  public final File file;
                  ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:216:
error: Type 'ORB' not found in declaration of field 'orb'.
  ORB orb;
     ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:233:
error: Type 'ORB' not found in the declaration of the argument 'an_orb' of
method '<init>'.
  public PersistentMap(ORB an_orb, File mapFile, boolean a_reset)
                          ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:233:
error: Type 'File' not found in the declaration of the argument 'mapFile' of
method '<init>'.
  public PersistentMap(ORB an_orb, File mapFile, boolean a_reset)
                                      ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:244:
error: Type 'BufferedReader' not found in the declaration of the local variable
'in'.
        BufferedReader in;
           ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:247:
error: Type 'FileInputStream' not found in the declaration of the local
variable 'fin'.
            FileInputStream fin = new FileInputStream(file);
               ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:254:
error: Type 'org.omg.CORBA.Object' not found in the declaration of the local
variable 'object'.
                org.omg.CORBA .Object object = string_to_object(e.ior);
                   ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:259:
error: Type 'Exception' not found in the declaration of the local variable
'ex'.
        catch (Exception ex)
                  ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:261:
error: Type 'InternalError' not found in the declaration of the local variable
'ierr'.
            InternalError ierr = new InternalError(file.getAbsolutePath());
               ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:275:
error: Type 'String' not found in the declaration of the argument 'description'
of method 'string_to_object'.
  protected org.omg.CORBA.Object string_to_object(String description)
                                                     ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:275:
error: Type 'org.omg.CORBA.Object' not found in the declaration of the return
type of method 'string_to_object'.
  protected org.omg.CORBA.Object string_to_object(String description)
               ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:286:
error: Type 'org.omg.CORBA.Object' not found in the declaration of the argument
'object' of method 'object_to_string'.
  protected String object_to_string(org.omg.CORBA .Object object)
                                       ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:286:
error: Type 'String' not found in the declaration of the return type of method
'object_to_string'.
  protected String object_to_string(org.omg.CORBA .Object object)
               ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:300:
error: Type 'NameComponent' not found in the declaration of the argument 'name'
of method 'bind'.
  public void bind(NameComponent name, org.omg.CORBA.Object object)
                      ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:300:
error: Type 'org.omg.CORBA.Object' not found in the declaration of the argument
'object' of method 'bind'.
  public void bind(NameComponent name, org.omg.CORBA.Object object)
                                          ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:301:
error: Class 'AlreadyBound' not found in 'throws'.
      throws AlreadyBound, InvalidName

...

/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:532:
error: Class 'RemoteException' not found in 'throws'.
      UnknownGroupException, RemoteException
                                ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:539:
error: Type 'RuntimeException' not found in the declaration of the local
variable 'e'.
    catch (RuntimeException e)
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:543:
error: Type 'RemoteException' not found in the declaration of the local
variable 'e'.
    catch (RemoteException e)
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:547:
error: Type 'Exception' not found in the declaration of the local variable 'e'.
    catch (Exception e)
              ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:549:
error: Type 'UnexpectedException' not found in the declaration of the local
variable 'uex'.
        UnexpectedException uex = new UnexpectedException(exception_message);
           ^
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/HelpPrinter.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object
/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/appletviewer/Main.java:0:
error: cannot find file for class java.lang.Object

...


/opt/local/src/gcc-4.2.2/libjava/classpath/tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java:0:
error: cannot find file for class java.lang.Object
2651 errors
make[6]: *** [tools.jar] Error 1
make[6]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/sparcv9/libjava/classpath/tools'
make[6]: Entering directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/sparcv9/libjava/classpath'
true  DO=all multi-do # make
make[6]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/sparcv9/libjava/classpath'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/sparcv9/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/sparcv9/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/opt/local/src/build-gcc-4.2.2/sparc-sun-solaris2.10/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/opt/local/src/build-gcc-4.2.2'
make: *** [bootstrap] Error 2



Thanks for your help.


-- 
           Summary: GCC 4.2.2 compile failed in java due to error in java
                    class
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: william-paul dot philibert at telus dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34426


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