On Fri, Jun 13, 2008 at 9:59 AM, srkraju <[EMAIL PROTECTED]> wrote:
>                         g++
> -I/home/facts/Test/apache-log4cxx-0.10.0/src/main/include/  test.cpp
>
> its giving the following error
>
> test.cpp:(.text+0x21): undefined reference to
> `log4cxx::Logger::getLogger(char const*)'

That is a link error, not a compile error. The command line you show
says to compile and link, but you didn't specify ant libraries to link
against so it is not linking against log4cxx.

-- 
Dale King

Reply via email to