[Bug libgcj/20265] New: Unable to generate a shared library from a jar file using gcj v4.0
bparker at ilstechnology dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 1 18:24:00 GMT 2005
I am using version 4.0 of gcj and when trying to convert a jar to a shared
library I get the following:
[acuser@linux WMQ]$ gcj -I /home/acuser/gcj/WMQ -shared com.ibm.mq.jar -o mq-
shared.so
com/ibm/mq/BindingsConnectionRequestInfo.java:0: error: cannot find file for
class javax.resource.spi.ConnectionRequestInfo
com/ibm/mq/BindingsConnectionRequestInfo.java:0: error: cannot find file for
class javax.resource.spi.ConnectionRequestInfo
com/ibm/mq/MQConnectionRequestInfo.java:0: error: cannot find file for class
javax.resource.spi.ConnectionRequestInfo
com/ibm/mq/MQConnectionRequestInfo.java:0: confused by earlier errors, bailing
out
The ConnectionRequestInfo.class file is in another jar in the same directory as
the com.ibm.mq.jar file. Which is the same directory that I am running gcj out
of. I got the same errors when I was using version 3.2 but I got around it by
adding the -I parameter. But now using version 4.0 the errors are back. Am I
missing a parameter? Help.
--
Summary: Unable to generate a shared library from a jar file
using gcj v4.0
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bparker at ilstechnology dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20265
More information about the Gcc-bugs
mailing list