pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling ImageMagick on NetBSD 5



On Tue, Oct 07, 2014 at 11:38:55AM +0100, Patrick Welche wrote:
> On Fri, Oct 03, 2014 at 04:53:41PM +0100, Patrick Welche wrote:
> > I don't seem to be able to compile ImageMagick (2014Q3) on NetBSD 5,
> > neither with gcc 4.9:
> > 
> >   CCLD     utilities/animate
> > /usr/pkg/gcc49/lib/./libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo'
> > Makefile:6825: recipe for target 'utilities/animate' failed
> > gmake[1]: *** [utilities/animate] Error 1

Essentially, I think that CCLD should be a CXXLD. animate is written C,
but some of the libraries are written in C++. The compilation works if
I manually /usr/pkg/gcc49/bin/c++ the -o utilities/.libs/animate linking
step.

One question is how automake is meant to know to link using C++,
the other is why doesn't it break from me compiling ImageMagick on
NetBSD-current?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index