From p.dalgaard@biostat.ku.dk  Fri May 14 11:40:18 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 14 May 1999 12:40:18 +0200
Subject: R 0.64 and -release fails to build on DU4.0 (PR#196)
In-Reply-To: leifj@matematik.su.se's message of Fri, 14 May 1999 12:30:52 +0200 (MET DST)
References: <199905141030.MAA13049@pubhealth.ku.dk>
Message-ID: <x2lneskk8d.fsf@biostat.ku.dk>

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


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