Compilation problem with R

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
13 Oct 1999 00:45:42 +0200


Stelios Zimeras <szimeras@irisa.fr> writes:

> R is now configured for sparc-sun-solaris2.5
                          ^^^^^^^^^^^^^^^^^^^^
Aha. Now you're telling us...

> 
>   Source directory:         .
>   Installation directory:   /usr/local
>   C compiler:               gcc  -g -O2
>   FORTRAN compiler:         f2c
                              ^^^
>   Gnome support:            no
> 
> and when I run the make command I have the following  (after all the
> lines)
> 
> drotg.o(.text+0x170): undefined reference to `__d_sign'
> *** Error code 1

This looks like a fortran library gone missing. Perhaps the linker
doesn't know where to find it? You may need to hand-edit the Makeconf
file to tell it where to look (-L/opt/local/lib in FLIBS is a guess,
but it is completely dependent on your setup). 

Another option could be to install a g77 compiler.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._