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? Thanks, Saunak ----------------------------------- /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
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
Looks like a gcc/as mismatch. You are using a version of gcc compiled on that machine with those exact paths (and not one using GNU as or a different version of Solaris)? BTW, qtl does compile on a properly installed Solaris 8 system using gcc 3.3: I've just checked. On Mon, 28 Jul 2003, Saunak Sen wrote:> 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? > > Thanks, > Saunak > > ----------------------------------- > /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' > ----------------------------------- > > >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595