[squid-users] 2.5STABLE3 Segmetation Fault

From: Simon Bryan <sbryan@dont-contact.us>
Date: Mon, 26 May 2003 15:50:14 +1000 (EST)

Hi all,
I am trying to upgrade my Squid from 2.5STABLE120030228 to 2.5STABLE3. All compiled
and installed seemingly OK. However when I go to start it I get a Segmentation
Fault.
There appears to be nothing at all in any of the logs. There is a small error in the
config.log (shown below). I am running on RH8. I do not know where to go next to
resolve this.

Configure Otpions:
./configure --enable-auth=ntlm,basic --enable-basic-auth-helpers=winbind,SMB
--enable-ntlm-auth-helpers=winbind
--enable-external-acl-helpers=wbinfo_group,winbind_group --enable-delay-pools
--with-samba-sources=/usr/src/samba

Config.log warnings and errors:
configure:7766: checking Default FD_SETSIZE value
configure:7796: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:7788: warning: return type defaults to `int'
configure: In function `main':
configure:7791: warning: implicit declaration of function `exit'
configure:7815: checking Maximum number of filedescriptors we can open
configure:7887: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:7834: warning: return type defaults to `int'
configure: In function `main':
configure:7882: warning: implicit declaration of function `exit'
configure:7914: checking Default UDP send buffer size
configure:7940: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:7927: warning: return type defaults to `int'
configure:7959: checking Default UDP receive buffer size
configure:7985: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:7972: warning: return type defaults to `int'
configure:8004: checking Default TCP send buffer size
configure:8030: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:8017: warning: return type defaults to `int'
configure:8049: checking Default TCP receive buffer size
configure:8075: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:8062: warning: return type defaults to `int'
configure:8094: checking if sys_errlist is already defined
configure:8128: checking for libresolv _dns_ttl_ hack
configure:8137: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
/tmp/ccZaZElj.o: In function `main':
/usr/src/squid-2.5.STABLE3/configure:8133: undefined reference to `_dns_ttl_'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8130 "configure"
#include "confdefs.h"
extern int _dns_ttl_;
int main() {
return _dns_ttl_;
; return 0; }
configure:8153: checking if inet_ntoa() actually works
configure:8177: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv -lbsd -lnsl
 1>&5
configure:8166: warning: return type defaults to `int'
configure:8203: checking for working statvfs() interface
configure:8222: gcc -c -g -O2 -Wall conftest.c 1>&5
configure:8242: checking for _res.nsaddr_list

____________________
Simon Bryan
IT Manager
OLMC Parramatta
Received on Sun May 25 2003 - 23:55:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:02 MST