From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19398 invoked by alias); 10 Jun 2009 12:10:18 -0000 Received: (qmail 19390 invoked by uid 22791); 10 Jun 2009 12:10:18 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_74,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 10 Jun 2009 12:10:09 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5ACA7eA032121; Wed, 10 Jun 2009 08:10:07 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5ACA6Iw026290; Wed, 10 Jun 2009 08:10:06 -0400 Received: from zebedee.pink (vpn-13-1.rdu.redhat.com [10.11.13.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5ACA4dd012498; Wed, 10 Jun 2009 08:10:05 -0400 Message-ID: <4A2FA29C.1000603@redhat.com> Date: Wed, 10 Jun 2009 12:10:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.17 (X11/20081009) MIME-Version: 1.0 To: Vaijayanthi Mala Suresh CC: David Michel , java@gcc.gnu.org Subject: Re: How to convert a jar into so file and use it ? References: <4A2F87D9.5040207@redhat.com> <4A2F93AA.4070700@redhat.com> <6f1633170906100453g4a993316ufac79b6ff4998404@mail.gmail.com> In-Reply-To: <6f1633170906100453g4a993316ufac79b6ff4998404@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00035.txt.bz2 Vaijayanthi Mala Suresh wrote: > I also have the same requirement. Taking from David's example, when i > tried to do the following > > gcj -O0 -g0 --classpath=./:extern/mytest.jar -c TestApp.java -o TestApp.o > > It gives me the following error > > TestApp.java:56: internal compiler error: in make_class_data, at > java/class.c:1600 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > > Can you please let me know what is the reason for this error. > > What am I doing wrong over here? Try it without the : in the pathname. Did you follow my example exactly? Andrew.