This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __Z12JvNumMethodsPN4java4lang5ClassE undefined


Juerg Lehni writes:
 > After solving the problem with libjvm.dylib, I am facing another new  
 > problem with the CVS build that did not happen before.
 > 
 > my app crashes and reports this in the console.log:
 > 
 > error code 4, error number 0 (Symbol not found:  
 > __Z12JvNumMethodsPN4java4lang5ClassE
 >    Referenced from: /usr/local/lib/libgcj.7.dylib
 >    Expected in: flat namespace
 > )
 > 
 > And indeed, this symbol is undefined in libgcj:
 > 
 > nm /usr/local/lib/libgcj.7.dylib | grep  
 > __Z12JvNumMethodsPN4java4lang5ClassE
 >           U __Z12JvNumMethodsPN4java4lang5ClassE
 > 
 > Any ideas what could be the cause of this?

JvNumMethods(java::lang::Class*) is an extern inline function in
gcj/method.h.  It's used in jni.cc and natClass.cc.  Have a look to
see which file the undefined extern reference occurs in, and we can
debug it from there.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]