agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul J Turner <pturner@amb4.ccalmr.ogi.edu>
To: postgres@postgres.Berkeley.EDU
Subject: Problems building bmake on AIX 3.2.5
Date: Mon, 28 Nov 1994 10:55:58 -0800
Message-ID: <9411281855.AA27373@amb4.ccalmr.ogi.edu> (raw)
Hello from Oregon, USA,
I'm trying to build pg on an IBM RS6K 320h with xlc (cc) and
AIX 3.2.5, but I don't seem to have the right stuff to build
bmake. I'm getting:
./Bootstrap aix
make started.
cc -DUSE_AIA -D_BSD -D_PATH_DEFSYSMK=\"`pwd`/mk-proto/sys.mk\" -D_PATH_DEFSYSPATH=\"`pwd
`/mk-proto\" -I. -c arch.c buf.c compat.c cond.c dir.c hash.c job.c main.c make.c parse.c str.c suf
f.c targ.c var.c setenv.c
arch.c:
buf.c:
compat.c:
"compat.c", line 280.20: 1506-021 (S) Expecting struct or union.
"compat.c", line 282.29: 1506-021 (S) Expecting struct or union.
"compat.c", line 293.23: 1506-021 (S) Expecting struct or union.
cond.c:
in compat.c (and in a couple of other modules further down). The relevant lines
are as follows:
if (WIFSTOPPED(reason.w_status)) {
status = reason.w_stopval; /* stopped */
} else if (WIFEXITED(reason.w_status)) {
status = reason.w_retcode; /* exited */
if (status != 0) {
printf ("*** Error code %d", status);
}
I checked the header files and it seems to want _POSIX_SOURCE or something.
But throwing _POSIX_SOURCE at it causes other problems. Any clue as to what
can be done to fix this?
Thanks in advance,
--Paul
Paul J Turner
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: pturner@amb4.ccalmr.ogi.edu
Subject: Re: Problems building bmake on AIX 3.2.5
In-Reply-To: <9411281855.AA27373@amb4.ccalmr.ogi.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox