Re: error while compiling OpenEXR
Greg Ercolano <[email protected]> Wed, 22 Nov 2006 00:23:36 -0800
| Newsgroups | gmane.comp.video.openexr.user |
|---|---|
| Message-ID | <[email protected]> |
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.