Skip to content

compiling R-0.64.0 on DEC osf4.0

2 messages · Dr X Cai, Kurt Hornik

#
Dear all,

Compiling R-0.64.0 on DEC osf4.0 has the following error message
(earlier version was OK).


cc -ieee_with_inexact -g -I../include -I../../src/include  -c pnf.c -o pnf.o
cc -ieee_with_inexact -g -I../include -I../../src/include  -c pnt.c -o pnt.o
cc: Error: pnt.c, line 83: In this statement, "1021" is not an lvalue, but occurs in a context that requires one.
    if (df > 4e5 || del*del > 2*M_LN2*(-DBL_MIN_EXP)) {
---------------------------------------^
gmake[2]: *** [pnt.o] Error 1
gmake[2]: Leaving directory `/home/ming/R-0.64.0/src/nmath'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/home/ming/R-0.64.0/src'
gmake: *** [R] Error 1


When I changed this line into

    if (df > 4e5 || del*del > 2*M_LN2*(-1)*DBL_MIN_EXP) {

compiling passed, but I am not sure this is correct.  Help is
appreciated. 

Many thanks,
#
This is already fixed in the latest release snapshots.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._