Menu

make error

Anonymous
2005-07-19
2013-02-27
  • Anonymous

    Anonymous - 2005-07-19

    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

     
    • Graham Dennis

      Graham Dennis - 2005-07-20

      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

       
    • Anonymous

      Anonymous - 2005-07-20

      Thanks, that worked fine!

       

Log in to post a comment.