[R] compiling on alpha/linux

Matthew Wiener mcw at ln.nimh.nih.gov
Sat Dec 18 21:32:30 CET 1999


Thanks to Brian Ripley, Douglas Bates, and Peter Dalgaard, who all pointed
me towards the assembler (or compiler/assembler conflicts) as the likely
culprit in my earlier "opcode"  errors (most of original question below). 

After a lot of looking around, we found out that the particular alpha
system we bought (from Microway) doesn't like the gnu compilers; it
prefers Compaq's c and fortran compilers.  Once we installed those, we
compiled without difficulty.  So be careful to get details on the
capabilities and software requirements of any alpha system you're looking
into buying.  (I suppose this should be obvious, but perhaps I can save
somebody else learning the hard way ...)

Matt Wiener

-------------------------------------------------------------------------

On Tue, 7 Dec 1999, Matthew Wiener wrote:
> 
> > Hi, all.
> > 
> > In trying to compile R v.0.90 on an alpha running Red Hat Linux 6.0, I'm
> > getting the following error: 
> > 
> > make[3]: Entering directory `/home/mcw/alpha-R/R-0.90.0/src/appl' 
> > gcc -I. -I../include -I../../src/include -DHAVE_CONFIG_H -mieee -g -O2 -c cpoly.c
> > -o cpoly.o 
> > /tmp/ccPjZNwd.s: Assembler messages: 
> > /tmp/ccPjZNwd.s:312: Error: unknown opcode `sqrttsu' 
> > /tmp/ccPjZNwd.s:2631: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4028: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4132: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4141: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4470: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4492: Error: unknown opcode `sqrttsu'
> > /tmp/ccPjZNwd.s:4516: Error: unknown opcode `sqrttsu' make[3]: ***
> > [cpoly.o] Error 1
> > 
> > Installing package `ctest' ... 
> > libs 
> > g77 -mieee -fPIC -O2 -c alnorm.f -o alnorm.o 
> > gcc -I/usr/lib/R/include -DHAVE_CONFIG_H -mieee -fPIC -O2 -c ansari.c -o
> > ansari.o 
> > gcc -I/usr/lib/R/include -DHAVE_CONFIG_H -mieee -fPIC -O2 -c
> > fexact.c -o fexact.o 
> > gcc -I/usr/lib/R/include -DHAVE_CONFIG_H -mieee -fPIC
> > -O2 -c kendall.c -o kendall.o 
> > /tmp/ccYUoygd.s: Assembler messages:
> > /tmp/ccYUoygd.s:123: Error: unknown opcode `sqrttsu' 
> > /tmp/ccYUoygd.s:132: Error: unknown opcode `sqrttsu' 
> > 
> > make: *** [kendall.o] Error 1
> 

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