0.65/AIX

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 13 Jul 1999 11:53:54 +0200


    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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._