Here is the gcc call to compile socket.c<div><br></div><div>gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'   -g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.c</div>
<div><br></div><div>Which results in the following:</div><div><br></div><div><div>socket.c: In function ‘if_register_socket’:</div><div>socket.c:299: error: ‘IPV6_PKTINFO’ undeclared (first use in this function)</div><div>
socket.c:299: error: (Each undeclared identifier is reported only once</div><div>socket.c:299: error: for each function it appears in.)</div><div>socket.c: In function ‘send_packet6’:</div><div>socket.c:746: error: ‘IPV6_PKTINFO’ undeclared (first use in this function)</div>
<div>socket.c: In function ‘receive_packet6’:</div><div>socket.c:957: error: ‘IPV6_PKTINFO’ undeclared (first use in this function)</div><div>make[2]: *** [socket.o] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div>
<div>make: *** [all-recursive] Error 1</div></div><div><br></div><div><br><div class="gmail_quote">On Tue, Aug 28, 2012 at 4:41 AM, Cathy Almond <span dir="ltr"><<a href="mailto:cathya@isc.org" target="_blank">cathya@isc.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 28/08/12 04:40, Richard Robbins wrote:<br>
> Has anyone successfully compiled DHCP 4.2.4-P1 on Mac OS X Mountain Lion<br>
> Server?<br>
><br>
> I get through the configuration phase without difficulty.<br>
><br>
> During execution of the Make process the system errors out when attempting<br>
> to compile socket.c in the bind directory.<br>
><br>
> Thanks in advance,<br>
><br>
</div></div>Hi Rich,<br>
<br>
What errors are you encountering?  (This sounds like something that<br>
should be reported as a bug, although the 'how/where' depends on the<br>
details.  I didn't find any prior reports of this in our tracking system).<br>
<br>
Cathy<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br></div>