This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: error while compiling log4j
On 02-May-2011, at 12:00 PM, Mac Smith wrote:
> Hi,
>
> I am getting this error while compiling log4j
>
> # gcj -c -fjni log4j.jar -o log4j.oorg/apache/log4j/net/SMTPAppender.java:0: error: cannot find file for class javax.mail.Authenticator
> org/apache/log4j/net/SMTPAppender.java:0: error: cannot find file for class javax.mail.Authenticator
> org/apache/log4j/net/SMTPAppender.java:183: confused by earlier errors, bailing out
>
>
> my gcj verison is
>
> gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) on Ubuntu 9.04
>
>
> --
> Mac
anybody...