compile problem

Hi.

I'm trying to compile the sw but I obtain following:

[root@mx2 release-1.005]# make
cd . && /bin/sh /root/software/release-1.005/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/root/software/release-1.005'
Making all in src
make[2]: Entering directory `/root/software/release-1.005/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g0 -O -g -O2 -MT configreader.o -MD -MP -MF ".deps/configreader.Tpo" -c -o configreader.o configreader.cpp; \
then mv -f ".deps/configreader.Tpo" ".deps/configreader.Po"; else rm -f ".deps/configreader.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g0 -O -g -O2 -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.cpp; \
then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
In file included from db.cpp:39:
dbiquote.h:60:2: warning: #warning "using old DBI dbi_driver_quote_string -> using workaround"
db.cpp: In member function `void DB::open()':
db.cpp:130: error: invalid conversion from `const char*' to `char*'
db.cpp:130: error: initializing argument 3 of `int dbi_conn_set_option(void*, const char*, char*)'
db.cpp: In member function `DB::RecordStatus DB::update(const Triplet&)':
db.cpp:234: error: `dbi_conn_ping' was not declared in this scope
make[2]: *** [db.o] Error 1
make[2]: Leaving directory `/root/software/release-1.005/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/release-1.005'
make: *** [all] Error 2

dbi rpm installed:

libdbi-0.6.5-10.RHEL4.1
libdbi-devel-0.6.5-10.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1

I've followed the instructions here:
http://phorum5.greennet.org.uk/read.php?22,7137

BTW hope I'll receive answer to my previous post too:
http://phorum5.greennet.org.uk/read.php?22,7186

Thank's - Simon

Forums: 

Looks like you hit a bug. I hadn't tested compatibility with the old dbi library after introducing the check for whether the db connection is still alive. In some cases this seemed quite useful as on low volume mail systems (e.g. secondary mx) gps processes can be hanging around for a long time and gt disconnected by the db server.
Is there a chance you could upgrade dbi - maybe find an rpm of a newer version or even get the sources from sourceforge and compile it manually?
If that's not an option let me know and I'll see if I can tell you how to disable the check (dbi_conn_ping) though I guess it's better to have it.

mimo

I'll try to compile the new dbi and let you know!
Meanwhile I wish you a happy 2008 :)

Simon

Ok, it work's!
Now I'll try the software in the next days ;)

Bye and thank's!

Simon