[R] R-2.2.1 doesn't compile under cygwin/Win2000
David Vonka
D.Vonka at UvT.nl
Mon Jan 23 11:05:12 CET 2006
Hello,
I've just downloaded the R-2.2.1 source and I'm trying to
compile it under cygwin (1.5.19-4). The configure script runs
ok, but make generates the following error after a while:
----------------------------------------------------------------------------
-----
al/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -g -O2 -c zutil.c -o zutil.o
rm -f libz.a
ar cr libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o
inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
ranlib libz.a
make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/zlib'
make[3]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/zlib'
make[3]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
make[4]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
making xdr.d from xdr.c
making xdr_float.d from xdr_float.c
making xdr_mem.d from xdr_mem.c
making xdr_stdio.d from xdr_stdio.c
make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
make[4]: Entering directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/inclu
de -DHAVE_CONFIG_H -D__NO_MATH_INLINES -g -O2 -c xdr.c -o xdr.o
In file included from xdr.c:59:
./rpc/types.h:63: error: conflicting types for 'malloc'
./rpc/types.h:63: error: conflicting types for 'malloc'
make[4]: *** [xdr.o] Error 1
make[4]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra/xdr'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/Vonkad/R-2.2.1/src/extra'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/Vonkad/R-2.2.1/src'
make: *** [R] Error 1
--------------------------------------------------------------------------
What could be the cause ?
Regards and thanks,
David Vonka
More information about the R-help
mailing list