On Sun, Jul 19, 1998 at 11:51:52AM +0200, Bertold Kolics wrote:
> 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...
Struct in_addr is defined in <netinet/in.h> on Solaris 2.5/2.5.1/2.6.
-- Joe Abley <jabley@clear.co.nz> Tel +64 9 912-4065, Fax +64 9 912-5008 Network Architect, CLEAR Net http://www.clear.net.nz/
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:10 MST