<div dir="ltr"><div dir="ltr">OS is FreeBSD 11.2:</div><div dir="ltr">squid-5.0.0-20181111-r1205859  <br><div><br></div><div><div>Making all in eDirectory_userip</div><div>depbase=`echo ext_edirectory_userip_acl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid-5/etc/squid.conf\"  -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid-5/share\"  -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid-5/etc\"    -I../../../.. -I../../../../include  -I../../../../lib -I../../../../src  -I../../../../include  -I/usr/include  -I/usr/include  -I../../../../libltdl -I/usr/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2  -Werror -Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -I/usr/local/include  -I/usr/local/include   -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -g -O2 -march=native -I/usr/local/include -MT ext_edirectory_userip_acl.o -MD -MP -MF $depbase.Tpo -c -o ext_edirectory_userip_acl.o ext_edirectory_userip_acl.cc && mv -f $depbase.Tpo $depbase.Po</div><div>ext_edirectory_userip_acl.cc:891:31: error: use of undeclared identifier 'AF_INET6'</div><div>        if (dst->ai_family == AF_INET6) {</div><div>                              ^</div><div>ext_edirectory_userip_acl.cc:893:64: error: member access into incomplete type 'struct sockaddr_in6'</div><div>            const char *ia = reinterpret_cast<const char *>(sia->sin6_addr.s6_addr);</div><div>                                                               ^</div><div>ext_edirectory_userip_acl.cc:892:20: note: forward declaration of 'sockaddr_in6'</div><div>            struct sockaddr_in6 *sia = reinterpret_cast<struct sockaddr_in6 *>(dst->ai_addr);</div><div>                   ^</div><div>ext_edirectory_userip_acl.cc:893:66: error: expected ')'</div><div>            const char *ia = reinterpret_cast<const char *>(sia->sin6_addr.s6_addr);</div><div>                                                                 ^</div><div>ext_edirectory_userip_acl.cc:893:60: note: to match this '('</div><div>            const char *ia = reinterpret_cast<const char *>(sia->sin6_addr.s6_addr);</div><div>                                                           ^</div><div>ext_edirectory_userip_acl.cc:896:38: error: use of undeclared identifier 'AF_INET'</div><div>        } else if (dst->ai_family == AF_INET) {</div><div>                                     ^</div><div>ext_edirectory_userip_acl.cc:898:66: error: member access into incomplete type 'struct sockaddr_in'</div><div>            const char *ia = reinterpret_cast<const char *>(&(sia->sin_addr));</div><div>                                                                 ^</div><div>ext_edirectory_userip_acl.cc:897:20: note: forward declaration of 'sockaddr_in'</div><div>            struct sockaddr_in *sia = reinterpret_cast<struct sockaddr_in *>(dst->ai_addr);</div><div>                   ^</div><div>5 errors generated.</div><div>*** Error code 1</div><div><br></div><div>Stop.</div><div>make[5]: stopped in /usr/home/wash/Tools/Squid/5.x/squid-5.0.0-20181111-r1205859/src/acl/external/eDirectory_userip</div><div>*** Error code 1</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">"</span></div></div></div></div></div></div>