errors building on solaris
Olivieri, Josiah
olivierj@oclc.org
Tue Dec 21 06:06:00 GMT 1999
I have the full gcc-2.95.2 package built and in my path.
I unpacked the libgcj-2.95.1
I created a build dir and from there, ran:
../libgcj-2.95.1/configure --enable-fast-character --enable-threads=posix
make
make fails with the following error:
In file included from java/lang/String.h:9,
from ../../../libgcj-2.95.1/libjava/java/lang/Class.h:18,
from ../../../libgcj-2.95.1/libjava/include/cni.h:17,
from ../../../libgcj-2.95.1/libjava/prims.cc:20:
../../../libgcj-2.95.1/libjava/include/java-array.h:18: language string
`"Java"' not recognized
../../../libgcj-2.95.1/libjava/include/java-array.h:20: no type named `lang'
in `struct java'
../../../libgcj-2.95.1/libjava/include/java-array.h:21: `Object' is not a
class or namespace
../../../libgcj-2.95.1/libjava/include/java-array.h:21: confused by earlier
errors, bailing out
make[2]: *** [prims.lo] Error 1
make[2]: Leaving directory
`/proj/part3/gcc/build.gcj/sparc-sun-solaris2.6/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/proj/part3/gcc/build.gcj/sparc-sun-solaris2.6/libjava'
make: *** [all-target-libjava] Error 2
This is the last 10 or so lines of the error generated by make. Does anyone
know what I might be doing wrong here? Thanks in advance.
-joe
More information about the Java
mailing list