URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 73439
[ Назад ]

Исходное сообщение
"ошибка сборки сквида"

Отправлено shadecat , 11-Апр-07 15:41 
Приветствую всех, требуется помощь, собираю сквид из исходников с такими параметрами


./configure --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --localstatedir=/var/spool/squid --datadir=/usr/share/squid --enable-async-io --with-pthreads --enable-storeio=ufs,aufs,diskd,null --enable-linux-netfilter --enable-arp-acl --enable-removal-policies=lru,heap --enable-snmp --enable-delay-pools --enable-htcp --enable-poll --enable-cache-digests --enable-underscores --enable-referer-log --enable-useragent-log --enable-auth=basic,digest,ntlm --enable-carp --with-large-files --enable-linux-netfilter --enable-linux-tproxy --enable-err-languages=Russian-koi8-r


и получаю ошибку

if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include    -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -D_REENTRANT -MT client_side.o -MD -MP -MF ".deps/client_side.Tpo" -c -o client_side.o client_side.c; \
then mv -f ".deps/client_side.Tpo" ".deps/client_side.Po"; else rm -f ".deps/client_side.Tpo"; exit 1; fi
client_side.c: In function `clientNatLookup':
client_side.c:4327: error: storage size of `natLookup' isn't known
client_side.c:4333: error: `SIOCGNATL' undeclared (first use in this function)
client_side.c:4333: error: (Each undeclared identifier is reported only once
client_side.c:4333: error: for each function it appears in.)
client_side.c:4349: error: `IPN_TCP' undeclared (first use in this function)
client_side.c:4356: error: `IPL_NAT' undeclared (first use in this function)
client_side.c:4327: warning: unused variable `natLookup'
make[3]: *** [client_side.o] Ошибка 1
make[3]: Leaving directory `/home/wolf/squid-2.6.STABLE12/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/wolf/squid-2.6.STABLE12/src'
make[1]: *** [all] Ошибка 2
make[1]: Leaving directory `/home/wolf/squid-2.6.STABLE12/src'
make: *** [all-recursive] Ошибка 1

помогите, пожалуйста разобраться

squid-2.6.STABLE12
Debian 3.1r3 Sarge


Содержание

Сообщения в этом обсуждении
"ошибка сборки сквида"
Отправлено shadecat , 12-Апр-07 08:38 
все, сам разобрался
убрал --enable-linux-netfilter --enable-linux-tproxy и все собралось