From: | Hannu Krosing <hannu(at)skype(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Zeugswetter Andreas DAZ SD <ZeugswetterA(at)spardat(dot)at> |
Subject: | Re: compiling postgres with Visual Age compiler on |
Date: | 2005-05-30 09:21:41 |
Message-ID: | 1117444901.4849.2.camel@fuji.krosing.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On P, 2005-05-29 at 11:26 -0400, Tom Lane wrote:
> Hannu Krosing <hannu(at)skype(dot)net> writes:
> > I have not researched any deeper,but currently it fails with
>
> > checking types of arguments for accept()... configure: error: could not
> > determine argument types
>
> So look at config.log and see what's going on.
the following is repeated several times:
------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--
configure:11574: /opt/ibmcmp/vac/7.0/bin/xlc -c -O -D_GNU_SOURCE conftest.c >&5
"configure", line 11556.21: 1506-166 (S) Definition of function PASCAL
requires parentheses.
"configure", line 11556.28: 1506-276 (S) Syntax error: possible missing
'{'?
configure:11577: $? = 1
configure: failed program was:
#line 11549 "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 unsigned int PASCAL accept (unsigned int, void *, unsigned int
*);
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
;
return 0;
}
------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--
and then end looks like this
------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_OPTION 1
#define HAVE_INT_TIMEZONE
configure: exit 1
------8<--------8<--------8<-------8<--------8<---------8<-------8<---------8<--
--
Hannu Krosing <hannu(at)skype(dot)net>
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2005-05-30 09:26:44 | Re: Escape handling in COPY, strings, psql |
Previous Message | Ron Mayer | 2005-05-30 08:04:48 | Re: O_DIRECT for WAL writes |