|
From: | Jeff Clifford |
Subject: | Re: [Openexr-devel] ilmbase-1.0.2: make check failure on i686 ? |
Date: | Fri, 13 Aug 2010 10:19:06 +0100 |
User-agent: | Thunderbird 2.0.0.18 (X11/20081105) |
Hi Stephan, This issue is a consequence of gcc 4.3.x onwards not having as much cross-including of headers as previous versions, so some small adjustments are required to overcome the following compilation errors due to missing includes: Just need to add #include <string.h> to ImathMatrix.h Jeff. Stephan Menzel wrote: Hi Pjotr, I just did. "make" runs through on my amd64 Gentoo ~x86, gcc4.4 "make check" fails, but with a different message: PASS: IexTest ================== All 1 tests passed ================== make[2]: Leaving directory `/home/sm/devel/ilmbase-1.0.2/IexTest' make[1]: Leaving directory `/home/sm/devel/ilmbase-1.0.2/IexTest' Making check in Imath make[1]: Entering directory `/home/sm/devel/ilmbase-1.0.2/Imath' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/sm/devel/ilmbase-1.0.2/Imath' Making check in ImathTest make[1]: Entering directory `/home/sm/devel/ilmbase-1.0.2/ImathTest' make ImathTest make[2]: Entering directory `/home/sm/devel/ilmbase-1.0.2/ImathTest' if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Imath -I../Iex -I../Half -I../config -pipe -g -O2 -pthread -MT testExtractEuler.o -MD -MP -MF ".deps/testExtractEuler.Tpo" -c -o testExtractEuler.o testExtractEuler.cpp; \ then mv -f ".deps/testExtractEuler.Tpo" ".deps/testExtractEuler.Po"; else rm -f ".deps/testExtractEuler.Tpo"; exit 1; fi In file included from ../Imath/ImathMatrixAlgo.h:51, from testExtractEuler.cpp:37: ../Imath/ImathMatrix.h: In constructor 'Imath::Matrix33<T>::Matrix33() [with T = float]': testExtractEuler.cpp:223: instantiated from here ../Imath/ImathMatrix.h:837: error: 'memset' was not declared in this scope ../Imath/ImathMatrix.h: In constructor 'Imath::Matrix44<T>::Matrix44() [with T = float]': ../Imath/ImathMatrixAlgo.h:558: instantiated from 'void Imath::extractEulerXYZ(const Imath::Matrix44<T>&, Imath::Vec3<T>&) [with T = float]' testExtractEuler.cpp:60: instantiated from here ../Imath/ImathMatrix.h:1813: error: 'memset' was not declared in this scope make[2]: *** [testExtractEuler.o] Error 1 make[2]: Leaving directory `/home/sm/devel/ilmbase-1.0.2/ImathTest' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/sm/devel/ilmbase-1.0.2/ImathTest' make: *** [check-recursive] Error 1 Does this help? Cheers, Stephan On Wed, Aug 11, 2010 at 8:47 PM, Piotr Stanczyk <address@hidden> wrote:Hi Rex, Thanks for catching this ... I'm not sure I will be able to track down an i686 machine in any reasonable time frame, anyone else have one around they could verify / give it a spin in gdb? Thanks Piotr On 08/11/2010 07:08 AM, Rex Dieter wrote:building ilmbase-1.0.2 on fedora, and am seeing failures in 'make check' on i686 (x86_64 seems ok): + make check ... makeEmpty() for type V4d extendBy() point for type V2s extendBy() point for type V2i extendBy() point for type V2f lt-ImathTest: testBox.cpp:241: void<unnamed>::testExtendByPoint(const char*) [with T = Imath::Vec2<float>]: Assertion `b.min == min&& b.max == max' failed. /bin/sh: line 4: 21701 Aborted (core dumped) ${dir}$tst FAIL: ImathTest =================== 1 of 1 tests failed =================== make[2]: Leaving directory `/builddir/build/BUILD/ilmbase-1.0.2/ImathTest' detailed build logs: https://koji.fedoraproject.org/koji/taskinfo?taskID=2393320 _______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel_______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel_______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel |
[Prev in Thread] | Current Thread | [Next in Thread] |