On 11/30/03 4:31 PM, "email@hidden" <email@hidden> wrote:
I am having trouble compiling the mDNSResponder on Debian linux using
the os=linux option with make. I get:
~/mDNSResponder-58/mDNSPosix$ make os=linux
if test ! -d objects ; then mkdir objects ; fi
if test ! -d build ; then mkdir build ; fi
cc -c -g -I../mDNSCore -I. -DMDNS_DEBUGMSGS=2 -DNOT_HAVE_SA_LEN -W
-Wall ../mDNSCore/mDNS.c -o objects/mDNS.c.o
../mDNSCore/mDNS.c: In function `mDNS_RegisterInterface':
../mDNSCore/mDNS.c:6405: parse error before `*'
../mDNSCore/mDNS.c:6407: `q' undeclared (first use in this function)
../mDNSCore/mDNS.c:6407: (Each undeclared identifier is reported only
once
../mDNSCore/mDNS.c:6407: for each function it appears in.)
../mDNSCore/mDNS.c:6418: `rr' undeclared (first use in this function)
make: *** [objects/mDNS.c.o] Error 1
This is fixed in the TOT mDNS sources available through CVS, but you
can fix
it in your copy by moving:
DNSQuestion *q;
AuthRecord *rr;
Above the "if" so it is before any code in that scope. Pre-C99 C
compilers
require variables to be declared at the top of a scope.
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.