[Dnsmasq-discuss] OS X hosted dnsmasq for AD SRV records

Simon Kelley simon at thekelleys.org.uk
Tue Nov 23 16:14:08 GMT 2010


Peet McKinney wrote:
> On Nov 23, 2010, at 8:10 AM, Simon Kelley wrote:
>> It's half a dozen lines of scary linked-list manipulation, could you try
>>
>> http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.56test16.tar.gz
>>
>> and see if behaves sensibly?
> 
> I apologize in advance for my lack of wicked-good *nix-foo.  make seems to fail with this source on OS X 10.6.5 and Xcode 3.2.4. I'm trying to download and install Xcode 3.2.5 just incase.  Below is the output from the make ...
> 
> bash-3.2# cd /Users/jadmin/Downloads/dnsmasq-2.56test16 
> bash-3.2# make
> cc -Wall -W -O2     -c cache.c
> cc -Wall -W -O2     -c rfc1035.c
> cc -Wall -W -O2     -c util.c
> cc -Wall -W -O2     -c option.c
> cc -Wall -W -O2     -c forward.c
> cc -Wall -W -O2     -c network.c
> network.c: In function ‘indextoname’:
> network.c:100: warning: unused parameter ‘fd’
> network.c: In function ‘local_bind’:
> network.c:621: warning: unused parameter ‘intname’
> cc -Wall -W -O2     -c dnsmasq.c
> cc -Wall -W -O2     -c dhcp.c
> cc -Wall -W -O2     -c lease.c
> cc -Wall -W -O2     -c rfc2131.c
> cc -Wall -W -O2     -c netlink.c
> cc -Wall -W -O2     -c dbus.c
> cc -Wall -W -O2     -c bpf.c
> bpf.c: In function ‘arp_enumerate’:
> bpf.c:77: warning: implicit declaration of function ‘SA_SIZE’
> cc -Wall -W -O2     -c helper.c
> cc -Wall -W -O2     -c tftp.c
> cc -Wall -W -O2     -c log.c
> cc  -o dnsmasq cache.o rfc1035.o util.o option.o forward.o network.o dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o tftp.o log.o   
> Undefined symbols:
>   "_SA_SIZE", referenced from:
>       _arp_enumerate in bpf.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [dnsmasq] Error 1
> make: *** [all] Error 2
> 
> Thanks Again.Peet
> 

The problem's at this end: some unrelated changes that expose
differences between the BSD and Apple network APIs.

2.56test17 is in the same place now, and should fix this. I made the
plist changes too.


Cheers,

Simon.






More information about the Dnsmasq-discuss mailing list