On Sat, Jun 14, 2008 at 2:51 AM, srkraju <[EMAIL PROTECTED]> wrote:
> Though its giving the same error.
> I downloaded Ant-1.6.5. and extracted into
> /home/facts/Test/apache-ant-1.6.5/ directory.
>
> g++  test.cpp -I/home/facts/Test/apache-log4cxx-0.10.0/src/main/include
> -L/home/facts/Test/apache-ant-1.6.5/lib/

-L tells the linker where to look for libraries. You have to actually
specify what libraries to look for as well using the -l option.

So if your directory had libfoo.so in it that you needed to link with,
you would add -l foo to your command line.
-- 
Dale King

Reply via email to