Xymon Mailing List Archive search

Client build fails on Debian 2.1/slink (i386)

list Henrik Størner
Thu, 20 Jul 2006 18:09:10 +0200
Message-Id: <user-741c24b019ef@xymon.invalid>

On Thu, Jul 20, 2006 at 05:35:03PM +0200, Charles Goyard wrote:
I got a conflict with dprintf() when compiling the hobbit client on
Debian 2.1.
How about fixing it with "apt-get dist-upgrade" ... ?

Maybe not.
/tmp/cvf/include/../lib/errormsg.h:21: conflicting types for `dprintf'
/usr/include/stdio.h:159: previous declaration of `dprintf'
Like they say in the man-page "Clearly, the names were badly chosen."

Indeed.

I've changed all 351 instances of "dprintf" to "dbgprintf"... grab the
latest version of the portability patch from
http://www.hswn.dk/hobbitsw/betapatches/


Regards,
Henrik