RE: Problems compiling Squid on Solaris 2.6

From: Mike Wohlgemuth <mjw@dont-contact.us>
Date: Thu, 13 May 1999 16:37:37 -0400

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
>
> Configure creates a detailed log of the configure process in
> config.log.
> There should be something explaining why it failed to detect these
> include files. A educated guess is that the includefiles depends on
> something else without including the dependency.

I thought there should be something there, but I didn't notice anything in
it about those 2 header files. The entries for them look just like all the
others. I've included it at the bottom of this email if anyone would like
to take a look at it.

Mike

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:623: checking host system type
configure:691: checking for gcc
configure:768: checking whether the C compiler (gcc -g) works
configure:782: gcc -o conftest -g conftest.c 1>&5
configure:802: checking whether the C compiler (gcc -g) is a cross-compiler
configure:807: checking whether we are using GNU C
configure:831: checking whether gcc accepts -g
configure:1456: checking how to run the C preprocessor
configure:1527: checking for a BSD compatible install
configure:1579: checking for ranlib
configure:1606: checking whether ln -s works
configure:1629: checking for sh
configure:1661: checking for false
configure:1693: checking for true
configure:1725: checking for rm
configure:1757: checking for mv
configure:1789: checking for mkdir
configure:1821: checking for ln
configure:1853: checking for perl
configure:1885: checking for makedepend
configure:1917: checking for ar
configure:1967: checking for dirent.h that defines DIR
configure:2005: checking for opendir in -ldir
configure:2088: checking for ANSI C header files
configure:2252: checking for arpa/inet.h
configure:2252: checking for arpa/nameser.h
configure:2252: checking for assert.h
configure:2252: checking for bstring.h
configure:2252: checking for config.h
configure:2252: checking for crypt.h
configure:2252: checking for ctype.h
configure:2252: checking for errno.h
configure:2252: checking for fcntl.h
configure:2252: checking for getopt.h
configure:2252: checking for gnumalloc.h
configure:2252: checking for grp.h
configure:2252: checking for ip_compat.h
configure:2252: checking for ip_fil.h
configure:2252: checking for ip_nat.h
configure:2252: checking for libc.h
configure:2252: checking for limits.h
configure:2252: checking for malloc.h
configure:2252: checking for math.h
configure:2252: checking for memory.h
configure:2252: checking for mount.h
configure:2252: checking for net/if.h
configure:2252: checking for netdb.h
configure:2252: checking for netinet/in.h
configure:2252: checking for netinet/tcp.h
configure:2252: checking for poll.h
configure:2252: checking for pwd.h
configure:2252: checking for regex.h
configure:2252: checking for resolv.h
configure:2252: checking for sched.h
configure:2252: checking for signal.h
configure:2252: checking for stdarg.h
configure:2252: checking for stddef.h
configure:2252: checking for stdio.h
configure:2252: checking for stdlib.h
configure:2252: checking for string.h
configure:2252: checking for strings.h
configure:2252: checking for sys/file.h
configure:2252: checking for sys/ioctl.h
configure:2252: checking for sys/param.h
configure:2252: checking for sys/resource.h
configure:2252: checking for sys/select.h
configure:2252: checking for sys/socket.h
configure:2252: checking for sys/stat.h
configure:2252: checking for sys/statvfs.h
configure:2252: checking for sys/syscall.h
configure:2252: checking for sys/time.h
configure:2252: checking for sys/types.h
configure:2252: checking for sys/un.h
configure:2252: checking for sys/vfs.h
configure:2252: checking for sys/wait.h
configure:2252: checking for syslog.h
configure:2252: checking for time.h
configure:2252: checking for unistd.h
configure:2252: checking for varargs.h
configure:2290: checking for working const
configure:2365: checking whether byte ordering is bigendian
configure:2456: checking if ANSI prototypes work
configure:2491: checking for tm->tm_gmtoff
configure:2528: checking for extended mallinfo
configure:2565: checking for struct rusage
configure:2606: checking for ip->ip_hl
configure:2651: checking size of int
configure:2690: checking size of long
configure:2729: checking size of void *
configure:2771: checking for working alloca.h
configure:2804: checking for alloca
configure:2999: checking for pid_t
configure:3032: checking for size_t
configure:3065: checking for ssize_t
configure:3098: checking for off_t
configure:3131: checking for mode_t
configure:3164: checking for fd_mask
configure:3198: checking for socklen_t
configure:3235: checking for main in -lnsl
configure:3278: checking for main in -lsocket
configure:3325: checking for main in -lgnumalloc
configure:3431: checking for main in -lbsd
configure:3474: checking for main in -lregex
configure:3510: checking for gethostbyname in -lbind
configure:3563: checking for inet_aton in -lresolv
configure:3598: checking for inet_aton in -l44bsd
configure:3649: checking for main in -lresolv
configure:3695: checking for main in -lm
configure:3739: checking for crypt in -lcrypt
configure:3791: checking for main in -lpthread
configure:4024: checking for bcopy
configure:4024: checking for crypt
configure:4024: checking for drand48
configure:4024: checking for fchmod
configure:4024: checking for getdtablesize
configure:4024: checking for getpagesize
configure:4024: checking for getrusage
configure:4024: checking for getspnam
configure:4024: checking for lrand48
configure:4024: checking for mallinfo
configure:4024: checking for mallocblksize
configure:4024: checking for mallopt
configure:4024: checking for memcpy
configure:4024: checking for memmove
configure:4024: checking for memset
configure:4024: checking for mktime
configure:4024: checking for mstats
configure:4024: checking for poll
configure:4024: checking for putenv
configure:4024: checking for random
configure:4024: checking for regcomp
configure:4024: checking for regexec
configure:4024: checking for regfree
configure:4024: checking for res_init
configure:4024: checking for rint
configure:4024: checking for seteuid
configure:4024: checking for setpgrp
configure:4024: checking for setrlimit
configure:4024: checking for getrlimit
configure:4024: checking for setsid
configure:4024: checking for sigaction
configure:4024: checking for snprintf
configure:4024: checking for srand48
configure:4024: checking for srandom
configure:4024: checking for sysconf
configure:4024: checking for syslog
configure:4024: checking for tempnam
configure:4024: checking for timegm
configure:4024: checking for vsnprintf
configure:4140: checking if setresuid is implemented
configure:4221: checking if GNUregex needs to be compiled
configure:4235: gcc -c -g -O2 -Wall conftest.c 1>&5
configure:4266: checking for drand48
configure:4266: checking for tempnam
configure:4266: checking for strerror
configure:4322: checking Default FD_SETSIZE value
configure:4352: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4344: warning: return-type defaults to `int'
configure:4371: checking Maximum number of filedescriptors we can open
configure:4442: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4383: warning: return-type defaults to `int'
configure: In function `main':
configure:4385: warning: unused variable `j'
configure:4468: checking Default UDP send buffer size
configure:4494: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4481: warning: return-type defaults to `int'
configure: In function `main':
configure:4485: warning: passing arg 4 of `getsockopt' from incompatible
pointer type
configure:4513: checking Default UDP receive buffer size
configure:4539: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4526: warning: return-type defaults to `int'
configure: In function `main':
configure:4530: warning: passing arg 4 of `getsockopt' from incompatible
pointer type
configure:4558: checking Default TCP send buffer size
configure:4584: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4571: warning: return-type defaults to `int'
configure: In function `main':
configure:4575: warning: passing arg 4 of `getsockopt' from incompatible
pointer type
configure:4603: checking Default TCP receive buffer size
configure:4629: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4616: warning: return-type defaults to `int'
configure: In function `main':
configure:4620: warning: passing arg 4 of `getsockopt' from incompatible
pointer type
configure:4648: checking if sys_errlist is already defined
configure:4682: checking for libresolv _dns_ttl_ hack
configure:4691: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
Undefined first referenced
 symbol in file
_dns_ttl_ /var/tmp/cc0nd8f21.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 4684 "configure"
#include "confdefs.h"
extern int _dns_ttl_;
int main() {
return _dns_ttl_;
; return 0; }
configure:4707: checking if inet_ntoa() actually works
configure:4731: gcc -o conftest -g -O2 -Wall -g
conftest.c -lpthread -lcrypt -lm -lresolv -lsocket -lnsl 1>&5
configure:4720: warning: return-type defaults to `int'
configure:4757: checking for working statvfs() interface
configure:4776: gcc -c -g -O2 -Wall conftest.c 1>&5
configure:4796: checking for _res.nsaddr_list
configure:4846: checking for _res.ns_list
Received on Thu May 13 1999 - 14:36:02 MDT

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