c++ -pipe -O2 -fno-strict-aliasing -pipe -o imfexamples main.o drawImage.o rgbaInterfaceExamples.o rgbaInterfaceTiledExamples.o generalInterfaceExamples.o lowLevelIoExamples.o previewImageExamples.o generalInterfaceTiledExamples.o -pthread -L/usr/local/lib /usr/local/lib/libImath.so -L/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf /usr/local/lib/libIlmImf.so /usr/local/lib/libHalf.so /usr/local/lib/libIlmThread.so /usr/local/lib/libIex.so -pthread -lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libHalf.so.4, needed by /usr/local/lib/libIlmImf.so, may conflict with libHalf.so.6 /usr/bin/ld: warning: libIex.so.4, needed by /usr/local/lib/libIlmImf.so, may conflict with libIex.so.6 /usr/bin/ld: warning: libIlmThread.so.4, needed by /usr/local/lib/libIlmImf.so, may conflict with libIlmThread.so.6 generalInterfaceExamples.o(.text+0x5da): In function `writeGZ2(char const*, half const*, float const*, int, int, Imath::Box > const&)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' generalInterfaceExamples.o(.text+0x604): In function `writeGZ2(char const*, half const*, float const*, int, int, Imath::Box > const&)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' generalInterfaceExamples.o(.text+0x797): In function `writeGZ1(char const*, half const*, float const*, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' generalInterfaceExamples.o(.text+0x7c1): In function `writeGZ1(char const*, half const*, float const*, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' generalInterfaceTiledExamples.o(.text+0x28c): In function `writeTiled1(char const*, Imf::Array2D&, int, int, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' generalInterfaceTiledExamples.o(.text+0x2b6): more undefined references to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' follow gmake[1]: *** [imfexamples] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/graphics/OpenEXR. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.45387.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! graphics/OpenEXR (OpenEXR-1.4.0) (linker error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed