I take it all back.

I see, from my latest update, that config.h.in has changed.

I'll do a build with the *very* latest CVS and hopefully that
will be OK.

Sorry for raising the alarm too soon.

Keith.

Keith Parks <keith.parks@middleton-top.co.uk>
> 
> Hi All,
> 
> Attempting to build with the current CVS I'm getting the following
> error for every file that includes config.h.
> 
> 
> gcc -I../../include   -Wall -Wmissing-prototypes -Wmissing-declarations -g -O2 
> -Wno-error   -c -o postgres.o postgres.c
> In file included from ../../include/c.h:47,
>                  from ../../include/postgres.h:40,
>                  from postgres.c:20:
> ../../include/config.h:420: warning: `struct in_addr' declared inside 
parameter 
> list
> ../../include/config.h:420: warning: its scope is only this definition or 
> declaration, which is probably not what you want.
> 
> The build ends with the following error.
> 
> 
> In file included from postgres.c:34:
> /usr/include/arpa/inet.h:52: conflicting types for `inet_aton'
> ../../include/config.h:420: previous declaration of `inet_aton'
> 
> 
> It's all tied, I think, to the following segment of code.
> 
> /* Set to 1 if you have inet_aton() */
> /* #undef HAVE_INET_ATON */
> #ifndef HAVE_INET_ATON
> # ifdef HAVE_ARPA_INET_H
> #  ifdef HAVE_NETINET_IN_H
> #   include <sys/types.h>
> #   include <netinet/in.h>
> #  endif
> #  include <arpa/inet.h>
> # endif
> extern int inet_aton(const char *cp, struct in_addr * addr);
> #endif
> 
> 
> Where HAVE_ARPA_INET_H and HAVE_NETINET_IN_H are no longer
> set by configure.
> 
> The platform is Solaris SPARC 2.7, compiler gcc.
> 
> Keith.
> 
> 


Fri, 14 Jul 2000 23:56:35 +0100 (BST)
Keith Parks <emkxp01@middleton-top.co.uk>
Re: Problems compiling CVS on Solaris.
Keith Parks writes:

> I take it all back.
> 
> I see, from my latest update, that config.h.in has changed.
> 
> I'll do a build with the *very* latest CVS and hopefully that
> will be OK.
> 
> Sorry for raising the alarm too soon.

All my fault...

-- 
Peter Eisentraut                  Sernanders vï¿½g 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Sat, 15 Jul 2000 23:33:11 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: Problems compiling CVS on Solaris.