lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject building JCC with gcc4.x on Cygwin windows:jvm_NULL_THUNK_DATA symbol not found
Date Thu, 04 Jun 2009 17:39:57 GMT
getting jvm_NULL_THUNK_DATA not found error in the last step of building JCC on Cygwin/windows
with "python build" after switching to gcc version 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. 

String jvm_NULL_THUNK_DATA exists in  jvm.lib as can be seen below. This string appears 4
times, (included only once for this mail)

$ strings /c/Edwin/Programs/Java/jdk1.6.0_13/lib/jvm.lib | grep THUNK

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/Programs/Java/jdk1.6.0_13/lib -ljvm
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/suggestions?

thanks in advance

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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message