Re: Problem compiling 1.1.20

From: Craig Heading <craig@dont-contact.us>
Date: Wed, 21 Jan 1998 13:01:47 +1100

Seems like your C header files are all screwed. Check for duplicate
copies of files like stdio.h and stdlib.h
I suspect you have several different copies and they are conflicting
with each other.

Dax Kelson wrote:
>
> Help? I can provide a local account if need be.
>
> Solaris 2.6 x86
> gcc 2.8.0 (I tried the latest egcs snapshot, same thing)
> GNUmalloc
>
> make all
>
> Making all in lib...
> make[1]: Entering directory `/export/home/root/software/squid-1.1.20/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
> 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
> /bin/rm -f libmiscutil.a
> /usr/local/bin/ar r libmiscutil.a rfc1123.o rfc1738.o util.o getfullhostname.o base64.o uudecode.o tree.o splay.o safe_inet_addr.o
> ranlib libmiscutil.a
> make[1]: Leaving directory `/export/home/root/software/squid-1.1.20/lib'
> Making all in scripts...
> make[1]: Entering directory `/export/home/root/software/squid-1.1.20/scripts'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/export/home/root/software/squid-1.1.20/scripts'
> Making all in src...
> make[1]: Entering directory `/export/home/root/software/squid-1.1.20/src'
> gcc -g -Wall -I. -I../include -I./../include -c acl.c -o acl.o
> In file included from /usr/local/lib/gcc-lib/i386-pc-solaris2.6/2.8.0/include/math.h:5,
> from squid.h:187,
> from acl.c:31:
> /usr/include/math.h:19: warning: `__P' redefined
> /usr/include/gnumalloc.h:71: warning: this is the location of the previous definition
> In file included from squid.h:97,
> from acl.c:31:
> /usr/include/memory.h:26: warning: conflicting types for built-in function `memcpy'
> /usr/include/memory.h:28: warning: conflicting types for built-in function `memcmp'
> In file included from squid.h:149,
> from acl.c:31:
> /usr/include/string.h:38: warning: conflicting types for built-in function `strcpy'
> /usr/include/string.h:45: warning: conflicting types for built-in function `strcmp'
> In file included from squid.h:158,
> from acl.c:31:
> /usr/include/crypt.h:28: conflicting types for `setkey'
> /usr/include/stdlib.h:148: previous declaration of `setkey'
> In file included from /usr/include/math.h:212,
> from /usr/local/lib/gcc-lib/i386-pc-solaris2.6/2.8.0/include/math.h:5,
> from squid.h:187,
> from acl.c:31:
> /usr/include/floatingpoint.h:173: conflicting types for `atof'
> /usr/include/stdlib.h:92: previous declaration of `atof'
> /usr/include/floatingpoint.h:174: conflicting types for `strtod'
> /usr/include/stdlib.h:95: previous declaration of `strtod'
> make[1]: *** [acl.o] Error 1
> make[1]: Leaving directory `/export/home/root/software/squid-1.1.20/src'
> make: *** [all] Error 1
>
> Thanks for your help,
> Dax Kelson
> Internet Connect, Inc.
Received on Tue Jan 20 1998 - 18:01:10 MST

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