[R] R compilation error on Solaris

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Jul 28 17:35:20 CEST 2003


Saunak Sen <sen at biostat.ucsf.edu> writes:

> Hello...
> 
> I tried to compile an R addon package, R/qtl on a Solaris machine and
> I get this error.  I know that R/qtl complies correctly on other
> platforms (Windows, Mac, Linuxes, etc), so I am wondering what the
> problem might be. 
> 
> Any ideas?

The message is coming from the assembler, so this is much more likely
to be a GCC installation issue than an R one. Recent versions of GCC
(or just some of them?) want to use the GNU assembler rather than the
Solaris one.

> /export/home/sen/tmp <howrahbridge> <pts/5> R INSTALL --library=/export/home/sen/Rlibs qtl_0.96-5.tar.gz
> * Installing *source* package 'qtl' ...
> ** libs
> gcc -I/usr/local/lib/R/include  -I/usr/local/include   -fPIC  -g -O2 -c discan.c -o discan.o
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: invalid character (0x40)
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: quoted-string operand required
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: statement syntax
> *** Error code 1
> make: Fatal error: Command failed for target `discan.o'
> ERROR: compilation failed for package 'qtl'
>                 -----------------------------------
> 
> 
> -- 
> Saunak Sen
> Assistant Professor
> Department of Epidemiology and Biostatistics
> University of California San Francisco
> http://www.biostat.ucsf.edu/sen
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

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




More information about the R-help mailing list