Article View: news.software.nntp
Article #73297Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Bill Davidsen
Date: Tue, 21 Feb 2006 16:05
Date: Tue, 21 Feb 2006 16:05
60 lines
4720 bytes
4720 bytes
Eric Edwards wrote: > On Sun, 19 Feb 2006 14:22:13 -0600, Dave Uhring <daveuhring@yahoo.com> wrote: >> Solaris 10 03/05 shipped with gcc-3.4.3, not gcc-3.4.2. > > Typo. I'm running gcc-3.4.3 as shipped with Solaris 10. > >> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) >> >> INN-2.4.2 builds without error after executing the compile script with no >> additional arguments. > > It looks now like my original problem stems from configure data cached > from runs where the old gcc was first in the path. I untared from the > original sources in a different area, reconfigured and got past the bool > problem. Unfortunately, it now dies on a perl issue: > > gcc -g -O2 -I../include -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -c perl.c > gcc: language arch=v8 not recognized I looked at the man page for gcc, and they spell it -march=XXXXX without defining (that I saw) all possible values for arch. That appears to be a Solaris C option. Just out of curiosity, did you try just using the Solaris (Studio?) compiler for INN? > gcc: perl.c: linker input file unused because linking not done > make[1]: Leaving directory `/local/package/inn-2.4.2/lib' > cd storage && make library > make[1]: Entering directory `/local/package/inn-2.4.2/storage' > ../support/fixscript -i buildconfig.in > ./buildconfig > make[1]: Leaving directory `/local/package/inn-2.4.2/storage' > make[1]: Entering directory `/local/package/inn-2.4.2/storage' > [...] > gcc -g -O2 -I../include -xarch=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -c perl.c > gcc: language arch=v8 not recognized > gcc: perl.c: linker input file unused because linking not done > gcc -g -O2 -I../include -c -o proc.o proc.c > gcc -g -O2 -I../include -c python.c > gcc -g -O2 -I../include -c -o rc.o rc.c > gcc -g -O2 -I../include -c -o site.o site.c > gcc -g -O2 -I../include -c -o status.o status.c > gcc -g -O2 -I../include -c -o tcl.o tcl.c > gcc -g -O2 -I../include -c -o util.o util.c > gcc -g -O2 -I../include -c -o wip.o wip.c > gcc -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o tcl.o util.o wip.o /local/package/inn-2.4.2/storage/libstorage.a /local/package/inn-2.4.2/history/libinnhist.a /local/package/inn-2.4.2/lib/libinn.a /local/package/inn-2.4.2/lib/perl.o -R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -ldl -lm -lresolv -lsocket -lnsl > gcc: perl.o: No such file or directory > gcc: /local/package/inn-2.4.2/lib/perl.o: No such file or directory > make[1]: *** [innd] Error 1 > make[1]: Leaving directory `/local/package/inn-2.4.2/innd' > make: *** [all-innd] Error 2 > -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Technical Details
Message-ID:
<qTGKf.1800$%m4.1771@newssvr33.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr33.news.prodigy.com.POSTED!1055e9ad!not-for-mailReferences:
<slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu> <slrndvhjj9.t6c.ese002@spica.exile.org> <pan.2006.02.19.20.22.12.642489@yahoo.com> <slrndvl0ed.6p9.ese002@spica.exile.org>Show Full Headers
Complete Article Headers
Message-ID: <qTGKf.1800$%m4.1771@newssvr33.news.prodigy.com> Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10 Date: Tue, 21 Feb 2006 16:05:42 GMT From: Bill Davidsen <davidsen@deathstar.prodigy.com> References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu> <slrndvhjj9.t6c.ese002@spica.exile.org> <pan.2006.02.19.20.22.12.642489@yahoo.com> <slrndvl0ed.6p9.ese002@spica.exile.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr33.news.prodigy.com.POSTED!1055e9ad!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 Newsgroups: news.software.nntp,comp.unix.solaris In-Reply-To: <slrndvl0ed.6p9.ese002@spica.exile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 59 NNTP-Posting-Host: 207.115.54.38 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr33.news.prodigy.com 1140537942 ST000 207.115.54.38 (Tue, 21 Feb 2006 11:05:42 EST) NNTP-Posting-Date: Tue, 21 Feb 2006 11:05:42 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: [[PAPDCAOXRYSUTXLRX@^TXB@JTFQLTLFXVH_IQDJ@_@FN\CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN