You appear to be working on Windows, although you omitted to tell us.
Which version of R is this?
Neither of those fixes is correct. As the README in that directory says
Under Windows, use make -f Makefile.win. This makes Rmath.dll with
import library libRmath.a.
and Rmath.a is not the import library.
My belief is that it worked in 1.4.0, but that it was never tested for
1.5.0, and the Makefile rules (in MkRules) had been changed to allow
Rblas.dll to be built. If this is 1.5.0, add the lines
Rmath.def: sunif.o $(SOURCES_NMATH:.c=.o)
$(ECHO) LIBRARY $* > $@
$(ECHO) EXPORTS >> $@
$(NM) $^ > Defs
$(SED) -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs
>> $@
$(RM) Defs
libRmath.a: Rmath.def
to Makefile.win.
On Tue, 30 Apr 2002, brogar 27 wrote:
> It appears the Makefile.win in
> src/nmath/standalone might need some modification since
>
> cd src/nmath/gnuwin32
> make -f Makefile.win
> make -f Makefile.win test
>
> fails. However if I remove libRmath.a from line 15
>
> OR
>
> modify lines 67/68 replacing Rmath.a with libRmath.a then
> make -f Makefile.win test
>
> goes as expected.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._