Re: [squid-users] Errors in Squid 2.5STABLE1.

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Mon, 30 Sep 2002 15:27:49 +0200

Sandra Estrada Moreno wrote:
>
> > Hi,
> > Can you help me??
> > I download the source code for SQUID 2.5.STABLE1, when compile i had this
> > errors in config.log file,
> > How to fix this errors of /usr/squid-2.5.STABLE1/configure:8045:
> > undefined reference to `_dns_ttl_'
> > if I have installed BIND 9.2.0 with RPM.
> > What´s meaning the WARNINGS???
> >
> > THANKS A LOT, please answer me !!.
> >
> > Regards.
> >
> > configure:7678: checking Default FD_SETSIZE value
> > configure:7708: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7700: warning: return type defaults to `int'
> > configure: In function `main':
> > configure:7703: warning: implicit declaration of function `exit'
> > configure:7727: checking Maximum number of filedescriptors we can open
> > configure:7799: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7746: warning: return type defaults to `int'
> > configure: In function `main':
> > configure:7794: warning: implicit declaration of function `exit'
> > configure:7826: checking Default UDP send buffer size
> > configure:7852: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7839: warning: return type defaults to `int'
> > configure:7871: checking Default UDP receive buffer size
> > configure:7897: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7884: warning: return type defaults to `int'
> > configure:7916: checking Default TCP send buffer size
> > configure:7942: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7929: warning: return type defaults to `int'
> > configure:7961: checking Default TCP receive buffer size
> > configure:7987: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:7974: warning: return type defaults to `int'
> > configure:8006: checking if sys_errlist is already defined
> > configure:8040: checking for libresolv _dns_ttl_ hack
> > configure:8049: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > /tmp/ccqHO30E.o: In function `main':
> > /usr/squid-2.5.STABLE1/configure:8045: undefined reference to `_dns_ttl_'
> > collect2: ld returned 1 exit status
> > configure: failed program was:
> > #line 8042 "configure"
> > #include "confdefs.h"
> > extern int _dns_ttl_;
> > int main() {
> > return _dns_ttl_;
> > ; return 0; }
> > configure:8065: checking if inet_ntoa() actually works
> > configure:8089: gcc -o conftest -g -O2 -Wall -g conftest.c -lm -lresolv
> > -lbsd -lnsl 1>&5
> > configure:8078: warning: return type defaults to `int'
> > configure:8115: checking for working statvfs() interface
> > configure:8134: gcc -c -g -O2 -Wall conftest.c 1>&5
> > configure:8154: checking for _res.nsaddr_list

 Could you post the configure arguments ?

 I am not sure whether this bind version uses none standard
 or simply another directory of libresolv.a
 If so, you may need to edit 'configure' and specify
   
    -L_path_to_resolver_dir
 
 on the command line, so that configure can compile the
 conftest program correctly.

 M.

-- 
 'Time is a consequence of Matter thus
 General Relativity is a direct consequence of QM
 (M.E. Mar 2002)
Received on Mon Sep 30 2002 - 07:27:55 MDT

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