https://bugs.launchpad.net/enblend/+bug/685874 [dirk] vigra_impex $ nm libvigra_impex.a | grep Imf [115] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf13RgbaInputFile10readPixelsEii [230] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf13RgbaInputFile14setFrameBufferEPNS_4RgbaEjj [160] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf13RgbaInputFileC1EPKci [178] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf13RgbaInputFileD1Ev [303] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf14RgbaOutputFile11writePixelsEi [109] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf14RgbaOutputFile14setFrameBufferEPKNS_4RgbaEjj [190] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf14RgbaOutputFileC1EPKciiNS_12RgbaChannelsEfN5Imath4Vec2IfEEfNS_9LineOrderENS_11CompressionEi [273] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZN3Imf17globalThreadCountEv [307] | 0| 68|FUNC |WEAK |0 |62 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EE10deallocateEPS2_j [219] | 0| 40|FUNC |WEAK |0 |51 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EE11reserve_rawEj [248] | 0| 148|FUNC |WEAK |0 |84 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EE5eraseEPS2_S5_ [183] | 0| 644|FUNC |WEAK |0 |94 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EE6insertEPS2_jRKS2_ [213] | 0| 88|FUNC |WEAK |0 |95 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EE6resizeEjRKS2_ [244] | 0| 56|FUNC |WEAK |0 |52 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EEC1Ev [289] | 0| 32|FUNC |WEAK |0 |63 |_ZN5vigra11ArrayVectorIN3Imf4RgbaESaIS2_EED1Ev [233] | 0| 32|FUNC |WEAK |0 |61 |_ZN5vigra6detail9destroy_nIN3Imf4RgbaEEEvPT_i [299] | 0| 40|FUNC |WEAK |0 |60 |_ZN5vigra6detail9destroy_nIN3Imf4RgbaEEEvPT_iNS_14VigraFalseTypeE [174] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZNK3Imf13RgbaInputFile6headerEv [227] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZNK3Imf6Header10dataWindowEv [153] | 0| 0|NOTY |GLOB |0 |UNDEF |_ZNK3Imf6Header13displayWindowEv [256] | 0| 76|FUNC |WEAK |0 |85 |_ZSt24__uninitialized_fill_auxIPN3Imf4RgbaES1_EvT_S3_RKT0_12__false_type [260] | 0| 68|FUNC |WEAK |0 |70 |_ZSt4fillIPN3Imf4RgbaES1_EvT_S3_RKT0_ ========================================== [dirk] vigra_impex $ which gcc /opt/csw/gcc3/bin/gcc [dirk] vigra_impex $ gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [dirk] vigra_impex $ uname -a SunOS dirk 5.10 Generic_137137-09 sun4u sparc sun4u =================================== g++ -D_REENTRANT -pthreads -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -DVIGRA_STATIC_LIB -D_REENTRANT -I/opt/csw/include/OpenEXR --param inline-unit-growth=60 -O2 -DNDEBUG -Wall -D_REENTRANT -pthreads -L/opt/csw/lib -L/usr/local/libxmi-1.2/lib -L/usr/local/glew-1.5.4/lib -o enblend enblend-enblend.o enblend-gpu.o enblend-error_message.o enblend-filenameparse.o enblend-filespec.o enblend-self_test.o enblend-tiff_message.o vigra_impex/libvigra_impex.a -lGLEW -lGLU -lGL -lm -lglut -lSM -lICE -lXmu -lXi -lsocket -lnsl -lGLU -lGL -lm -L/opt/csw/lib -lz -lImath -lHalf -lIex -lIlmThread -lIlmImf -lpthread -lxmi -llcms -ltiff -lpng -ljpeg -lz Undefined first referenced symbol in file Imf::Header::displayWindow() const vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) half::_toFloat vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaInputFile::readPixels(int, int)vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaInputFile::header() const vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::Header::dataWindow() const vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::globalThreadCount() vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaInputFile::RgbaInputFile(char const*, int)vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) half::convert(int) vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaOutputFile::setFrameBuffer(Imf::Rgba const*, unsigned int, unsigned int)vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaOutputFile::RgbaOutputFile(char const*, int, int, Imf::RgbaChannels, float, Imath::Vec2, float, Imf::LineOrder, Imf::Compression, int)vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaInputFile::~RgbaInputFile()vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) half::_eLut vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaInputFile::setFrameBuffer(Imf::Rgba*, unsigned int, unsigned int)vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) Imf::RgbaOutputFile::writePixels(int) vigra_impex/libvigra_impex.a(libvigra_impex_a-exr.o) ld: fatal: Symbol referencing errors. No output written to enblend collect2: ld returned 1 exit status gmake[4]: *** [enblend] Error 1 gmake[4]: *** Waiting for unfinished jobs.... mv -f .deps/enfuse-enfuse.Tpo .deps/enfuse-enfuse.Po gmake[4]: Leaving directory `/usr/local/src/enblend-enfuse-4.0-753b534c819d/src'gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/local/src/enblend-enfuse-4.0-753b534c819d/src'gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/local/src/enblend-enfuse-4.0-753b534c819d/src'gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/enblend-enfuse-4.0-753b534c819d' gmake: *** [all] Error 2 ====================================== [dirk] rcampb01 $ pkginfo -l CSWilmbase PKGINST: CSWilmbase NAME: ilmbase - Base libraries used by OpenEXR CATEGORY: application ARCH: sparc VERSION: 1.0.1,REV=2010.02.27 $ pkginfo | grep exr application CSWopenexr openexr - High dynamic-range (HDR) image file format developed by Industrial Light & Magic application CSWopenexrdevel openexr_devel - High dynamic-range (HDR) image file format developed by Industrial Light & Magic - developer package application CSWopenexrdoc openexr_doc - High dynamic-range (HDR) image file format developed by Industrial Light & Magic - documentation application CSWopenexrrt openexr_rt - High dynamic-range (HDR) image file format developed by Industrial Light & Magic - runtime package system SUNWflexruntime Flex Lexer (Runtime Libraries) pkginfo -l CSWopenexr PKGINST: CSWopenexr NAME: openexr - High dynamic-range (HDR) image file format developed by Industrial Light & Magic CATEGORY: application ARCH: sparc VERSION: 1.6.1,REV=2010.03.04 BASEDIR: / VENDOR: http://www.openexr.com packaged for CSW by Roger Hakansson ======================================== // using VIGRA_CSTD::erf; using ::erf; #endif =================================== [dirk] src $ diff filespec.cc filespec.cc.bak 382c382 < run_glob(a_filespec, trace, GLOB_ERR | NULL | NULL); --- > run_glob(a_filespec, trace, GLOB_ERR | GLOB_BRACE | GLOB_TILDE); ======================================== ./src/enblend.cc #include /opt/sunstudio12.1/prod/include/cc/sunmath.h ============================================ $ ./configure CPPFLAGS=-I/usr/local/libxmi-1.2/include -I/usr/local/glew-1.5.4/include LDFLAGS=-L/opt/csw/lib -L/usr/local/libxmi-1.2/lib -L/usr/local/glew-1.5.4/lib PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig --with-openexr --prefix=/usr/local/enblend-4.0-753b534c819d