agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Pekka Kataja <pkat@hki.wsoy.fi>
To: pturner@amb4.ccalmr.ogi.edu
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Problems building bmake on AIX 3.2.5
Date: Tue, 29 Nov 1994 11:04:44 +0200
Message-ID: <9411290904.AA60439@hki.wsoy.fi> (raw)
In-Reply-To: <9411281855.AA27373@amb4.ccalmr.ogi.edu>


> 
> 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:
> 
> 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?
> 

AIX handle union wait and it's macros own ways.

Look at /usr/include/sys/m_wait.h. It's _BSD style union wait.
Look also /usr/include/sys/wait.h

I resolved this 

/* compat.c" The cursor is at line 286 of 627  */

#ifdef _AIX
            } else if (WIFEXITED(reason)) {
#else
            } else if (WIFEXITED(reason.w_status)) {
#endif

I have compat.c and job.c modified , but there aren't many place where WIF*
macros exist.

-----------------------------------------------------------------------------
Pekka Kataja 	  WSOY ( Werner Soderstrom Limited )
email: pkat@hki.wsoy.fi * fax: +358-0-6168510 * tel: +358-0-6168468
P.O.BOX 222 00121 Helsinki Finland
navigare necesse est, vivere non est necesse
-----------------------------------------------------------------------------


==============================================================================
   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: pkat@hki.wsoy.fi, pturner@amb4.ccalmr.ogi.edu
  Subject: Re: Problems building bmake on AIX 3.2.5
  In-Reply-To: <9411290904.AA60439@hki.wsoy.fi>

* 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