Date: Fri, 8 Feb 2013 23:42:16 +0400 From: awarecons <awarecons@gmail.com> To: ports-bugs@freebsd.org, jhale@freebsd.org Subject: Re: graphics/opencv ISSUE with gcc 4.6.3 Message-ID: <CACGq7x31n9WMgaWJuRrtt2YiPp%2BkamFx0N%2BtMkrKW_wbxVipkQ@mail.gmail.com> In-Reply-To: <CACGq7x3FXwSbNSiqG3ZUQJhjGE0NoYS6HF7wqjOTtK68bWLhfw@mail.gmail.com> References: <CACGq7x3FXwSbNSiqG3ZUQJhjGE0NoYS6HF7wqjOTtK68bWLhfw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
UPD: with gcc 4.2.1 and libIlm (OpenEXR) compiled with gcc 4.6.3 opencv-2.3.1_5 -> opencv-2.3.1_6 ... [ 24%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3d_estimator.o Linking CXX executable ../../bin/opencv_test_calib3d /usr/local/include/../lib/libIlmThread.so.7: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /usr/local/include/../lib/libIlmThread.so.7: undefined reference to `std::__detail::_List_node_base::_M_unhook()' *** Error code 1 Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1. *** Error code 1 Is that possible to make it compile with gcc 4.6.3? Thank you in advance. 2013/1/16 awarecons <awarecons@gmail.com>: > ===> Building for opencv-2.3.1_5 > [ 1%] Generating opencv_calib3d_pch_dephelp.cxx > Scanning dependencies of target opencv_calib3d_pch_dephelp > [ 1%] Building CXX object > modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.o > Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a > [ 1%] Built target opencv_calib3d_pch_dephelp > Scanning dependencies of target pch_Generate_opencv_calib3d > [ 1%] Generating precomp.hpp > [ 2%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch > /usr/lib/crt1.o: In function `_start1': > crt1_c.c:(.text+0x9d): undefined reference to `main' > collect2: ld returned 1 exit status > *** Error code 1 > > Stop in /usr/ports/graphics/opencv/work/OpenCV-2.3.1. > *** Error code 1 > > But gcc 4.2+ works fine. Wonder, if there's need of libmap or so?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x31n9WMgaWJuRrtt2YiPp%2BkamFx0N%2BtMkrKW_wbxVipkQ>