This is the mail archive of the java-discuss@sources.redhat.com 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 not building in latest cvs repository


Alexandre Petit-Bianco wrote:
Edgar Villanueva writes:

> libjava was not generated.  Is this a known problem?

Check your toplevel configure.in. For the case that matches your
configuration triple, you shouldn't see `noconfigdirs="... ${libgcj}"'

./A

I'm having the same problem, and I did remove all the ${libgcj} that might apply to my configuration (at least all the one's I've removed in the past).  Could something else be the problem?  The error messages look like

/Usr/Local/Gcc_Cvs/Objdir/I686-Pc-Linux-Gnu/Libjava/../../../Gcc/Libjava/Gnu/Gcj/Convert/Unicodetobytes.Java:26: Undefined Reference To `Java::Lang::Object::Clone() '
./.Libs/Libgcj.So: Undefined Reference To `Java::Lang::Double::Parsedouble(Java::Lang::String*)'
./.Libs/Libgcj.So: Undefined Reference To `Java::Lang::Instantiationexception::Class$'
./.Libs/Libgcj.So: Undefined Reference To `Java::Lang::Thread::Interrupt() '
./.Libs/Libgcj.So: Undefined Reference To `Java::Io::File::Attr(Java::Lang::String*, Int)'
./.Libs/Libgcj.So: Undefined Reference To `Gnu::Gcj::Convert::Ioconverter::Iconv_Byte_Swap'

...

./.libs/libgcj.so: undefined reference to `java::net::PlainDatagramSocketImpl::setTimeToLive(int)'
./.libs/libgcj.so: undefined reference to `java::lang::Math::round(float)'
collect2: ld returned 1 exit status
make[2]: *** [jv-convert] Error 1
make[2]: Leaving directory `/usr/local/gcc_cvs/objdir/i686-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gcc_cvs/objdir/i686-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2


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