Problems compiling Squid on Solaris 2.6

From: Mike Wohlgemuth <mjw@dont-contact.us>
Date: Thu, 29 Apr 1999 14:51:53 -0400

I've just downloaded Squid 2.2stable2 and am attempting to build it on
Solaris 2.6. Here is the output of make:

Making all in lib...
gcc -g -O2 -Wall -I../include -I../include -c rfc1123.c
gcc -g -O2 -Wall -I../include -I../include -c rfc1738.c
gcc -g -O2 -Wall -I../include -I../include -c util.c
gcc -g -O2 -Wall -I../include -I../include -c getfullhostname.c
gcc -g -O2 -Wall -I../include -I../include -c base64.c
gcc -g -O2 -Wall -I../include -I../include -c uudecode.c
gcc -g -O2 -Wall -I../include -I../include -c splay.c
gcc -g -O2 -Wall -I../include -I../include -c safe_inet_addr.c
safe_inet_addr.c:32: warning: `struct in_addr' declared inside parameter
list
safe_inet_addr.c:32: warning: its scope is only this definition or
declaration,
safe_inet_addr.c:32: warning: which is probably not what you want.
safe_inet_addr.c: In function `safe_inet_addr':
safe_inet_addr.c:36: storage size of `A' isn't known
safe_inet_addr.c:60: warning: implicit declaration of function `inet_addr'
safe_inet_addr.c:62: dereferencing pointer to incomplete type
safe_inet_addr.c:36: warning: unused variable `A'
*** Error code 1
make: Fatal error: Command failed for target `safe_inet_addr.o'
Current working directory /amd/src/infosystems/squid/squid-2.2.STABLE2/lib
*** Error code 1
make: Fatal error: Command failed for target `all'

What am I missing?

Thanks
Mike
Received on Thu Apr 29 1999 - 12:47:57 MDT

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