I would suggest adding #include <assert.h> in client.cpp (and perhaps other files with the same error).
But the reality is that this software is now pretty much useless as the Posix version of Apple's mDNSResponder now includes a daemon. When I wrote this software, Apple hadn't written a daemon. You can obtain it at http://www.opensource.apple.com/darwinsource/10.4.2/
Cheers,
Graham
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2005-07-20
Thanks, that worked fine!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've been trying to make this daemon on Mepis (Debian variant)
And get this error on make:
make all-recursive
make[1]: Entering directory `/home/jhipkiss/zmdnsd-0.1.2'
Making all in src
make[2]: Entering directory `/home/jhipkiss/zmdnsd-0.1.2/src'
source='client.cpp' object='client.o' libtool=no \ depfile='.deps/client.Po' tmpdepfile='.deps/client.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DNOT_HAVE_SA_LEN -DMDNS_DEBUGMSGS=2 -Wall -pedantic -Wimplicit -g -O2 -c -o client.o `test -f 'client.cpp' || echo './'`client.cpp
client.cpp: In function `void HandleSigInt(int)':
client.cpp:26: error: `assert' undeclared (first use this function)
client.cpp:26: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[2]: *** [client.o] Error 1
make[2]: Leaving directory `/home/jhipkiss/zmdnsd-0.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jhipkiss/zmdnsd-0.1.2'
make: *** [all] Error 2
Any ideas?
Thanks
Jonathan
I would suggest adding #include <assert.h> in client.cpp (and perhaps other files with the same error).
But the reality is that this software is now pretty much useless as the Posix version of Apple's mDNSResponder now includes a daemon. When I wrote this software, Apple hadn't written a daemon. You can obtain it at
http://www.opensource.apple.com/darwinsource/10.4.2/
Cheers,
Graham
Thanks, that worked fine!