Re: error while compiling OpenEXR

Smitha K <[email protected]> Wed, 22 Nov 2006 16:05:41 +0530
Newsgroups gmane.comp.video.openexr.user
Organization Sun Microsystems
Message-ID <[email protected]>
Hi Greg,


Even after make clean I am getting the following error:

bash-3.00$ gmake clean
gmake: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'Making clean in 
exrenvmap
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrenvmap'
 rm -f exrenvmap exrenvmap
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrenvmap'
Making clean in exrmakepreview
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrmakepreview'
 rm -f exrmakepreview exrmakepreview
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrmakepreview'
Making clean in exrstdattr
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrstdattr'
 rm -f exrstdattr exrstdattr
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrstdattr'
Making clean in vc
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/vc'
rm -rf .libs _libs
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/vc'
Making clean in doc
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/doc'
rm -rf .libs _libs
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/doc'
Making clean in IlmImfExamples
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImfExamples'
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImfExamples'
Making clean in exrmaketiled
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrmaketiled'
 rm -f exrmaketiled exrmaketiled
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrmaketiled'
Making clean in exrheader
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrheader'
 rm -f exrheader exrheader
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrheader'
Making clean in exrdisplay
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrdisplay'
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/exrdisplay'
Making clean in IlmImfTest
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImfTest'
 rm -f IlmImfTest IlmImfTest
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImfTest'
Making clean in IlmImf
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImf'
test -z "libIlmImf.la" || rm -f libIlmImf.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmImf'
Making clean in IlmThread
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmThread'
test -z "libIlmThread.la" || rm -f libIlmThread.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IlmThread'
Making clean in ImathTest
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/ImathTest'
 rm -f ImathTest ImathTest
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/ImathTest'
Making clean in Imath
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Imath'
test -z "libImath.la" || rm -f libImath.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Imath'
Making clean in IexTest
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IexTest'
 rm -f IexTest IexTest
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/IexTest'
Making clean in Iex
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Iex'
test -z "libIex.la" || rm -f libIex.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Iex'
Making clean in HalfTest
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/HalfTest'
 rm -f HalfTest HalfTest
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/HalfTest'
Making clean in Half
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
test -z "eLut eLut.h toFloat toFloat.h" || rm -f eLut eLut.h toFloat 
toFloat.h
test -z "libHalf.la" || rm -f libHalf.la
rm -f "./so_locations"
rm -rf .libs _libs
 rm -f eLut eLut
 rm -f toFloat toFloat
rm -f *.o
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
Making clean in config
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
rm -rf .libs _libs
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
Making clean in .
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'
rm -rf .libs _libs
rm -f *.lo
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'
gmake: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'



bash-3.00$ gmake
gmake: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'Making all in config
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
gmake  all-am
gmake[2]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
gmake[2]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/config'
Making all in Half
gmake[1]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config  
-I/usr/X11/include -pipe -g -O2 -D_REENTRANT -pthread -MT eLut.o -MD -MP 
-MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \
then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f 
".deps/eLut.Tpo"; exit 1; fi
g++: unrecognized option `-pthread'
/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_REENTRANT 
-pthread   -o eLut  eLut.o  -lposix4
mkdir .libs
g++ -pipe -g -O2 -D_REENTRANT -pthread -o eLut eLut.o  -lposix4
g++: unrecognized option `-pthread'
./eLut > eLut.h
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config  
-I/usr/X11/include -pipe -g -O2 -D_REENTRANT -pthread -MT toFloat.o -MD 
-MP -MF ".deps/toFloat.Tpo" -c -o toFloat.o toFloat.cpp; \
then mv -f ".deps/toFloat.Tpo" ".deps/toFloat.Po"; else rm -f 
".deps/toFloat.Tpo"; exit 1; fi
g++: unrecognized option `-pthread'
/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_REENTRANT 
-pthread   -o toFloat  toFloat.o  -lposix4
g++ -pipe -g -O2 -D_REENTRANT -pthread -o toFloat toFloat.o  -lposix4
g++: unrecognized option `-pthread'
./toFloat > toFloat.h
gmake  all-am
gmake[2]: Entering directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I. -I../config -I../config  -I/usr/X11/include -pipe -g -O2 
-D_REENTRANT -pthread -MT half.lo -MD -MP -MF ".deps/half.Tpo" -c -o 
half.lo half.cpp; \
then mv -f ".deps/half.Tpo" ".deps/half.Plo"; else rm -f 
".deps/half.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -I/usr/X11/include 
-pipe -g -O2 -D_REENTRANT -pthread -MT half.lo -MD -MP -MF 
.deps/half.Tpo -c half.cpp  -fPIC -DPIC -o .libs/half.o
g++: unrecognized option `-pthread'
 g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -I/usr/X11/include 
-pipe -g -O2 -D_REENTRANT -pthread -MT half.lo -MD -MP -MF 
.deps/half.Tpo -c half.cpp -o half.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_REENTRANT 
-pthread   -o libHalf.la -rpath /usr/local/lib -version-info 4:0:0 
-no-undefined half.lo  -lposix4
libtool: link: 
`/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../..//libstdc++.la' is 
not a valid libtool archive
gmake[2]: *** [libHalf.la] Error 1
gmake[2]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0/Half'
gmake: *** [all-recursive] Error 1
gmake: Leaving directory 
`/export/home/sungrid/smitha/bf-blender/openexr-1.4.0'
bash-3.00$




Greg Ercolano wrote:

> Smitha K wrote:
>
>> /bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 
>> -D_REENTRANT -pthread   -o libHalf.la -rpath /usr/local/lib 
>> -version-info 4:0:0 -no-undefined half.lo  -lposix4
>> libtool: link: 
>> `/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../..//libstdc++.la' 
>> is  not a valid libtool archive
>> gmake[2]: *** [libHalf.la] Error 1
>
>
>     Do a 'make clean' first, before doing the 'make' and 'make install'.
>
>     Looks like there's a left over lib file from a previous compile
>     on a different platform or different version of the OS, causing the
>     above error about an invalid archive.
>
>     Another good clue is that it jumped straight into the lib archiving,
>     without actually running any of the compile commands, indicating the
>     .o's are probably still left over from the previous compile as well
>     as the lib.
>
>
>
> _______________________________________________
> Openexr-user mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/openexr-user

_______________________________________________
Openexr-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-user