[reSIProcate] SQL dependency in repro?

Daniel Petrie dpetrie at sipez.com
Wed Jun 24 15:25:25 CDT 2015


On the main/head from github I am getting the following compile error when building repro:g++ -DHAVE_CONFIG_H -I. -I.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -DREPRO_DSO_PLUGIN_DIR_DEFAULT=\"/usr/local/lib/resiprocate/repro/plugins\" -O2 -g -fPIC -DUSE_NETNS -DBUILD_FOR_VALGRIND -I/home/dpetrie/dev/resiprocate/contrib/cajun/include -I/home/dpetrie/dev/resiprocate/contrib/Netxx-0.3.2/include -Wall -Wno-deprecated -I/home/dpetrie/dev/resiprocate/rutil/dns/ares -MT librepro_la-RequestFilter.lo -MD -MP -MF .deps/librepro_la-RequestFilter.Tpo -c monkeys/RequestFilter.cxx  -fPIC -DPIC -o .libs/librepro_la-RequestFilter.omonkeys/RequestFilter.cxx: In constructor 'repro::RequestFilter::RequestFilter(repro::ProxyConfig&, repro::Dispatcher*)':monkeys/RequestFilter.cxx:59:73: error: cannot dynamic_cast '(& config)->repro::ProxyConfig::getDatabase(databaseIndex)' (of type 'class repro::AbstractDb*') to type 'class repro::SqlDb*' (target is not pointer or reference to complete type)          mSqlDb = dynamic_cast<SqlDb*>(config.getDatabase(databaseIndex));                                                                         ^Has a MySql dependency been added to repro such that its now manditory to install some MySql package even if a SQL DB is not going to be use?
This is on Ubuntu, I tried adding libmysqlclient-dev, reran configure and make, but still got the same error.
Cheers,Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20150624/a6e687a0/attachment.htm>


More information about the resiprocate-devel mailing list