[squid-users] Squid-4.0.4 on FreeBSD

Amos Jeffries squid3 at treenet.co.nz
Wed Jan 13 16:38:27 UTC 2016


On 14/01/2016 5:23 a.m., Odhiambo Washington wrote:
> [root at mail /usr/home/wash/ILI/Squid/4.x/squid-4.0.4]# make
> Making all in compat
> 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
> 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
> gcc: error: unrecognized command line option '-Qunused-arguments'
> *** Error code 1

Thats building C code with GCC all of a sudden with the clang option
set. It was doing C++ code with clang in your earlier trace. The
compilers for FreeBSD should be (clang and clang++) as a pair or (gcc
and g++) as a pair. They cannot be cross-paired like (gcc and clang++).

Amos



More information about the squid-users mailing list