Hi there,
I am using the "current" releases of Carob(0.6.2) libMySequoia(0.9.3)
and version 0.9.7 of log4cxx but am expirencing the following problem
when trying to compile libMySequoia:-

Making all in src
make[1]: Entering directory `/tmp/libmysequoia-0.9.3/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../include    -I/usr/include/mysql -march=opteron
-fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1  -g -O2
-I/usr/include/carob -MT libmysequoia_la-CarobCommon.lo -MD -MP -MF
".deps/libmysequoia_la-CarobCommon.Tpo" -c -o
libmysequoia_la-CarobCommon.lo `test -f 'CarobCommon.cpp' || echo
'./'`CarobCommon.cpp; \
then mv -f ".deps/libmysequoia_la-CarobCommon.Tpo"
".deps/libmysequoia_la-CarobCommon.Plo"; else rm -f
".deps/libmysequoia_la-CarobCommon.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/mysql
-march=opteron -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -g
-O2 -I/usr/include/carob -MT libmysequoia_la-CarobCommon.lo -MD -MP -MF
.deps/libmysequoia_la-CarobCommon.Tpo -c CarobCommon.cpp  -fPIC -DPIC -o
.libs/libmysequoia_la-CarobCommon.o
CarobCommon.cpp:34: error: no matching function for call to
`log4cxx::Logger::getLogger(const char[15])'
/usr/include/log4cxx/logger.h:295: note: candidates are: static
log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&)
/usr/include/log4cxx/logger.h:316: note:                 static
log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&,
log4cxx::spi::LoggerFactoryPtr)
make[1]: *** [libmysequoia_la-CarobCommon.lo] Error 1


Anyone got any recommendations? (I think that some casting would fix the
problem but I cannot seem to work out the correct data type to use :( )

(CarobCommon.cpp:34)

Original line: LoggerPtr
CarobCommon::logger(Logger::getLogger("MySQLAPI.Carob"));
My guessed line: LoggerPtr
CarobCommon::logger(Logger::getLogger((log4cxx::String) "MySQLAPI.Carob"));

Kind regards,
Daniel.

_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to