Compilation error Squid 1.1.17 gcc 2.7.2.2 Solaris 2.5.1 for Intel

From: Cameron Lemon <[email protected]>
Date: Wed, 26 Nov 1997 21:44:13 -0400 (AST)

Squidders.

Trying to compile squid-1.1.17 and the following error returns. Any hints?
I am compiling on Solaris 2.5.1 for Intel.

Thanks.

lemon@nbnet.nb.ca

================

$ make all
Making all in lib...
make[1]: Entering directory `/data/build/squid-1.1.17/lib'
gcc -g -Wall -I../include -I./../include -c rfc1123.c -o rfc1123.o
gcc -g -Wall -I../include -I./../include -c rfc1738.c -o rfc1738.o
gcc -g -Wall -I../include -I./../include -c util.c -o util.o
gcc -g -Wall -I../include -I./../include -c getfullhostname.c -o getfullhostname.o
getfullhostname.c: In function `getfullhostname':
getfullhostname.c:159: warning: implicit declaration of function `gethostname'
gcc -g -Wall -I../include -I./../include -c base64.c -o base64.o
gcc -g -Wall -I../include -I./../include -c uudecode.c -o uudecode.o
gcc -g -Wall -I../include -I./../include -c tree.c -o tree.o
gcc -g -Wall -I../include -I./../include -c splay.c -o splay.o
gcc -g -Wall -I../include -I./../include -c safe_inet_addr.c -o safe_inet_addr.o
/usr/bin/rm -f libmiscutil.a
/usr/bin/false r libmiscutil.a rfc1123.o rfc1738.o util.o getfullhostname.o base64.o uudecode.o tree.o splay.o safe_inet_addr.o
make[1]: *** [libmiscutil.a] Error 255
make[1]: Leaving directory `/data/build/squid-1.1.17/lib'
make: *** [all] Error 1

===================

Reading specs from /local/gnu/lib/gcc-lib/i386-unknown-solaris2.5.1/2.7.2.2/specs
gcc version 2.7.2.2

creating cache ./config.cache
checking host system type... i386-pc-solaris2.5.1
checking for gcc... gcc
checking whether the C compiler (gcc -g) works... yes
checking whether the C compiler (gcc -g) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... aux/install-sh -c
checking for ranlib... :
checking whether ln -s works... yes
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /usr/bin/rm
checking for mv... /usr/bin/mv
checking for mkdir... /usr/bin/mkdir
checking for ln... /usr/bin/ln
checking for perl... /usr/bin/perl
checking for makedepend... /usr/openwin/bin/makedepend
checking for ar... /usr/bin/false
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for bstring.h... no
checking for config.h... no
checking for crypt.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for getopt.h... no
checking for gnumalloc.h... no
checking for grp.h... yes
checking for libc.h... no
checking for limits.h... yes
checking for malloc.h... yes
checking for math.h... yes
checking for memory.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for regex.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/syscall.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for sys/wait.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for varargs.h... yes
checking for working const... yes
checking if ANSI prototypes work... yes
checking for tm->tm_gmtoff... no
checking for extended mallinfo... no
checking for ip->ip_hl... yes
checking size of int... 4
checking size of long... 4
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for pid_t... yes
checking for size_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for main in -lnsl... yes
checking for main in -lsocket... yes
checking for main in -lgnumalloc... no
checking for main in -lmalloc... yes
checking for main in -lbsd... no
checking for main in -lregex... no
checking for inet_aton in -lresolv... yes
checking for inet_aton in -l44bsd... no
checking for main in -lresolv... yes
checking for main in -lm... yes
checking for crypt in -lcrypt... yes
Removing -O for gcc on i386-pc-solaris2.5.1
checking for bcopy... yes
checking for fchmod... yes
checking for getdtablesize... yes
checking for getrusage... yes
checking for getspnam... yes
checking for lrand48... yes
checking for mallinfo... yes
checking for mallocblksize... no
checking for mallopt... yes
checking for memcpy... yes
checking for memmove... yes
checking for mktime... yes
checking for mstats... no
checking for poll... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... yes
checking for seteuid... yes
checking for setpgrp... yes
checking for setresuid... no
checking for setrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for srand48... yes
checking for srandom... yes
checking for sysconf... yes
checking for syslog... yes
checking for tempnam... yes
checking for timegm... no
checking if GNUregex needs to be compiled... no
checking for tempnam... (cached) yes
checking for strerror... yes
checking Default FD_SETSIZE value... 1024
checking Maximum number of filedescriptors we can open... 1024
checking Default UDP send buffer size... 16384
checking Default UDP receive buffer size... 16384
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 16384
checking if sys_errlist is already defined... no
checking for libresolv _dns_ttl_ hack... no
updating cache ./config.cache
creating ./config.status
creating ./makefile
creating ./lib/Makefile
creating ./include/config.h
creating ./scripts/Makefile
creating ./scripts/RunCache
creating ./scripts/RunAccel
creating ./src/Makefile
creating ./src/squid.conf.pre
creating ./contrib/Makefile
creating include/autoconf.h
include/autoconf.h is unchanged
Received on Wed Nov 26 1997 - 18:06:28 MST

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