Re: [jnc-users] LDAP with jnc
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2007-10-17 08:16:59
|
Norman Rieß wrote: > Marco Trudel schrieb: >> >> These are dependencies that would lead to a "ClassNotFoundException" >> if run into while using the library in a Sun JRE. You can avoid having >> to solve all reference when compiling with JNC by adding >> "-findirect-dispatch" as custom GCJ flag. It will then search >> dependencies at runtime. >> >> > > Ok, thank you. That helped with the dependencies. Now there is an error > in the main compilation step. > > creating "LdapInfo" for Linux > - processing ldap.jar > - processing LdapInfo.jar > - main compilation step > /tmp/ccUywGVz.o: In function `main':ccIKMEUi.i:(.text+0x30): > undefined reference to `JvRunMainName' > collect2: ld returned 1 exit status > > failed... > > Seems like you encountered this error before. That's what google said, > anyway :-) Is this a clean compilation or are there some precompiled non indirect-dispatch objects used (from the jars)? It looks like this is the case here... Marco |