[Rd] R-beta on AIX5.2
Ei-ji Nakama
nakama at ki.rim.or.jp
Wed Dec 14 02:16:13 CET 2005
I build R-beta on AIX5.2 is failed.
make[3]: Entering directory
`/home/nakama/Rbeta/R-beta/src/nmath'
xlc_r -I. -I../../src/include -I../../src/include -I/usr/local/include
-I/opt/freeware/include -DHAVE_CONFIG_H -q64 -I/usr/local/include
-I/opt/freeware/include -O2 -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT -c
mlutils.c -o mlutils.o
"nmath.h", line 50.9: 1506-213 (S) Macro name calloc cannot be
redefined.
"nmath.h", line 50.9: 1506-358 (I) "calloc" is defined on line 641 of
/usr/include/stdlib.h.
make[3]: *** [mlutils.o] Error 1
--- R-beta.orig/src/nmath/nmath.h 2005-10-06 19:25:25.000000000 +0900
+++ R-beta/src/nmath/nmath.h 2005-12-13 19:33:59.000000000 +0900
@@ -47,6 +47,7 @@
#define ML_NAN R_NaN
void R_CheckUserInterrupt(void);
+#undef calloc
#define calloc R_chk_calloc
#define free R_chk_free
--
http://www.nakama.ne.jp, http://r.nakama.ne.jp
e-mail : EIJI Nakama <nakama at ki.rim.or.jp>
More information about the R-devel
mailing list