Problems with compiling libgcj2.95.1
Tahir
anorak@jhu.edu
Thu Oct 21 22:30:00 GMT 1999
Hi, I'm getting an error on the 'make' of the libgcj 2.95.1 package i
downloaded. This is what is coming up at the end before it quits:
--------------
c++ -DHAVE_CONFIG_H -I. -I/tmp/libgcj-2.95.1/libjava -I./include
-Iinclude -I/tmp/libgcj-2.95.1/libjava/include
-I/tmp/libgcj-2.95.1/libjava/../boehm-gc -I./../boehm-gc -DSILENT=1
-DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1
-I/tmp/libgcj-2.95.1/libjava/../compat-include
-I/tmp/libgcj-2.95.1/libjava/../zlib -fno-rtti -fvtable-thunks
-fpermissive -ffloat-store -W -Wall -g -O2 -fvtable-thunks -D_GNU_SOURCE
-Wp,-MD,.deps/prims.pp -c -fPIC -DPIC
/tmp/libgcj-2.95.1/libjava/prims.cc -o .libs/prims.lo
cc1plus: Invalid option `-fpermissive'
In file included from /tmp/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 /tmp/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 `/tmp/objjava/i586-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/objjava/i586-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2
------------
If this is a common problem and someone has already written about this
can you please forward me any such information. I just installed gcc
2.95.1 today, which seems to be operating fine. I'm using redhat 6.0
x86.
thanks,
--
========================================
Tahir H. Butt Johns Hopkins University
anorak@jhu.edu ICQ#: 1506956
http://jhunix.hcf.jhu.edu/~thb2
Tele: 410.516.3100
More information about the Java
mailing list