pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44586 (print/poppler does not compile on solaris)
> From: Tim Zingelman <zingelman%gmail.com@localhost>
>
> The following reply was made to PR pkg/44586; it has been noted by GNATS.
>
> From: Tim Zingelman <zingelman%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: wiz%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost,
> pkg-manager%netbsd.org@localhost,
> pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> schaecsn%gmx.net@localhost
> Subject: Re: pkg/44586 (print/poppler does not compile on solaris)
> Date: Fri, 18 Feb 2011 15:03:04 -0600
>
> On Fri, Feb 18, 2011 at 2:06 AM, <wiz%netbsd.org@localhost> wrote:
> > Synopsis: print/poppler does not compile on solaris
> >
> > Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
> > Responsible-Changed-By: wiz%NetBSD.org@localhost
> > Responsible-Changed-When: Fri, 18 Feb 2011 08:06:07 +0000
> > Responsible-Changed-Why:
> > Solaris pkgsrc problem.
> >
> > Patch is included, is it fine for newer Solaris versions?
>
> No. At least on Solaris 10 (SunOS 5.10 Generic_144488-06 sun4u sparc
> SUNW,Sun-Fire-V440 Solaris)
> Solaris 10 5/09 s10s_u7wos_08 SPARC the patch results in:
>
> CXX TextOutputDev.lo
> TextOutputDev.cc: In function 'double fmax(double, double)':
> TextOutputDev.cc:69: error: 'double fmax(double, double)' was declared
> 'extern' and later 'static'
>
> /usr/pkg/gcc44/lib/gcc/sparc-sun-solaris2.10/4.4.4/include-fixed/iso/math_c99.h:164:
> error: previous declaration of 'double fmax(double, double)'
> TextOutputDev.cc: In function 'double fmin(double, double)':
> TextOutputDev.cc:70: error: 'double fmin(double, double)' was declared
> 'extern' and later 'static'
>
> /usr/pkg/gcc44/lib/gcc/sparc-sun-solaris2.10/4.4.4/include-fixed/iso/math_c99.h:165:
> error: previous declaration of 'double fmin(double, double)'
>
> That is using gcc44-4.4.4nb1 as the compiler.
I used gcc 3.4 on Solaris 9. It does not come with math_c99.h.
Stefan
--
Scotty: Captain, we din' can reference it!
Kirk: Analysis, Mr. Spock?
Spock: Captain, it doesn't appear in the symbol table.
Kirk: Then it's of external origin?
Spock: Affirmative.
Kirk: Mr. Sulu, go to pass two.
Sulu: Aye aye, sir, going to pass two.
Home |
Main Index |
Thread Index |
Old Index