undefined refrence error

mohamed hegazy engmohheg@gmail.com
Wed Jul 8 14:20:00 GMT 2009


Hi All ,

when i am using gcj to compile a jar file that depends on another jar
libraries like apache log4j i found undefined reference errors :
: undefined reference to `org::apache::log4j::Logger*
org::apache::log4j::Logger::getLogger(java::lang::Class*)'

the command that i used is :
gcj --classpath="lib/log4j-1.2.14.jar" --main=Loader.Main WebInterface.jar -o HH

am i doing ant thing wrong , please advice ?

Thanks
Hegazy



More information about the Gcc-help mailing list