Re: Compile problems with AIX 4.3.2

Subject: Re: Compile problems with AIX 4.3.2
From: Sam TH (
Date: Mon Nov 13 2000 - 23:04:34 CST

On Mon, Nov 13, 2000 at 01:18:46PM -0800, wrote:
> Today's 11/13 wv builds fine and abi fails with
> ap_UnixApp.cpp: In function `static int AP_UnixApp::main(const
> char *, int, char
> **)':
> ap_UnixApp.cpp:879: `SA_NODEFER' undeclared (first use this function)
> ap_UnixApp.cpp:879: (Each undeclared identifier is reported only
> once
> ap_UnixApp.cpp:879: for each function it appears in.)
> ap_UnixApp.cpp:879: `SA_RESETHAND' undeclared (first use this
> function)
> ap_UnixApp.cpp: In method `UT_Bool AP_UnixApp::parseCommandLine()':
> ap_UnixApp.cpp:1099: warning: unused variable `enum XAP_Dialog_MessageBox::tAnsw
> er ans'
> gnumake[4]: *** [/home/GNU/abi-nightly/src/AIX_3_001353394C00_OBJ/obj/ap_UnixApp
> .o] Error 1

Well, I've added some #ifdef's that should fix this problem. It is
strange though, since AIX 4.3 manuals I could find online suggestd that
both of those SA_ flags were present and defined. Could you take a
look at <signals.h> and <bits/sigaction.h> for me (or you could just
send them to the list).

> Note: I had to comment out the usleep in fl_BlockLayout.cpp.
> I am not sure if something will be broken with usleep commented
> out?

To fix this, it should only be neccessary to include one more file,
which I have done conditionally. Let me know if these fixes help.

Fixed two build problems on AIX, hopefully.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS: Committing in .
CVS: Modified Files:
CVS: src/af/util/unix/ut_sleep.h src/wp/ap/unix/ap_UnixApp.cpp
CVS: ----------------------------------------------------------------------

        sam th
        GnuPG Key:

This archive was generated by hypermail 2b25 : Mon Nov 13 2000 - 23:04:37 CST