Re: [squid-users] dns ttl issue when configuring/compiling

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Fri, 03 Jan 2003 14:25:13 +0100

Mike Cudmore wrote:
>
> When I compile squid I see an error.
>
> It appears nt to be a critical failure.
>
> Can I safely ignore this ?

  I don't think so.

>
> tail of config.log
>
> lpthread -lm -lresolv -lbsd -lnsl 1>&5
> /tmp/ccyirgzA.o: In function `main':
> /root/squid-2.5.STABLE1-20021223/configure:8063: undefined reference to
> `_dns_ttl_'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 8060 "configure"
> #include "confdefs.h"
> extern int _dns_ttl_;
> int main() {
> return _dns_ttl_;
> ; return 0; }
> configure:8083: checking if inet_ntoa() actually works
> configure:8107: gcc -o conftest -DNUMTHREADS=30 -D_REENTRANT -g
> conftest.c -lpthread -lm -lresolv -lbsd -lnsl 1>&5
> configure:8133: checking for working statvfs() interface
> configure:8152: gcc -c -DNUMTHREADS=30 -D_REENTRANT conftest.c 1>&5
> configure:8172: checking for _res.nsaddr_list

 On which platform/os/version ?

 Can you post the full configure transcript so to speak,
 including the options given to configure.

 You may want to for instance :

 % script configure.forme
 % ./configure ....

 And so on,

 At the problem condition exit the script and post the
 result here.

 (Make sure to start with a clean distribution).

 M.

>
> Regards
> Mike Cudmore
> GSI & Intranet Connectivity Team
>
> *********************************************************************
> This E-mail and any files transmitted with it are private and
> intended solely for the use of the individual or entity to whom
> they are addressed. If you are not the intended recipient,
> the E-mail and any files have been transmitted to you in error
> and any copying, distribution or other use of the information
> contained in them is strictly prohibited.
>
> Nothing in this E-mail message amounts to a contractual
> or other legal commitment on the part of the Government
> unless confirmed by a communication signed on behalf of
> the Secretary of State.
>
> The Department's computer systems may be monitored
> and communications carried on them recorded, to secure
> the effective operation of the system and for other lawful
> purposes.
> *********************************************************************

-- 
 'Time is a consequence of Matter thus
 General Relativity is a direct consequence of QM
 (M.E. Mar 2002)
Received on Fri Jan 03 2003 - 06:25:15 MST

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