public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20265] New: Unable to generate a shared library from a jar file using gcj v4.0
@ 2005-03-01 19:23 bparker at ilstechnology dot com
  2005-03-01 20:10 ` [Bug libgcj/20265] " pinskia at gcc dot gnu dot org
  2005-03-02 22:42 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bparker at ilstechnology dot com @ 2005-03-01 19:23 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/20265] Unable to generate a shared library from a jar file using gcj v4.0
  2005-03-01 19:23 [Bug libgcj/20265] New: Unable to generate a shared library from a jar file using gcj v4.0 bparker at ilstechnology dot com
@ 2005-03-01 20:10 ` pinskia at gcc dot gnu dot org
  2005-03-02 22:42 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-01 20:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-01 18:27 -------
try -I /home/acuser/gcj/WMQ/other.jar

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20265


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/20265] Unable to generate a shared library from a jar file using gcj v4.0
  2005-03-01 19:23 [Bug libgcj/20265] New: Unable to generate a shared library from a jar file using gcj v4.0 bparker at ilstechnology dot com
  2005-03-01 20:10 ` [Bug libgcj/20265] " pinskia at gcc dot gnu dot org
@ 2005-03-02 22:42 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-02 22:42 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-02 21:50 -------
This is not a bug as I explained.
The point is that .jar contain more infromation than what is included in the shared library which gcj 
needs to be able to produce the shared library.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20265


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-02 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01 19:23 [Bug libgcj/20265] New: Unable to generate a shared library from a jar file using gcj v4.0 bparker at ilstechnology dot com
2005-03-01 20:10 ` [Bug libgcj/20265] " pinskia at gcc dot gnu dot org
2005-03-02 22:42 ` 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).