public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute @ 2004-07-23 8:29 mwteng at hotmail dot com 2004-07-23 8:32 ` [Bug java/16685] " mwteng at hotmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: mwteng at hotmail dot com @ 2004-07-23 8:29 UTC (permalink / raw) To: java-prs -- Summary: didn't have special zero-length gnu.gcj.gcj-compiled attribute Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mwteng at hotmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: Red Hat 9.0 GCC host triplet: Red Hat 9.0 GCC target triplet: Red Hat 9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16685 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/16685] didn't have special zero-length gnu.gcj.gcj-compiled attribute 2004-07-23 8:29 [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute mwteng at hotmail dot com @ 2004-07-23 8:32 ` mwteng at hotmail dot com 2004-07-23 8:41 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: mwteng at hotmail dot com @ 2004-07-23 8:32 UTC (permalink / raw) To: java-prs ------- Additional Comments From mwteng at hotmail dot com 2004-07-23 08:32 ------- Basicall, I'm trying to convert jh.jar to a shared library. As some reference need to refer to rt.jar, therefore, it is included into the classpath. Wonder whether went wrong and how could I make it compiled? Is there a way to turn of such checking. Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux- gnu/3.4.1/../../../libgcj.spec rename spec lib to liborig Configured with: ./configure --prefix=/opt Thread model: posix gcc version 3.4.1 /opt/gcc-3.4.1/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.1/jc1 jh.jar -fhash- synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call- exceptions -fkeep-inline-functions -quiet -dumpbase jh.jar -mtune=pentiumpro - auxbase jh -g1 -version -fPIC -fclasspath=:.:jh.jar:rt.jar -o /tmp/ccBLFO63.s GNU Java version 3.4.1 (i686-pc-linux-gnu) compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31906 Class path starts here: ./ ./ jh.jar/ (zip) rt.jar/ (zip) /opt/gcc-3.4.1/bin/../lib/gcc/../../share/java/libgcj-3.4.1.jar/ (system) (zip) java/lang/Object.java:0: fatal error: the `java.lang.Object' that was found in `rt.jar' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrectly set. Use `info gcj "Input Options"' to see the info page describing how to set the classpath compilation terminated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16685 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/16685] didn't have special zero-length gnu.gcj.gcj-compiled attribute 2004-07-23 8:29 [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute mwteng at hotmail dot com 2004-07-23 8:32 ` [Bug java/16685] " mwteng at hotmail dot com @ 2004-07-23 8:41 ` pinskia at gcc dot gnu dot org 2004-07-23 9:01 ` mwteng at hotmail dot com 2004-07-23 9:10 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-07-23 8:41 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-23 08:41 ------- You cannot compile without a java.lang.Object which is not libjava's. What is jh.jar and where did you get it from? Likewise for rt.jar. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16685 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/16685] didn't have special zero-length gnu.gcj.gcj-compiled attribute 2004-07-23 8:29 [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute mwteng at hotmail dot com 2004-07-23 8:32 ` [Bug java/16685] " mwteng at hotmail dot com 2004-07-23 8:41 ` pinskia at gcc dot gnu dot org @ 2004-07-23 9:01 ` mwteng at hotmail dot com 2004-07-23 9:10 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: mwteng at hotmail dot com @ 2004-07-23 9:01 UTC (permalink / raw) To: java-prs ------- Additional Comments From mwteng at hotmail dot com 2004-07-23 09:01 ------- (In reply to comment #2) > You cannot compile without a java.lang.Object which is not libjava's. > What is jh.jar and where did you get it from? > Likewise for rt.jar. jh.jar is from java help system and rt.jar is the jdk runtime. > You cannot compile without a java.lang.Object which is not libjava's. They are jar files that need to be converted to shared libraries. What can be done to make this work? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16685 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/16685] didn't have special zero-length gnu.gcj.gcj-compiled attribute 2004-07-23 8:29 [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute mwteng at hotmail dot com ` (2 preceding siblings ...) 2004-07-23 9:01 ` mwteng at hotmail dot com @ 2004-07-23 9:10 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-07-23 9:10 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-23 09:10 ------- You cannot compile with someone else's java.lang.Object in the CLASSPATH because it will not work. What does jh.jar depend on in Sun's JDK's rt.jar? if it is com.sun.* then you have to wait till a free version of the JavaHelp System comes about, otherwise open a new bug reporting about the dependencies problems. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16685 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-23 9:10 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-07-23 8:29 [Bug java/16685] New: didn't have special zero-length gnu.gcj.gcj-compiled attribute mwteng at hotmail dot com 2004-07-23 8:32 ` [Bug java/16685] " mwteng at hotmail dot com 2004-07-23 8:41 ` pinskia at gcc dot gnu dot org 2004-07-23 9:01 ` mwteng at hotmail dot com 2004-07-23 9:10 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).