This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined refrence error
- From: mohammed hegazy <engmohheg at hotmail dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 8 Jul 2009 17:18:45 +0300
- Subject: undefined refrence error
Hi All ,
when 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 anything wrong , please advice ?
Thanks
Hegazy
_________________________________________________________________
Windows Live™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009