[squid-users] make errors after applying customlog-2_5.patch

From: Gary Kahn <gkahn@dont-contact.us>
Date: Sat, 20 May 2006 22:32:02 -0400

Hello Everybody,

I am getting make errors after applying the customlog-2_5.patch. I
am using the squid-2.5.STABLE14 release on a Fedora Core 4 system.
There are no errors applying the patch, but when I do a make I get
the following errors. I have tried to apply the patch on
squid-2.5.STABLE13-20060520 and squid-2.5.STABLE13, but I get the
same make errors. Any help would be greatly appreciated as I cannot
go live with squid until I can get access_log stats that awstats can
read.

Thanks for any help you can offer,
Gary

gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/
squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../
include -g -O2 -Wall -c `test -f logfile.c || echo './'`logfile.c
logfile.c: In function ‘syslog_ntoa’:
logfile.c:49: error: syntax error before ‘_symbols’
logfile.c: At top level:
logfile.c:102: error: syntax error before ‘&&’ token
logfile.c:102: error: ‘s’ undeclared here (not in a function)
logfile.c:102: error: ‘__s2’ undeclared here (not in a function)
logfile.c:102: error: syntax error before ‘if’
logfile.c:102: warning: type defaults to ‘int’ in declaration of
‘__result’
logfile.c:102: error: non-static declaration of ‘__result’ follows
static declaration
logfile.c:102: error: previous definition of ‘__result’ was here
logfile.c:102: warning: data definition has no type or storage class
logfile.c:102: error: syntax error before ‘}’ token
logfile.c:102: error: static declaration of ‘__result’ follows non-
static declaration
logfile.c:102: error: previous declaration of ‘__result’ was here
logfile.c:102: error: ‘__s1’ undeclared here (not in a function)
logfile.c:102: error: ‘p’ undeclared here (not in a function)
logfile.c:102: error: syntax error before ‘if’
logfile.c:102: warning: type defaults to ‘int’ in declaration of
‘__result’
logfile.c:102: error: non-static declaration of ‘__result’ follows
static declaration
logfile.c:102: error: previous definition of ‘__result’ was here
logfile.c:102: warning: data definition has no type or storage class
logfile.c:102: error: syntax error before ‘}’ token
logfile.c:102: error: syntax error before ‘&&’ token
logfile.c:102: error: static declaration of ‘__result’ follows non-
static declaration
logfile.c:102: error: previous declaration of ‘__result’ was here
logfile.c:102: error: syntax error before ‘if’
logfile.c:102: warning: type defaults to ‘int’ in declaration of
‘__result’
logfile.c:102: error: non-static declaration of ‘__result’ follows
static declaration
logfile.c:102: error: previous definition of ‘__result’ was here
logfile.c:102: warning: data definition has no type or storage class
logfile.c:102: error: syntax error before ‘}’ token
logfile.c:102: error: static declaration of ‘__result’ follows non-
static declaration
logfile.c:102: error: previous declaration of ‘__result’ was here
logfile.c:102: error: syntax error before ‘if’
logfile.c:102: warning: type defaults to ‘int’ in declaration of
‘__result’
logfile.c:102: error: non-static declaration of ‘__result’ follows
static declaration
logfile.c:102: error: previous definition of ‘__result’ was here
logfile.c:102: warning: data definition has no type or storage class
logfile.c:102: error: syntax error before ‘}’ token
logfile.c: In function ‘logfileOpen’:
logfile.c:120: warning: initialization discards qualifiers from
pointer target type
logfile.c:128: warning: suggest parentheses around comparison in
operand of &
make[3]: *** [logfile.o] Error 1
make[3]: Leaving directory `/usr/src/squid/squid-2.5.STABLE14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/squid/squid-2.5.STABLE14/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/squid/squid-2.5.STABLE14/src'
make: *** [all-recursive] Error 1
Received on Sat May 20 2006 - 20:32:09 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT