Broken Makefile

Bryce McKinlay bryce@albatross.co.nz
Wed Aug 18 17:15:00 GMT 1999


Kresten Krab Thorup wrote:

> I just commited a major update which, among other things, fixes this
> problem.   The other things changed are:

Thanks Kresten. Unfortunatly I'm now getting the following build error after
checking out the updates. It seems to be trying to generate a header for
java.lang.String before it has built the class files:

make[2]: Entering directory
`/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava'
Makefile:2221: warning: overriding commands for target `.java.lo'
Makefile:1840: warning: ignoring old commands for target `.java.lo'
gcjh -classpath . \
    -friend 'jchar* _Jv_GetStringChars (jstring str);' \
    -friend 'jstring* _Jv_StringFindSlot (jchar*, jint, jint);' \
    -friend 'jstring* _Jv_StringGetSlot (jstring);' \
    -friend 'jstring _Jv_NewStringUtf8Const (_Jv_Utf8Const* str);' \
    -friend 'jstring _Jv_NewStringLatin1 (const char*, jsize);' \
    -friend 'jstring _Jv_AllocString (jsize);' \
    java/lang/String
java/lang/String: no such class
make[2]: *** [java/lang/String.h] Error 1
make[2]: Leaving directory
`/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2

  [ bryce ]




More information about the Java-patches mailing list