[R] R does not compile if make is not gmake

Christoph M. Friedrich chris at gfm-mbh.de
Sat Jun 12 20:18:23 CEST 1999

if make and gmake are different on any machine (for example Solaris with
gnu make as gmake), then compiling fails with gmake. 

A small transcript follows. If i make a link from gmake to make as under
linux, then it works.
This problem exists in all versions of R.

g77 -O2 -fPIC -c sslvrg.f -o sslvrg.o
g77 -O2 -fPIC -c stxwx.f -o stxwx.o
../../../../bin/R SHLIB -o modreg.so bsplvd.o bvalue.o bvalus.o
ksmooth.o loessc.o loessf.o ppr.o qsbart.o sbart.o sgram.o sinerp.o
sslvrg.o stxwx.o
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S
][ -t ]
             [ -V ][ target... ][ macro=value... ]
make: Fatal error: Unknown option `-w'
gmake[4]: *** [modreg.so] Error 1
gmake[4]: Leaving directory

Christoph M. Friedrich        | mailto:friedrich at computer.org 
Gesellschaft für Modulfermenterbau mbH (GfM mbH) |
Alfred-Herrhausen Str. 44 ; D-58455 Witten, Germany
r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list