Search squid archive

2.6-16 compile error on freebsd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I get a compile error with squid-2.6-STABLE-16 as follows

2.6-15 compiles normally


awk -f ./cf_gen_defines <./cf.data.pre >cf_gen_defines.h
sed " s%@DEFAULT_HTTP_PORT@%3128%g; s%@DEFAULT_ICP_PORT@%3130%g;
s%@DEFAULT_MIME_TABLE@%/usr/local/squid/etc/mime.conf%g;
s%@DEFAULT_DNSSERVER@%/usr/local/squid/libexec/`echo dnsserver | sed
's,x,x,;s/$//'`%g; s%@DEFAULT_UNLINKD@%/usr/local/squid/libexec/`echo
unlinkd | sed 's,x,x,;s/$//'`%g;
s%@DEFAULT_PINGER@%/usr/local/squid/libexec/`echo pinger | sed
's,x,x,;s/$//'`%g; s%@DEFAULT_DISKD@%/usr/local/squid/libexec/`echo
diskd-daemon | sed 's,x,x,;s/$//'`%g;
s%@DEFAULT_CACHE_LOG@%/usr/local/squid/var/logs/cache.log%g;
s%@DEFAULT_ACCESS_LOG@%/usr/local/squid/var/logs/access.log%g;
s%@DEFAULT_STORE_LOG@%/usr/local/squid/var/logs/store.log%g;
s%@DEFAULT_PID_FILE@%/usr/local/squid/var/logs/squid.pid%g;
s%@DEFAULT_SWAP_DIR@%/usr/local/squid/var/cache%g;
s%@DEFAULT_ICON_DIR@%/usr/local/squid/share/icons%g;
s%@DEFAULT_MIB_PATH@%/usr/local/squid/share/mib.txt%g;
s%@DEFAULT_ERROR_DIR@%/usr/local/squid/share/errors/Portuguese%g;
s%@DEFAULT_PREFIX@%/usr/local/squid%g; s%@DEFAULT_HOSTS@%/etc/hosts%g;
s%@[V]ERSION@%2.6.STABLE16%g;" < ./cf.data.pre >cf.data
if gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include     -Wall -g -O2 -MT
cf_gen.o -MD -MP -MF ".deps/cf_gen.Tpo" -c -o cf_gen.o cf_gen.c;  then mv
-f ".deps/cf_gen.Tpo" ".deps/cf_gen.Po"; else rm -f ".deps/cf_gen.Tpo";
exit 1; fi
if gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include     -Wall -g -O2 -MT
debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c;  then mv -f
".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1;
fi
/usr/bin/perl ./mk-globals-c.pl < ./globals.h > globals.c
if gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include     -Wall -g -O2 -MT
globals.o -MD -MP -MF ".deps/globals.Tpo" -c -o globals.o globals.c;  then
mv -f ".deps/globals.Tpo" ".deps/globals.Po"; else rm -f
".deps/globals.Tpo"; exit 1; fi
gcc  -Wall -g -O2  -g -o cf_gen  cf_gen.o debug.o globals.o -L../lib
-lmiscutil -lm
./cf_gen cf.data ./cf.data.depend
*** Signal 10

Stop in /usr/local/squid/squid-2.6.STABLE16/src.
*** Error code 1



here the options I use

./configure --enable-default-err-language=Portuguese \
        --enable-storeio=diskd,ufs,null \
        --enable-removal-policies=heap,lru --enable-underscores
--disable-ident-lookups \
        --disable-hostname-checks --enable-large-files
--disable-http-violations \
        --enable-snmp --enable-truncate \
        --enable-external-acl-helpers=session \
        --disable-wccp --disable-wccpv2 \
        --enable-follow-x-forwarded-for \
        --disable-linux-tproxy --disable-linux-netfilter --disable-epoll \


Michel
...




****************************************************
Tecnologia Internet Matik http://info.matik.com.br
Sistemas Wireless para o Provedor Banda Larga
Hospedagem e Email personalizado - e claro, no Brasil.
****************************************************


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux