Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 7968 invoked from network); 4 Jun 2009 17:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 17:41:17 -0000 Received: (qmail 48194 invoked by uid 500); 4 Jun 2009 17:41:29 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 48143 invoked by uid 500); 4 Jun 2009 17:41:29 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 48133 invoked by uid 99); 4 Jun 2009 17:41:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 17:41:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MISSING_MID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [162.115.227.109] (HELO mercury.verizonwireless.com) (162.115.227.109) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 17:41:20 +0000 From: Edwin.Madari@VerizonWireless.com Received: from nyobgcexsmtp21.uswin.ad.vzwcorp.com ([10.170.160.41]) by mercury.verizonwireless.com with ESMTP; 04 Jun 2009 13:39:58 -0400 Received: from NYOBGCEXMB21.uswin.ad.vzwcorp.com ([10.170.26.82]) by nyobgcexsmtp21.uswin.ad.vzwcorp.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 4 Jun 2009 13:39:58 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9E53B.7A6FDB28" Subject: building JCC with gcc4.x on Cygwin windows:jvm_NULL_THUNK_DATA symbol not found Date: Thu, 4 Jun 2009 13:39:57 -0400 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: building JCC with gcc4.x on Cygwin windows:jvm_NULL_THUNK_DATA symbol not found Thread-Index: AcnlO3OvFpHfsBSOQsS5332CgZpKAg== To: X-OriginalArrivalTime: 04 Jun 2009 17:39:58.0045 (UTC) FILETIME=[7AA848D0:01C9E53B] X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20090604174127.6B3E1816046@nike.apache.org> ------_=_NextPart_001_01C9E53B.7A6FDB28 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable getting jvm_NULL_THUNK_DATA not found error in the last step of building JC= C on Cygwin/windows with "python setup.py build" after switching to gcc ver= sion 4.3.2 20080827 (beta) 2 (GCC) with Advise from Andi V, and Christian H= . gcc4x is available from Cygwin, but not as default -do not know why.=20 String jvm_NULL_THUNK_DATA exists in jvm.lib as can be seen below. This st= ring appears 4 times, (included only once for this mail) $ strings /c/Edwin/Programs/Java/jdk1.6.0_13/lib/jvm.lib | grep THUNK jvm_NULL_THUNK_DATA For simplicity replaced all object file names from following command with "= *.o" below. $ g++ -shared -Wl,--enable-auto-image-base *.o -L/usr/lib/python2.5/config= -lpython2.5 -o build/lib.cygwin-1.5.25-i686-2.5/jcc/_jcc.dll -L/c/Edwin/Pr= ograms/Java/jdk1.6.0_13/lib -ljvm -Wl,-S Cannot export jvm_NULL_THUNK_DATA: symbol not found collect2: ld returned 1 exit status error: command 'g++' failed with exit status 1 it must be something simple or trivial I must be missing - any ideas/sugges= tions? thanks in advance Edwin The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. ------_=_NextPart_001_01C9E53B.7A6FDB28--