Date: Fri, 4 Jul 2014 07:59:22 +0000 From: "Schuendehuette, Matthias" <matthias.schuendehuette@siemens.com> To: Matthias Andree <mandree@freebsd.org> Cc: "freebsd-ports-bugs@freebsd.org" <freebsd-ports-bugs@freebsd.org> Subject: AW: OpenEXR-2.1.0_3 Message-ID: <1EFE239F82F279488E86A61C92D5E2DE091A5B34@DENBGAT9EI2MSX.ww902.siemens.net> In-Reply-To: <53B5A113.2010200@FreeBSD.org> References: <1EFE239F82F279488E86A61C92D5E2DE091A5639@DENBGAT9EI2MSX.ww902.siemens.net> <53B5A113.2010200@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Matthias :-) yes, that was exactly the case. 'ilmbase' was compiled before I upgraded to FreeBSD-10. Thanks for the clar= ification, I was wondering why a reinstall/recompilation/relinking was necessary - now= that's clear. Since I meanwhile did the upgrade of OpenEXR I cannot test your port modifi= cation any more - or can I? If that would be possible please tell me how - I like to help _you_ as well= :-) with best regards Matthias Sch=FCndeh=FCtte mailto:matthias.schuendehuette@siemens.com PS: Please excuse TOFU - we're using Outlook at work... :-( > -----Urspr=FCngliche Nachricht----- > Von: Matthias Andree [mailto:mandree@freebsd.org] > Gesendet: Donnerstag, 3. Juli 2014 20:30 > An: Schuendehuette, Matthias; freebsd-port-bugs@freebsd.org > Betreff: Re: OpenEXR-2.1.0_3 >=20 > Am 03.07.2014 09:55, schrieb Schuendehuette, Matthias: > > Hello, > > > > I have problems compiling OpenEXR-2.1.0_3 on my FreeBSD 10.0-STABLE > (r267913) machine: > > > > ****************************** > > [...] > > gmake[3]: Entering directory `/usr/ports/graphics/OpenEXR/work/openexr- > 2.1.0/exrheader' > > /bin/sh ../libtool --tag=3DCXX --mode=3Dlink c++ -pipe -O2 -pipe -fno= - > strict-aliasing -pthread -o exrheader main.o -L/usr/local/lib - > L/usr/local/lib -lImath -lHalf -lIex -lIexMath -lIlmThread -pthread > ../IlmImf/libIlmImf.la -lz > > libtool: link: c++ -pipe -O2 -pipe -fno-strict-aliasing -pthread -o > .libs/exrheader main.o -pthread -L/usr/local/lib > /usr/local/lib/libImath.so /usr/local/lib/libHalf.so > /usr/local/lib/libIex.so /usr/local/lib/libIexMath.so > /usr/local/lib/libIlmThread.so ../IlmImf/.libs/libIlmImf.so -lz -pthread = - > Wl,-rpath -Wl,/usr/local/lib > > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Iex_2_1::BaseExc::assign(std::__1::basic_stringstream<char, > std::__1::char_traits<char>, std::__1::allocator<char> >&)' > > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Iex_2_1::BaseExc::BaseExc(std::__1::basic_stringstream<char, > std::__1::char_traits<char>, std::__1::allocator<char> >&)' > > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Iex_2_1::BaseExc::BaseExc(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&)' > > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Iex_2_1::throwErrnoExc(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&)' > > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > > gmake[3]: *** [exrheader] Fehler 1 > > gmake[3]: Leaving directory `/usr/ports/graphics/OpenEXR/work/openexr- > 2.1.0/exrheader' > > gmake[2]: *** [all-recursive] Fehler 1 > > gmake[2]: Leaving directory `/usr/ports/graphics/OpenEXR/work/openexr- > 2.1.0' > > =3D=3D=3D> Compilation failed unexpectedly. > > [...] > > ****************************** > > > > Is there something I missed to do or is it really a bug? > > > > > > with best regards > > > > Matthias Sch=FCndeh=FCtte > > (matthias.schuendehuette@siemens.com) > > >=20 > Hi Matthias, >=20 > this looks as though ilmbase were built against libstdc++, while the > system's basic C++ standard library is libc++. >=20 > Did you upgrade your system to 10.0 after building ilmbase and/or > OpenEXR successfully for the last time? >=20 > I committed a change to OpenEXR that should catch this problem in the > pre-configure phase and print a clear error message, please update your > graphics/OpenEXR port and see if you get that message. Following its > instructions should help you get OpenEXR. >=20 > (Hint: it checks that ilmbase uses the same C++ standard library that > the OpenEXR compiler would pull in and aborts the build on mismatch.) >=20 > HTH! >=20 > Cheers, > Matthias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1EFE239F82F279488E86A61C92D5E2DE091A5B34>