tacppd won't compile under FreeBSD tried under 5.4 and
5.5 PRE and 6.0
# gmake
g++ -I./include -g -O2 -I/usr/local/include -
I/usr/local/include -g -O2 -DUSENETSNMP -UWITH_CCARD -
DHAVE_SSTREAM -UWITH_XMLRPC -DWITH_PERL -
DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -
DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-
aliasing -pipe -I/usr/local/include -
I/usr/local/lib/perl5/5.8.5/mach/CORE -DFREEBSD -
pthread -D_THREAD_SAFE -Wall -c -o src/AAA.o
src/AAA.cc
In file included from src/global.h:198,
from src/AAA.cc:19:
./include/db_module.h:517: error: `DbField::DbField
(std::string, std::string, std::string, time_t, int)'
and `DbField::DbField(std::string, std::string,
std::string, int, int)' cannot be overloaded
./include/db_module.h:868: error: `void DbTable::add
(std::string, std::string, std::string, time_t, int)'
and `void DbTable::add(std::string, std::string,
std::string, int, int)' cannot be overloaded
./include/db_module.h:884: error: `void DbTable::add
(std::string, time_t)' and `void DbTable::add
(std::string, int)' cannot be overloaded
./include/db_module.h:1252: error: `bool DbTable::get
(std::string, time_t*)' and `bool DbTable::get
(std::string, int*)' cannot be overloaded
./include/db_module.h:1272: error: `void DbTable::set
(std::string, time_t)' and `void DbTable::set
(std::string, int)' cannot be overloaded
gmake: *** [src/AAA.o] Error 1
Same sort of error every time.
Logged In: YES
user_id=598929
which gcc version do you use? I just successfully compile it
with gcc 4.0.2. Also better try to get latest code from CVS.
If you have problems with CVS, write, i will make archive.
Logged In: NO
I am using GCC v 3.4.4 which is the standard gcc version for FreeBSD 6.1, Not quite too sure how to upgrade the gcc version without breaking a lot of things. Tried ports /usr/ports/lang/gcc42 , however that does not overwrite the gcc installation at all, so configure uses the old gcc version.