From p.dalgaard@biostat.ku.dk  Fri Nov 29 17:26:02 2002
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: Fri Nov 29 17:26:02 2002
Subject: [Rd] mgcv fails to compile in R-1.6.1 (PR#2334)
In-Reply-To: <x2u1i0z7x9.fsf@biostat.ku.dk>
References: <200211291545.QAA13397@pubhealth.ku.dk>
 <x2u1i0z7x9.fsf@biostat.ku.dk>
Message-ID: <x2ptsoz6je.fsf@biostat.ku.dk>

Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:

> bjw34032@mh.uk.sbphrd.com writes:
> 
> > I am attempting to compile R v1.6.1 on my SGI Octane (running IRIX 6.5)
> > and ran into the following error when I encountered the new recommended
> > package _mgcv_ (using make)
> > 
> > gcc -I/usr/local/R-1.6.1/include -I/usr/freeware/include -g -O2 -c
> >   matrix.c -o matrix.o
> > as: Error: /var/tmp/ccROwBBa.s, line 25029: register expected
> > 		 dmtc1 244($sp),$f0
> > as: Error: /var/tmp/ccROwBBa.s, line 25029: Undefined symbol: 244
> 
> That's a compiler bug, not an R one. You might try reducing the
> optimization level.

Come to think of it that kind of error is sometimes seen when using
GCC with the system supplied assembler. You might need to install the
GNU binutils (but what do I know about IRIX).

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



[Rd] mgcv fails to compile in R-1.6.1 (PR#2334)
Peter Dalgaard BSA