<div dir="ltr"><div>[root@mail /usr/home/wash/ILI/Squid/4.x/squid-4.0.4]# make</div><div>Making all in compat</div><div>depbase=`echo eui64_aton.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H    -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  -Werror -Qunused-arguments  -D_REENTRANT  -MT eui64_aton.lo -MD -MP -MF $depbase.Tpo -c -o eui64_aton.lo eui64_aton.c && mv -f $depbase.Tpo $depbase.Plo</div><div>libtool: compile:  gcc -DHAVE_CONFIG_H -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 -Werror -Qunused-arguments -D_REENTRANT -MT eui64_aton.lo -MD -MP -MF .deps/eui64_aton.Tpo -c eui64_aton.c  -fPIC -DPIC -o .libs/eui64_aton.o</div><div>gcc: error: unrecognized command line option '-Qunused-arguments'</div><div>*** Error code 1</div><div><br></div><div>Stop.</div><div>make[1]: stopped in /usr/home/wash/ILI/Squid/4.x/squid-4.0.4/compat</div><div>*** Error code 1</div><div><br></div><div>Stop.</div><div>make: stopped in /usr/home/wash/ILI/Squid/4.x/squid-4.0.4</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 January 2016 at 18:28, Kinkie <span dir="ltr"><<a href="mailto:gkinkie@gmail.com" target="_blank">gkinkie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
   I see that there is no -I/usr/local/include option to the compiler.<br>
<br>
Add that as a CPPLAGS when calling configure<br>
(e.g.<br>
CPPFLAGS=-I/usr/local/include ./configure<br>
)<br>
this should fix the build for you.<br>
<div><div class="h5"><br>
<br>
On Wed, Jan 13, 2016 at 4:25 PM, Odhiambo Washington <<a href="mailto:odhiambo@gmail.com">odhiambo@gmail.com</a>> wrote:<br>
> I am trying to compile on FreeBSD 10.1-RELEASE-amd64<br>
><br>
><br>
> <cut><br>
> /bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H   -I..<br>
> -I../include -I../lib -I../src -I../include  -I/usr/include  -I/usr/include<br>
> -I../libltdl -I/usr/include -I/usr/local/include/libxml2  -Werror<br>
> -Qunused-arguments  -D_REENTRANT  -MT md5.lo -MD -MP -MF $depbase.Tpo -c -o<br>
> md5.lo md5.c &&\<br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> libtool: compile:  clang -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src<br>
> -I../include -I/usr/include -I/usr/include -I../libltdl -I/usr/include<br>
> -I/usr/local/include/libxml2 -Werror -Qunused-arguments -D_REENTRANT -MT<br>
> md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.o<br>
> In file included from md5.c:41:<br>
> ../include/md5.h:13:10: fatal error: 'nettle/md5.h' file not found<br>
> #include <nettle/md5.h><br>
>          ^<br>
> 1 error generated.<br>
> Makefile:956: recipe for target 'md5.lo' failed<br>
> gmake[2]: *** [md5.lo] Error 1<br>
> gmake[2]: Leaving directory '/usr/home/wash/ILI/Squid/4.x/squid-4.0.4/lib'<br>
> Makefile:1001: recipe for target 'all-recursive' failed<br>
> gmake[1]: *** [all-recursive] Error 1<br>
> gmake[1]: Leaving directory '/usr/home/wash/ILI/Squid/4.x/squid-4.0.4/lib'<br>
> Makefile:579: recipe for target 'all-recursive' failed<br>
> gmake: *** [all-recursive] Error 1<br>
><br>
> </cut><br>
><br>
><br>
><br>
> But the file is there ...<br>
><br>
><br>
> wash@mail:~/ILI/Squid/4.x/squid-4.0.4$ ls -al<br>
> /usr/local/include/nettle/md5.h<br>
> -rw-r--r--  1 root  wheel  2023 Jan  7  2015 /usr/local/include/nettle/md5.h<br>
><br>
><br>
> --<br>
> Best regards,<br>
> Odhiambo WASHINGTON,<br>
> Nairobi,KE<br>
> +254 7 3200 0004/+254 7 2274 3223<br>
> "Oh, the cruft."<br>
><br>
</div></div>> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
<span class=""><font color="#888888"><br>
<br>
<br>
--<br>
    Francesco<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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>