openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Problems compiling OpenEXR in Linux


From: Matt Henley
Subject: [Openexr-devel] Problems compiling OpenEXR in Linux
Date: Sun, 26 Sep 2004 13:02:18 -0500

I am trying to compile OPENEXR on my Gentoo Linux system.  I have tried
to compile in portage and by downloading the tar and doing it myself. It
seems to die in the same spot.  Here is the output of the make.  Forgive
me if its a little long.  I didnt know where to delete.

My system

Kernel 2.6.8.1
gcc 3.4.2
Athlon XP processor

Older versions of openexr compiled fine.


Thanks
Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Take two... the first time I sent this my text was too long.  Here is
the shortened version

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --disable-fltktest
configure: WARNING: If you wanted to set the --build type, don't use
--host.
    If a cross compiler is detected then cross compile mode will be
used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for i686-pc-linux-gnu-g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-f95... no
checking for i686-pc-linux-gnu-fort... no
checking for i686-pc-linux-gnu-xlf95... no
checking for i686-pc-linux-gnu-ifc... no
checking for i686-pc-linux-gnu-efc... no
checking for i686-pc-linux-gnu-pgf95... no
checking for i686-pc-linux-gnu-lf95... no
checking for i686-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether make sets $(MAKE)... (cached) yes
checking for fltk-config... /usr/bin/fltk-config
checking for FLTK with GL support... yes
checking for Nvidia SDK... no
*** The Nvidia SDK test program could not be compiled.
*** Possible reasons:
***     - The Nvidia SDK is not installed.
***     - configure cannot find the SDK (use the
***       --with-nvsdk-prefix option to tell configure where
***       to find it).
***     - Your Nvidia SDK is out of date.  Please update it
***       to the latest version.
***
*** The exrdisplay program will not be built with fragment shader
*** support because the fragment shader support depends on the
*** Nvidia SDK.
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for strerror... yes
checking for compress in -lz... yes
checking for ios_base support in C++ standard library... yes
checking for <limits> support in C++ standard library... yes
checking for template depth required to build OpenEXR... standard
checking for gcc optimization flags... -pipe
checking for processor-specific optimizations... -march=i686
configure: creating ./config.status
config.status: creating Makefile
config.status: creating OpenEXR.pc
config.status: creating openexr.spec
config.status: creating Half/Makefile
config.status: creating HalfTest/Makefile
config.status: creating Iex/Makefile
config.status: creating IexTest/Makefile
config.status: creating IlmImf/Makefile
config.status: creating IlmImfTest/Makefile
config.status: creating Imath/Makefile
config.status: creating ImathTest/Makefile
config.status: creating exrdisplay/Makefile
config.status: creating exrheader/Makefile
config.status: creating exrmaketiled/Makefile
config.status: creating IlmImfExamples/Makefile
config.status: creating doc/Makefile
config.status: creating vc/Makefile
config.status: creating exrstdattr/Makefile
config.status: creating exrmakepreview/Makefile
config.status: creating exrenvmap/Makefile
config.status: executing depfiles commands

---------------------------------------------
Summary for OpenEXR features:

build exrdisplay FLTK application               yes
    use Nvidia SDK                              no
build IlmImf example program                    no
---------------------------------------------

Making all in Half
make[1]: Entering directory
`/var/tmp/portage/openexr-1.2.1/work/OpenEXR-1.2.1/Half'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\"
-DVERSION=\"1.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1
-DHAVE_STL_LIMITS=1  -I. -I.     -pipe -march=i686 -march=athlon-xp -O3
-pipe -c eLut.cpp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~SNIP~~~~~~~~~~~~~~~~~~~~~~~~~~~~

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\"
-DVERSION=\"1.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1
-DHAVE_STL_LIMITS=1  -I. -I.  -I/usr/include/fltk-1.1
-I/usr/include/freetype2 -march=athlon-xp -O3 -pipe -I/usr/X11R6/include
-I..        -I../Iex -I../Half -I../Imath            -I../IlmImf   -pipe
-march=i686 -march=athlon-xp -O3 -pipe -c loadImage.cpp
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\"
-DVERSION=\"1.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1
-DHAVE_STL_LIMITS=1  -I. -I.  -I/usr/include/fltk-1.1
-I/usr/include/freetype2 -march=athlon-xp -O3 -pipe -I/usr/X11R6/include
-I..        -I../Iex -I../Half -I../Imath            -I../IlmImf   -pipe
-march=i686 -march=athlon-xp -O3 -pipe -c scaleImage.cpp
/bin/sh ../libtool --mode=link g++ -pipe -march=i686 -march=athlon-xp
-O3 -pipe  -o exrdisplay  main.o ImageView.o loadImage.o scaleImage.o
-L/usr/lib/fltk-1.1 -Wl,-rpath,/usr/lib/fltk-1.1 -L/usr/X11R6/lib
-lfltk_gl -lGLU -lGL -lfltk -lXft -lpthread -lXext -lX11 -lsupc++  
-L../Iex -L../Half      -L../Imath -L../IlmImf  -lIlmImf -lImath -lHalf
-lIex -lz
mkdir .libs
g++ -pipe -march=i686 -march=athlon-xp -O3 -pipe -o exrdisplay main.o
ImageView.o loadImage.o scaleImage.o -Wl,-rpath -Wl,/usr/lib/fltk-1.1 
-L/usr/lib/fltk-1.1 -L/usr/X11R6/lib -lfltk_gl /usr/lib/libGLU.so
/usr/lib/libGL.so -lfltk -lXft -lpthread -lXext -lX11
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/libsupc++.a -lm
-L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -lgcc_s
-lc -L/var/tmp/portage/openexr-1.2.1/work/OpenEXR-1.2.1/Iex
-L/var/tmp/portage/openexr-1.2.1/work/OpenEXR-1.2.1/Half
-L/var/tmp/portage/openexr-1.2.1/work/OpenEXR-1.2.1/Imath
-L/var/tmp/portage/openexr-1.2.1/work/OpenEXR-1.2.1/IlmImf
/usr/lib/libIlmImf.so /usr/lib/libImath.so /usr/lib/libHalf.so
/usr/lib/libIex.so -lz
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libstdc++.so.5, needed by /usr/lib/libIlmImf.so, may conflict with 
libstdc++.so.6
loadImage.o(.text+0x7df): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledRgbaInputFile::TiledRgbaInputFile(char const*)'
loadImage.o(.text+0x7f8): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::isValidLevel(int,
int) const'
loadImage.o(.text+0x913): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledRgbaInputFile::dataWindowForLevel(int, int) const'
loadImage.o(.text+0x958): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::pixelAspectRatio()
const'
loadImage.o(.text+0x9f6): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledRgbaInputFile::setFrameBuffer(Imf::Rgba*, unsigned int,
unsigned int)'
loadImage.o(.text+0xa08): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::numXTiles(int) const'
loadImage.o(.text+0xa1c): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::numYTiles(int) const'
loadImage.o(.text+0xa29): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::lineOrder() const'
loadImage.o(.text+0xa74): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::readTile(int, int,
int, int)'
loadImage.o(.text+0xa8e): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledRgbaInputFile::~TiledRgbaInputFile()'
loadImage.o(.text+0xb7f): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledRgbaInputFile::readTile(int, int,
int, int)'
loadImage.o(.text+0xbd1): In function `loadTiledImage(char const*, int,
int, Imath::Box<Imath::Vec2<int> >&, Imath::Box<Imath::Vec2<int> >&,
float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledRgbaInputFile::~TiledRgbaInputFile()'
loadImage.o(.text+0xc8f): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::TiledInputFile(char
const*)'
loadImage.o(.text+0xca8): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::isValidLevel(int, int)
const'
loadImage.o(.text+0xdc6): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::dataWindowForLevel(int,
int) const'
loadImage.o(.text+0xe0b): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::header() const'
loadImage.o(.text+0xeb0): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::header() const'
loadImage.o(.text+0xf99): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to
`Imf::TiledInputFile::setFrameBuffer(Imf::FrameBuffer const&)'
loadImage.o(.text+0xfbd): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::numXTiles(int) const'
loadImage.o(.text+0xfd5): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::numYTiles(int) const'
loadImage.o(.text+0xfe2): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::header() const'
loadImage.o(.text+0x102d): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::readTile(int, int, int,
int)'
loadImage.o(.text+0x103d): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::~TiledInputFile()'
loadImage.o(.text+0x11f8): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::~TiledInputFile()'
loadImage.o(.text+0x12b1): In function `loadTiledImageChannel(char
const*, char const*, int, int, Imath::Box<Imath::Vec2<int> >&,
Imath::Box<Imath::Vec2<int> >&, float&, Imf::Array<Imf::Rgba>&)':
: undefined reference to `Imf::TiledInputFile::readTile(int, int, int,
int)'
collect2: ld returned 1 exit status







reply via email to

[Prev in Thread] Current Thread [Next in Thread]