Re: [jnc-users] Welcome to the "javaCompiler-users" mailing list
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2008-03-04 12:46:19
|
Hey Philippe Philippe Alexis wrote: > Hello Everyone, > > First of all, Thanks for JNC. > > It's my first attempt at native compilation of Java and I've figured out > some things for myself so far. > > I'm running into an issue with apache-commons-logging which is, sadly, a > dependency of one of > my program's dependencies: > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > creating "EmailForwarder.exe" for Windows > - processing commons-logging-1.1.1.jar > org/apache/commons/logging/impl/AvalonLogger.java: In class > 'org.apache.commons.logging.impl.AvalonLogger': > org/apache/commons/logging/impl/AvalonLogger.java: In constructor > '(java.lang.String)': > org/apache/commons/logging/impl/AvalonLogger.java:79: error: cannot > find file for class org.apache.avalon.framework.logger.Logger > org/apache/commons/logging/impl/AvalonLogger.java:79: error: class > 'org.apache.avalon.framework.logger.Logger' has no method named > 'getChildLogger' matching signature > '(Ljava/lang/String;)Lorg/apache/avalon/framework/logger/Logger;' > org/apache/commons/logging/impl/AvalonLogger.java:0: confused by > earlier errors, bailing out > > failed... > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > What is a good way to handle this issue, short of adding a dead and > buried Avalon to the list of jars?.. ad infinitum.. > Thanks. Add "-findirect-dispatch" as custom GCJ flag. Dependencies will then be searched at runtime. Hope that helps Marco > J-Philippe. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |