This is the mail archive of the java@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]

Re: libjava bootstrap failure


On 26 Sep 2001, Tom Tromey wrote:
>> /home/gerald/cvs/gcc/libjava/java/io/ObjectInputStream.java:30: Class or interface `gnu.classpath.Configuration' not found in import.
>>    import gnu.classpath.Configuration;
> The file in question should be created at configure time.  Look for
> gnu/classpath/Configuration.java in your build tree.

It's in /tmp/OBJ-0927-10:27/i686-pc-linux-gnu/libjava/gnu/classpath
(my build dir), together with Configuration.d which has size 1.

I have included the contents of Configuration.java below.

Interestingly, I haven't been able to reproduce this on a different
i?86-pc-linux-gnu box (with SuSE 7.2 instead of Debian), nor on
i386-unknown-freebsd4.4 or sparc-sun-solaris2.8, all with the same
build scripts and settings.

I'm afraid I haven't any clue what this could be; any things I could
try?

Gerald

-------- cut --------
/* ...Copyright... */

package gnu.classpath;

/**
 * This file defines compile-time constants that can be accessed by
 * java code. It is pre-processed by configure.
 */
public interface Configuration
{
  // The value of DEBUG is substituted according to whether the
  // "--enable-libgcj-debug" argument was passed to configure. Code
  // which is made conditional based on the value of this flag will
  // be removed by the optimizer in a non-debug build.
  boolean DEBUG = false;

  // For libgcj we never load the JNI libraries.
  boolean INIT_LOAD_LIBRARY = false;
}




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