From Martin Maechler <maechler@stat.math.ethz.ch>  Tue Jul 13 10:53:54 1999
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Tue, 13 Jul 1999 11:53:54 +0200
Subject: 0.65/AIX
In-Reply-To: <14218.55335.10455.899343@aragorn.ci.tuwien.ac.at> (message from
 Kurt Hornik on Tue, 13 Jul 1999 08:09:43 +0200 (CEST))
References: <14218.55335.10455.899343@aragorn.ci.tuwien.ac.at>
Message-ID: <199907130953.LAA14607@sophie.ethz.ch>


    KH> Martin: With the recent change of adding -D_XOPEN_SOURCE_EXTENDED I
    KH> cannot get artihmetic.c to compile---it dies because of undefined
    KH> acosh etc.

Compilation dies ??    

    KH> Is this specific of the system that I have access to?

Oh dear... the infinite story continues...

The AIX system I have acess to {uname -a ==> AIX percol 2 4 000333104600}
is fine here..
As a matter of fact, I can see in  /usr/include/math.h  that
acosh() is only declared when -D_XOPEN_SOURCE_EXTENDED(=1) !!!

this is what worked here

gcc -I. -I../include -I../../src/include  -DHAVE_CONFIG_H  -g -O2 -D_XOPEN_SOURCE_EXTENDED=1 -c arithmetic.c -o arithmetic.o

a few days ago (I kept the full ./configure; make  shell transcript).

---
I'm trying again with the July 12 snapshot..
+ my line 
======================================================
CFLAGS="-g -O2 -D_XOPEN_SOURCE_EXTENDED"
======================================================
in config.site
((to which configure now adds `` -mno-fp-in-toc ''))


Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


0.65/AIX
Martin Maechler