hi I am trying to compile gnuworld with mod.cservice on a freebsd 4.3-RELEASE machine and get the following errors. See log. Any ideas why ? i use ./configure --enable-modules=cservice --with-pgsql=/usr/local/include/pgsql and it does compile
Making all in lib gmake[1]: Entering directory `/home/ircd/gnuworld/lib' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/ircd/gnuworld/lib' Making all in libltdl gmake[1]: Entering directory `/home/ircd/gnuworld/libltdl' gmake[1]: Leaving directory `/home/ircd/gnuworld/libltdl' Making all in db gmake[1]: Entering directory `/home/ircd/gnuworld/db' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/ircd/gnuworld/db' Making all in src gmake[1]: Entering directory `/home/ircd/gnuworld/src' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/ircd/gnuworld/src' Making all in mod.cservice gmake[1]: Entering directory `/home/ircd/gnuworld/mod.cservice' source='cservice.cc' object='cservice.lo' libtool=yes \ depfile='.deps/cservice.Plo' tmpdepfile='.deps/cservice.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/postgresql -I../libltdl -Wall -pipe -g -O0 -I/home/ircd/gnuworld/include -I/home/ircd/gnuworld/lib -c -o cservice.lo `test -f cservice.cc || echo './'`cservice.cc rm -f .libs/cservice.lo g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/postgresql -I../libltdl -Wall -pipe -g -O0 -I/home/ircd/gnuworld/include -I/home/ircd/gnuworld/lib -c cservice.cc -Wp,-MD,.deps/cservice.TPlo -fPIC -DPIC -o .libs/cservice.lo cservice.cc:6: warning: #warning *** This release changes the behaviour of Database Updates from backend cservice.cc:7: warning: #warning *** notifications to periodic updates. cservice.cc:8: warning: #warning *** Ensure you set your update_interval to a sane value (Eg: 360) cservice.cc:9: warning: #warning *** before starting the service. In file included from cservice.h:15, from cservice.cc:22: sqlChannel.h:9: libpq++.h: No such file or directory In file included from sqlChannel.h:10, from cservice.h:15, from cservice.cc:22: sqlBan.h:8: libpq++.h: No such file or directory In file included from cservice.h:16, from cservice.cc:22: sqlUser.h:8: libpq++.h: No such file or directory In file included from cservice.h:17, from cservice.cc:22: sqlLevel.h:8: libpq++.h: No such file or directory In file included from cservice.cc:22: cservice.h:19: libpq-int.h: No such file or directory cservice.cc:30: libpq++.h: No such file or directory In file included from sqlChannel.h:10, from cservice.h:15, from cservice.cc:22: sqlBan.h:19: syntax error before `*' sqlBan.h:96: syntax error before `*' In file included from cservice.h:15, from cservice.cc:22: sqlChannel.h:21: syntax error before `*' sqlChannel.h:232: syntax error before `*' In file included from cservice.h:16, from cservice.cc:22: sqlUser.h:22: syntax error before `*' sqlUser.h:132: syntax error before `*' In file included from cservice.h:17, from cservice.cc:22: sqlLevel.h:19: syntax error before `*' sqlLevel.h:146: syntax error before `*' In file included from sqlPendingChannel.h:11, from cservice.h:20, from cservice.cc:22: sqlPendingTraffic.h:22: syntax error before `*' sqlPendingTraffic.h:30: syntax error before `*' In file included from cservice.h:20, from cservice.cc:22: sqlPendingChannel.h:22: syntax error before `*' sqlPendingChannel.h:39: syntax error before `*' In file included from cservice.cc:22: cservice.h:39: base class `PgDatabase' has incomplete type cservice.h: In method `gnuworld::cmDatabase::cmDatabase(const char *)': cservice.h:42: type `PgDatabase' is not an immediate basetype for `gnuworld::cmDatabase' cservice.h: In method `int gnuworld::cmDatabase::getPID() const': cservice.h:46: `pgConn' undeclared (first use this function) cservice.h:46: (Each undeclared identifier is reported only once cservice.h:46: for each function it appears in.) cservice.h:46: warning: control reaches end of non-void function `gnuworld::cmDatabase::getPID() const' cservice.cc: In method `void gnuworld::cservice::ImplementServer(gnuworld::xServer *)': cservice.cc:106: no matching function for call to `gnuworld::cmDatabase::Exec (const char[29])' cservice.cc:106: `PGRES_TUPLES_OK' undeclared (first use this function) cservice.cc:109: no matching function for call to `gnuworld::cmDatabase::GetValue (int, int)' cservice.cc: In method `gnuworld::cservice::cservice(const string &)': cservice.cc:220: no matching function for call to `gnuworld::cmDatabase::ConnectionBad ()' cservice.cc:225: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc: In method `class gnuworld::sqlUser * gnuworld::cservice::getUserRecord(const string &)': cservice.cc:869: no matching function for call to `gnuworld::sqlUser::sqlUser (gnuworld::cmDatabase *&)' sqlUser.h:133: candidates are: gnuworld::sqlUser::sqlUser(const gnuworld::sqlUser &) sqlUser.h:133: gnuworld::sqlUser::sqlUser() cservice.cc: In method `void gnuworld::cservice::loadTranslationTable()': cservice.cc:1194: syntax error before `;' cservice.cc:1196: `status' undeclared (first use this function) cservice.cc:1196: no matching function for call to `gnuworld::cmDatabase::Exec (const char[35])' cservice.cc:1199: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1200: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1201: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1201: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1211: no matching function for call to `gnuworld::cmDatabase::Exec (const char[54])' cservice.cc:1215: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1221: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1222: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1228: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc: In method `void gnuworld::cservice::expireSuspends()': cservice.cc:1269: syntax error before `=' cservice.cc:1275: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:1287: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1301: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1304: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1305: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1349: no matching function for call to `gnuworld::cmDatabase::Exec (const char *)' cservice.cc:1350: `PGRES_COMMAND_OK' undeclared (first use this function) cservice.cc: In method `void gnuworld::cservice::expireBans()': cservice.cc:1427: syntax error before `=' cservice.cc:1433: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:1445: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1458: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1461: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1462: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc: In method `void gnuworld::cservice::updateChannels()': cservice.cc:1726: syntax error before `=' cservice.cc:1732: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:1737: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1744: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc:1748: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1751: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1766: no matching function for call to `gnuworld::sqlChannel::sqlChannel (gnuworld::cmDatabase *&)' sqlChannel.h:234: candidates are: gnuworld::sqlChannel::sqlChannel(const gnuworld::sqlChannel &) sqlChannel.h:234: gnuworld::sqlChannel::sqlChannel() cservice.cc:1782: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc: In method `void gnuworld::cservice::updateLevels()': cservice.cc:1806: syntax error before `=' cservice.cc:1812: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:1817: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1824: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc:1828: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1830: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1831: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1856: no matching function for call to `gnuworld::sqlLevel::sqlLevel (gnuworld::cmDatabase *&)' sqlLevel.h:147: candidates are: gnuworld::sqlLevel::sqlLevel(const gnuworld::sqlLevel &) sqlLevel.h:147: gnuworld::sqlLevel::sqlLevel() cservice.cc:1867: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc: In method `void gnuworld::cservice::updateUsers()': cservice.cc:1890: syntax error before `=' cservice.cc:1896: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:1901: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1908: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc:1911: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:1913: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:1927: no matching function for call to `gnuworld::cmDatabase::GetValue (int, const char[12])' cservice.cc: In method `int gnuworld::cservice::OnTimer(unsigned int, void *)': cservice.cc:2010: syntax error before `=' cservice.cc:2016: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:2019: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:2020: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:2021: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc: In method `bool gnuworld::cservice::serverNotice(gnuworld::Channel *, const char *, ...)': cservice.cc:2056: syntax error before `;' cservice.cc:2058: `_list' undeclared (first use this function) cservice.cc:2058: implicit declaration of function `int gnuworld::va_start(...)' cservice.cc:2060: implicit declaration of function `int gnuworld::va_end(...)' cservice.cc: In method `bool gnuworld::cservice::logAdminMessage(const char *, ...)': cservice.cc:2104: syntax error before `;' cservice.cc: In method `bool gnuworld::cservice::logDebugMessage(const char *, ...)': cservice.cc:2129: syntax error before `;' cservice.cc: In method `int gnuworld::cservice::OnChannelEvent(const channelEventType &, gnuworld::Channel *, void *, void *, void *, void *)': cservice.cc:2669: no matching function for call to `gnuworld::sqlPendingTraffic::sqlPendingTraffic (gnuworld::cmDatabase *&)' sqlPendingTraffic.h:31: candidates are: gnuworld::sqlPendingTraffic::sqlPendingTraffic(const gnuworld::sqlPendingTraffic &) sqlPendingTraffic.h:31: gnuworld::sqlPendingTraffic::sqlPendingTraffic() cservice.cc: In method `bool gnuworld::cservice::doInternalBanAndKick(gnuworld::sqlChannel *, gnuworld::iClient *, const string &)': cservice.cc:3039: no matching function for call to `gnuworld::sqlBan::sqlBan (gnuworld::cmDatabase *&)' sqlBan.h:97: candidates are: gnuworld::sqlBan::sqlBan(const gnuworld::sqlBan &) sqlBan.h:97: gnuworld::sqlBan::sqlBan() cservice.cc: In method `void gnuworld::cservice::writeChannelLog(gnuworld::sqlChannel *, gnuworld::iClient *, short unsigned int, const string &)': cservice.cc:3148: no matching function for call to `gnuworld::cmDatabase::ExecCommandOk (char *)' cservice.cc: In method `int gnuworld::cservice::Notice(const gnuworld::iClient *, const char *, ...)': cservice.cc:3232: syntax error before `;' cservice.cc:3234: use of class template `template <class _Tp, class _Alloc = class allocator<_Tp1> > list<_Tp,_Alloc>' as expression cservice.cc:3235: use of class template `template <class _Tp, class _Alloc = class allocator<_Tp1> > list<_Tp,_Alloc>' as expression cservice.cc:3236: use of class template `template <class _Tp, class _Alloc = class allocator<_Tp1> > list<_Tp,_Alloc>' as expression cservice.cc: In method `void gnuworld::cservice::loadPendingChannelList()': cservice.cc:3267: syntax error before `=' cservice.cc:3268: `beginStatus' undeclared (first use this function) cservice.cc:3290: syntax error before `=' cservice.cc:3291: `endStatus' undeclared (first use this function) cservice.cc:3320: syntax error before `=' cservice.cc:3325: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:3327: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3345: no matching function for call to `gnuworld::sqlPendingChannel::sqlPendingChannel (gnuworld::cmDatabase *&)' sqlPendingChannel.h:40: candidates are: gnuworld::sqlPendingChannel::sqlPendingChannel(const gnuworld::sqlPendingChannel &) sqlPendingChannel.h:40: gnuworld::sqlPendingChannel::sqlPendingChannel() cservice.cc:3346: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3347: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3348: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3361: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3361: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc: In method `void gnuworld::cservice::checkDbConnectionStatus()': cservice.cc:3392: no matching function for call to `gnuworld::cmDatabase::Status ()' cservice.cc:3392: `CONNECTION_BAD' undeclared (first use this function) cservice.cc:3405: no matching function for call to `gnuworld::cmDatabase::ConnectionBad ()' cservice.cc:3410: no matching function for call to `gnuworld::cmDatabase::ErrorMessage ()' cservice.cc:3427: no matching function for call to `gnuworld::cmDatabase::ExecCommandOk (const char[52])' cservice.cc: In method `void gnuworld::cservice::preloadChannelCache()': cservice.cc:3445: syntax error before `=' cservice.cc:3450: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:3454: no matching function for call to `gnuworld::sqlChannel::sqlChannel (gnuworld::cmDatabase *&)' sqlChannel.h:234: candidates are: gnuworld::sqlChannel::sqlChannel(const gnuworld::sqlChannel &) sqlChannel.h:234: gnuworld::sqlChannel::sqlChannel() cservice.cc:3467: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc: In method `void gnuworld::cservice::preloadBanCache()': cservice.cc:3486: syntax error before `=' cservice.cc:3491: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:3497: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3507: no matching function for call to `gnuworld::sqlBan::sqlBan (gnuworld::cmDatabase *&)' sqlBan.h:97: candidates are: gnuworld::sqlBan::sqlBan(const gnuworld::sqlBan &) sqlBan.h:97: gnuworld::sqlBan::sqlBan() cservice.cc:3515: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc: In method `void gnuworld::cservice::preloadLevelsCache()': cservice.cc:3534: syntax error before `=' cservice.cc:3540: no matching function for call to `gnuworld::cmDatabase::Tuples ()' cservice.cc:3546: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3547: no matching function for call to `gnuworld::cmDatabase::GetValue (int &, int)' cservice.cc:3558: no matching function for call to `gnuworld::sqlLevel::sqlLevel (gnuworld::cmDatabase *&)' sqlLevel.h:147: candidates are: gnuworld::sqlLevel::sqlLevel(const gnuworld::sqlLevel &) sqlLevel.h:147: gnuworld::sqlLevel::sqlLevel() cservice.cc:3568: no matching function for call to `gnuworld::cmDatabase::Tuples ()' gmake[1]: *** [cservice.lo] Error 1 gmake[1]: Leaving directory `/home/ircd/gnuworld/mod.cservice' gmake: *** [all-recursive] Error 1