Full_Name: Chris Pelton Version: R-1.5.0 OS: Solaris & Submission from: (NULL) (169.237.121.210) I am unable to compile R-1.5.0, and am getting the following errors with make. I searched through the buglist and didn't see anything similar, although I wouldn't doubt if I was just using the wrong version of something. gcc version 3.0.3 gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c lbfgsb.c -o lbfgsb.o /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `lbfgsb.o' Current working directory /export/home/cjpelton/R-1.5.0/src/appl *** Error code 1 make: Fatal error: Command failed for target `R' Thanks, Chris -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
cjpelton@ucdavis.edu writes:> I am unable to compile R-1.5.0, and am getting the following errors with make. I > searched through > the buglist and didn't see anything similar, although I wouldn't doubt if I was > just > using the wrong version of something. > > gcc version 3.0.3 > > > > gcc -I. -I../../src/include -I../../src/include -I/usr/local/include > -DHAVE_CONFIG_H -g -O2 -c lbfgsb.c -o lbfgsb.o > /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: unknown opcode > ".subsection" > /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: statement syntax > /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: unknown opcode > ".previous" > /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: statement syntax > *** Error code 1 > make: Fatal error: Command failed for target `lbfgsb.o' > Current working directory /export/home/cjpelton/R-1.5.0/src/appl > *** Error code 1 > make: Fatal error: Command failed for target `R'I think this is a generic problem, unrelated to R: To use gcc-3.0.3 the assembler in /usr/ccs/bin/as is in sufficient. You need GNU as, and obviously also to make sure that it is found before the one in /usr/ccs. I have have built R succesfully on a system where the following holds: Sun Microsystems Inc. SunOS 5.7 Generic October 1998 [pd@rubin pd]$ which as /usr/local/bin/as [pd@rubin pd]$ /usr/local/bin/as --version GNU assembler 2.11.2 Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `sparc-sun-solaris2.7'. [pd@rubin pd]$ gcc --version 3.0.3 The assembler is part of binutils-2.11.2 installed from sunfreeware.com. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
You are right, this was due to my using gcc and /usr/ccs/bin/as. I installed binutils and got through that error. Sorry for the needless bug report. Thanks for the quick response though. -Chris>X-Authentication-Warning: blueberry.kubism.ku.dk: pd set sender top.dalgaard@biostat.ku.dk using -f>To: cjpelton@ucdavis.edu >Cc: r-devel@stat.math.ethz.ch, R-bugs@biostat.ku.dk >Subject: Re: [Rd] compiling on Solaris 7 (PR#1520) >From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> >Date: 06 May 2002 22:46:44 +0200 >User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 >MIME-Version: 1.0 > >cjpelton@ucdavis.edu writes: > >> I am unable to compile R-1.5.0, and am getting the following errors withmake. I>> searched through >> the buglist and didn't see anything similar, although I wouldn't doubt if Iwas>> just >> using the wrong version of something. >> >> gcc version 3.0.3 >> >> >> >> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include >> -DHAVE_CONFIG_H -g -O2 -c lbfgsb.c -o lbfgsb.o >> /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: unknown opcode >> ".subsection" >> /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12970: error: statement syntax >> /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: unknown opcode >> ".previous" >> /usr/ccs/bin/as: "/var/tmp/ccBVo80F.s", line 12982: error: statement syntax >> *** Error code 1 >> make: Fatal error: Command failed for target `lbfgsb.o' >> Current working directory /export/home/cjpelton/R-1.5.0/src/appl >> *** Error code 1 >> make: Fatal error: Command failed for target `R' > >I think this is a generic problem, unrelated to R: To use gcc-3.0.3 >the assembler in /usr/ccs/bin/as is in sufficient. You need GNU as, >and obviously also to make sure that it is found before the one in >/usr/ccs. I have have built R succesfully on a system where the >following holds: > >Sun Microsystems Inc. SunOS 5.7 Generic October 1998 >[pd@rubin pd]$ which as >/usr/local/bin/as >[pd@rubin pd]$ /usr/local/bin/as --version >GNU assembler 2.11.2 >Copyright 2001 Free Software Foundation, Inc. >This program is free software; you may redistribute it under the terms of >the GNU General Public License. This program has absolutely no warranty. >This assembler was configured for a target of `sparc-sun-solaris2.7'. >[pd@rubin pd]$ gcc --version >3.0.3 > >The assembler is part of binutils-2.11.2 installed from sunfreeware.com. > >-- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._