Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 12851
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: sscanlon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.49
Fixed in: (no value)



Subject: Net::DNS on OS X Tiger (10.4) build errors
building on OS X tiger with the stock version of perl (v5.8.6 built for darwin-thread-multi-2level) fails due to undeclared symbols $make cc -c -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.49\" -DXS_VERSION=\"0.49\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" DNS.c DNS.xs: In function 'XS_Net__DNS__Packet_dn_expand_XS': DNS.xs:58: error: 'MAXDNAME' undeclared (first use in this function) DNS.xs:58: error: (Each undeclared identifier is reported only once DNS.xs:58: error: for each function it appears in.) DNS.xs:68: warning: pointer targets in passing argument 1 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 2 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 3 of 'res_9_dn_expand' differ in signedness make: *** [DNS.o] Error 1 I was able to build by changing all refs of "MAXDNAME" to "NS_ MAXDNAME" in DNS.xs All tests completed successfully Hope that helps.
Show quoted text
> I was able to build by changing all refs of "MAXDNAME" to "NS_ > MAXDNAME" in DNS.xs
See this is one of the many solutions to the same problem. Also see: http://www.net-dns.org/blog/post/1/15 Thanks for your contribution though! --Olaf