Article View: news.software.nntp
Article #73300Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Darren Dunham
Date: Tue, 21 Feb 2006 19:00
Date: Tue, 21 Feb 2006 19:00
32 lines
2962 bytes
2962 bytes
In comp.unix.solaris Daniel Rock <v200608@deadcafe.de> wrote:
> Russ Allbery <rra@stanford.edu> wrote:
>>> gcc: perl.c: linker input file unused because linking not done
>>
>> You have to build INN with the same compiler used to build the verison of
>> Perl that you're linking with if you use embedded Perl filters. It's
>> otherwise too complex to try to extract only the necessary C flags from
>> the Perl build. That means that if you want to build against Sun's Perl,
>> you have to use Sun's compiler.
> Or you edit /usr/perl5/*/*-solaris-*/Config.pm and change
> cc='gcc'
> cccldflags='-fPIC'
> cpprun='gcc -E'
> cppstdin='gcc -E'
> ld='gcc'
> You can change more, but the remaing are just informative. This is for
> x86 but for SPARC the steps should be similar. I don't know is the
> -xarch=v8 is caused by Perl's Config.pm or by a previous ./configure
> process without config.cache being removed.
I'm pretty sure there's a 'Solaris-PerlGcc' module out there that does
much of that for you.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Technical Details
Message-ID:
<3rJKf.36009$H71.21538@newssvr13.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!news3.google.com!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!84d38936!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> <87u0at8ktt.fsf@windlord.stanford.edu> <dtfljr$2k89$1@server.rock.net>Show Full Headers
Complete Article Headers
Message-ID: <3rJKf.36009$H71.21538@newssvr13.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 19:00:15 GMT
From: Darren Dunham <ddunham@redwood.taos.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> <87u0at8ktt.fsf@windlord.stanford.edu> <dtfljr$2k89$1@server.rock.net>
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!news3.google.com!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!84d38936!not-for-mail
Newsgroups: news.software.nntp,comp.unix.solaris
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.14-VA.2.1smp (i686))
Lines: 31
NNTP-Posting-Host: 63.204.7.5
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr13.news.prodigy.com 1140548415 ST000 63.204.7.5 (Tue, 21 Feb 2006 14:00:15 EST)
NNTP-Posting-Date: Tue, 21 Feb 2006 14:00:15 EST
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: Q[RGG\SG[BTQRPXYNCOF_W\@PJ_^PBQLGPQRJRQIMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN