Configuring on Solaris 8

Lists: Postg토토 베이SQL
From: goud(at)avaya(dot)com (Venkat)
To: pgsql-ports(at)postgresql(dot)org
Subject: Configuring on Solaris 8
Date: 2002-06-14 21:11:32
Message-ID: f9cb87de.0206141311.3f75ff10@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 베이SQL

I tried to configure 7.2.1 on Solaris, I get the following error

"checking types of arguments for accept()... configure: error: could
not determine argument types".

Is it a known problem?

config.log
-----------------------
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, unsigned int *);
int main() {

; return 0; }
configure:6079: gcc -c conftest.c 1>&5
In file included from
/staged/cygnus/progressive-94q4/H-sparc-sun-solaris2/lib/gcc-lib/sparc-sun-solaris2/2.6-94q4/include/time.h:83,
from /usr/include/sys/time.h:406,
from /usr/include/sys/select.h:17,
from
/staged/cygnus/progressive-94q4/H-sparc-sun-solaris2/lib/gcc-lib/sparc-sun-solaris2/2.6-94q4/include/sys/types.h:246,
from configure:6068:
/usr/include/sys/siginfo.h:74: syntax error before `pthread_attr_t'
configure: failed program was:
#line 6066 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int accept (unsigned int, void *, void *);
int main() {

; return 0; }