R-beta: compiling problems under DU4.0D

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Sep 11 12:32:03 CEST 1998


Halvard Moe <halvardm at math.uio.no> writes:

> f77  -o R.binary arithmetic.o array.o ... -lm 
> ld:
> ../lib/libunix.a(system.o): main: multiply defined
> fort: Severe: Failed while trying to link.
> 
> 
> Does anybody have any clues how to solve this problem?
> 
> Halvard Moe

I bet that f77 is trying to stick in its own main(). Try setting
LDCMD=gcc (or cc) in config.site. You may have to add the Fortran
libraries to LIBS as well.

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