problem in compiling libgcj 2.95.1
Bryce McKinlay
bryce@albatross.co.nz
Thu May 25 06:05:00 GMT 2000
The build is picking up an older compiler from your path. Make sure that
gcc-2.95.1 is found compiler on your path. You can verify this by typing
"gcc -v".
regards
[ bryce ]
arajesh wrote:
> cc1plus: Invalid option `-fpermissive'
> In file included from ../../../libgcj-2.95.1/libjava/prims.cc:25:
> java/lang/Runtime.h:42: warning: `class ::java::lang::Runtime' only
> defines private constructors and has no friends
> In file included from ../../../libgcj-2.95.1/libjava/prims.cc:38:
> java/lang/System.h:48: warning: `class ::java::lang::System' only
> defines private constructors and has no friends
> make[2]: *** [prims.lo] Error 1
> make[2]: Leaving directory
> `/home/guest/gcj/GCJ/i686-pc-linux-gnu/libjava'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/guest/gcj/GCJ/i686-pc-linux-gnu/libjava'
> make: *** [all-target-libjava] Error 2
>
> Am i doing something wrong? Since even the versions of gcc and libgcj
> match why am i getting this error?
More information about the Java
mailing list