On Aug 10, 2005, at 8:40 PM, Clemens Eisserer wrote:

Hello,

I am trying to compile Jetty-5.1 with gcj which also has a dependency
to Log4j, however I am not able to compile Log4J with GCJ when using
the "old" ABI which I am forced to use.

This is what I get:

org/apache/commons/logging/impl/Log4JCategoryLog.java: In class
`org.apache.commons.logging.impl.Log4JCategoryLog':
org/apache/commons/logging/impl/Log4JCategoryLog.java: In constructor
`(java.lang.String)':
org/apache/commons/logging/impl/Log4JCategoryLog.java:91: Fehler:
cannot find file for class org.apache.log4j.Category
org/apache/commons/logging/impl/Log4JCategoryLog.java:104: Fehler:
cannot find file for class org.apache.log4j.Category
org/apache/commons/logging/impl/Log4JCategoryLog.java:104: durch
frühere Fehlerverwirrt, Abbruch

and in fact I am not able to fins a class Category - so is the jar
incomplete which is distributed? Are there any tricks to fool gcj to
compile Log4J properly?

Thank you in advance, lg Clemens


It appears that your compilation failure is in Jakarta Commons Logging (http://jakarta.apache.org/commons) and not log4j. Jakarta Commons Logging would reference org.apache.log4j.Category but would not provide it and the messages appear to be consistent with not having log4j on your compile path.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to