Re: gcc error compiling squid-1.1.22 under Solaris-2.6

From: Bertold Kolics <bertold@dont-contact.us>
Date: Sun, 19 Jul 1998 11:51:52 +0200 (MET DST)

Hi,

I know that it does not help much:
I use GNU gcc 2.7.2.3 SPARC Solaris 2.6 installed from a Solaris package.
And I managed to compile it on our Solaris 2.6 (5/98 release).

>make: Warning: Both makefile' and Makefile' exist
Looks like you use 'make' from /usr/ccs/bin.

>Making all in lib...
>gcc -O2 -I../include -I./../include -c safe_inet_addr.c
>safe_inet_addr.c:26: warning: struct in_addr' declared inside parameter list

in_addr structure definition is not found in the system header files. It
should be in one of the system header files (/usr/include/resolv.h). I
suggest investigating your config.cache...

Cheers,
Bertold
Received on Sun Jul 19 1998 - 02:53:48 MDT

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