R 0.64 and -release fails to build on DU4.0 (PR#196)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
14 May 1999 12:40:18 +0200


leifj@matematik.su.se writes:

> OS: Digital Unix 4.0E
> Compiler: vanilla f77 and cc.
> 
> Build error:
> 
> f77  -o ../../bin/R.binary arithmetic.o array.o attrib.o bind.o builtin.o 
...
> ld:
> ../unix/libunix.a(system.o): main: multiply defined
                              ^^^^^^^^^^^^^^^^^^^^^^^
> 
> Please advise. I tried using egcs 1.1.2 to build R at first but then 
> R dies with a floating point exception.

Hmmm. This looks like f77 is trying to supply its own main() routine.
Try changing LDCMD (in Makeconf) to cc.

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