[R] build rpvm under cygwin

From: Lars Schouw <schouwla_at_yahoo.com>
Date: Thu 07 Apr 2005 - 19:34:03 EST

I tried ot build rpvm in my own makefile. But runs into some linker errors like e.g. undefined reference to `_R_alloc'

My enviornment looks like this:
pvm 3.4 compiled under cygwin myself
R installed from the rw2001.exe setup file.

I guess that the R under rw2001.exe was build with some other compiler?

I then tried to compile R myself under CYGWIN but runs into the following problem:
building from src typing make
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CON
FIG_H -D__NO_MATH_INLINES -g -O2 -c dynload.c -o dynload.o
In file included from dynload.c:35:
../../src/include/Defn.h:60:22: psignal.h: No such file or directory

I found the psignal.h header file under
gnuwin32/fixed/h/psignal.h how do incoperate this udner cygwin?

I also tried to type build under src/gnuwin32 but get another error:

$ make
make: ./Rpwd.exe: Command not found
make[1]: ./Rpwd.exe: Command not found
make --no-print-directory -C front-ends Rpwd make -C ../../include -f Makefile.win version make[3]: Nothing to be done for `version'. make Rpwd.exe
gcc -O2 -Wall -pedantic -I../../include -c rpwd.c -o

rpwd.c:22:20: direct.h: No such file or directory
rpwd.c: In function `main':
rpwd.c:38: warning: implicit declaration of function
rpwd.c:41: warning: implicit declaration of function `getcwd'
make[3]: *** [rpwd.o] Error 1
make[2]: *** [Rpwd] Error 2
make[1]: *** [front-ends/Rpwd.exe] Error 2
make: *** [all] Error 2

Ideas would be appreciated.

Lars Schouw

> Show us what our next emoticon should look like.
> Join the fun.
> http://www.advision.webevents.yahoo.com/emoticontest

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Apr 07 19:39:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:03 EST