Hai Tom,
Your answer on my 7.0 version solved it I changed configure:
# Create compiler version string
if test x"$GCC" = x"yes" ; then
! cc_string="GCC `${CC} --version`"
else
cc_string=$CC
fi
cat >> confdefs.h <<EOF
#define PG_VERSION_STR "PostgreSQL $VERSION on $host, compiled by $ccstring"
EOF
Line 3 (actually line 1620) Changed to
! cc_string="GCC `${CC} --version|head -1`"
And I got I compiled.
Thx.
Laurens
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, May 13, 2004 5:19 PM
To: Laurens Wagemakers
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] GNUmakefile size 0
Laurens Wagemakers <l.wagemakers@truston.com> writes:
> extern int accept(int, struct sockaddr *, Psocklen_t);
Hmm. The comments in configure have
# Solaris 7 and 8 have arg3 as 'void *' (disguised as 'Psocklen_t'
# which is *not* 'socklen_t *'). If we detect that, then we assume
# 'int' as the result, because that ought to work best.
So what is Psocklen_t now?
regards, tom lane