[squid-users] squid-3.0-PRE3-20050704

From: Odhiambo Washington <[email protected]>
Date: Mon, 4 Jul 2005 22:50:05 +0300

I hope that I do not have to subscrive to squid-dev to test out
Squid-3.x, yes?

I am hoping to compile $subject on FreeBSD 5.4-STABLE but 'make' fails.
Perhaps someone can figure out the main culprit. I have enabled ipf and
pf transparent modes because I am in the process of migrating from
IPFilter to pf.

#!/bin/sh

./configure --prefix=/usr/local/squid3 \
                --enable-delay-pools \
                --enable-useragent-log \
                --enable-referer-log \
                --enable-arp-acl \
                --enable-ssl \
                --enable-forw-via-db \
                --enable-cache-digests \
                --enable-ipf-transparent \
                --enable-pf-transparent \
                --enable-large-files

... and 'make' fails with the following:

<cut>

depbase=`echo IPInterception.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid3/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib
/libTrie/include -I../lib/cppunit-1.10.0/include -I ../lib/cppunit-1.10.0/include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D
_FILE_OFFSET_BITS=64 -g -O2 -MT IPInterception.o -MD -MP -MF "$depbase.Tpo" -c -o IPInterception.o IPInterception.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
In file included from IPInterception.cc:74:
/usr/include/net/pfvar.h:368:34: "not" may not appear in macro parameter list
In file included from IPInterception.cc:74:
/usr/include/net/pfvar.h:396: error: expected unqualified-id before '!' token
IPInterception.cc: In function `int clientNatLookup(int, sockaddr_in, sockaddr_in, sockaddr_in*)':
IPInterception.cc:87: error: aggregate `natlookup natLookup' has incomplete type and cannot be defined
IPInterception.cc:89: error: `SIOCGNATL' undeclared (first use this function)
IPInterception.cc:89: error: (Each undeclared identifier is reported only once for each function it appears in.)
IPInterception.cc:96: error: `IPN_TCP' undeclared (first use this function)
gmake[3]: *** [IPInterception.o] Error 1
gmake[3]: Leaving directory `/usr/home/wash/PROJECTS/Squid-3.0/squid-3.0-PRE3-20050704/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/wash/PROJECTS/Squid-3.0/squid-3.0-PRE3-20050704/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/wash/PROJECTS/Squid-3.0/squid-3.0-PRE3-20050704/src'
gmake: *** [all-recursive] Error 1
</cut>

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Real programmers don't write in BASIC.  Actually, no programmers write
in BASIC after reaching puberty.
Received on Mon Jul 04 2005 - 13:50:16 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT