[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Check for a library with C++ code
From: |
Sebastian Huber |
Subject: |
Check for a library with C++ code |
Date: |
Sat, 28 Sep 2002 18:20:36 -0700 |
Hello,
how can I write a check for a library which contain only functions and classes
in a namespace?
The easiest function is 'std::string TACO::errorString( long e)'.
I tried this:
AC_CHECK_LIB(TACOExtensions,errorString,found=yes,found=no,)
but it resulted in:
/home/huber/taco/frmII/tacodevel/build/client/io/configure:2971: undefined
reference to `errorString'
and
AC_CHECK_LIB(TACOExtensions,TACO::errorString,found=yes,found=no,)
resulted in a syntax error because the TACO namespace was not declared. The
output of nm looks like:
$nm /usr/local/dshome2/lib/linux/x86/libTACOExtensions.a | grep errorString
00000870 t _GLOBAL_.D.errorString__4TACOl
00000850 t _GLOBAL_.I.errorString__4TACOl
00000000 T errorString__4TACOl
Thank you for help in advance.
Sebastian
- Check for a library with C++ code,
Sebastian Huber <=