[squid-users] Squid-3.3.3 fails to compile..

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Tue, 26 Mar 2013 15:51:53 +0300

On FreeBSD 9.
Anyone knows why my compile fails viz:

mv -f .deps/Address.Tpo .deps/Address.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-I/usr/inc
lude -I/usr/include -I../../libltdl -I/usr/include
-I/usr/local/include/libxml2 -I/usr/include -I/usr/include
-I/usr/local/include/libxml2
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe
-D_REENTRANT -g -O2 -I/usr/local/include -MT Intercept.lo -MD -MP -MF
.deps/Interc
ept.Tpo -c -o Intercept.lo Intercept.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -I/usr/include -I/usr/include
-I../../libl
tdl -I/usr/include -I/usr/local/include/libxml2 -I/usr/include
-I/usr/include -I/usr/local/include/libxml2 -Wall -Wpointer-arith
-Wwrite-strings
-Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT
Intercept.lo -MD -MP -MF .deps/Intercept.Tpo -c Intercept.cc -fPIC
-DPIC -
o .libs/Intercept.o
Intercept.cc: In member function 'bool
Ip::Intercept::IpfInterception(const Comm::ConnectionPointer&, int)':
Intercept.cc:210: error: 'enter_suid' was not declared in this scope
Intercept.cc:217: error: 'leave_suid' was not declared in this scope
gmake[3]: *** [Intercept.lo] Error 1
gmake[3]: Leaving directory
`/usr/home/wash/Tools/Squid/3.3/squid-3.3.3-20130326-r12517/src/ip'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/home/wash/Tools/Squid/3.3/squid-3.3.3-20130326-r12517/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/home/wash/Tools/Squid/3.3/squid-3.3.3-20130326-r12517/src'
gmake: *** [all-recursive] Error 1

My configure options:

!/bin/sh
./configure --prefix=/opt/squid33 \
        --enable-removal-policies="lru heap" \
        --disable-linux-netfilter \
        --disable-linux-tproxy \
        --disable-epoll \
        --enable-auth \
        --enable-basic-auth-helpers="DB NCSA PAM MSNT YP PAM POP3 SMB
SSPI MSNT" \
        --enable-digest-auth-helpers=password \
        --enable-external-acl-helpers="ip_user session unix_group
wbinfo_group file_userip eDirectory_userip" \
        --enable-ntlm-auth-helpers="smb_lm SSPI" \
        --with-pthreads \
        --enable-storeio="ufs diskd aufs" \
        --enable-delay-pools \
        --enable-snmp \
        --with-openssl=/usr \
        --enable-forw-via-db \
        --enable-cache-digests \
        --enable-wccpv2 \
        --enable-referer-log \
        --enable-useragent-log \
        --enable-arp-acl \
        --enable-follow-x-forwarded-for \
        --with-large-files \
        --enable-large-cache-files \
        --enable-err-languages="English French" \
        --enable-default-err-language=English \
        --enable-esi \
        --enable-kqueue \
        --enable-icap-client \
        --enable-kill-parent-hack \
        --enable-ssl \
        --enable-leakfinder \
        --enable-ssl-crtd \
        --enable-url-rewrite-helpers \
        --enable-xmalloc-statistics \
        --enable-stacktraces \
        --enable-auth-negotiate="SSPI kerberos" \
        --enable-zph-qos \
        --enable-eui \
        --enable-pf-transparent \
        --enable-ipf-transparent

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
Received on Tue Mar 26 2013 - 12:52:45 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 26 2013 - 12:00:05 MDT