[Qt-interest] Compile error on Solaris 9

Albert E. Whale aewhale at ABS-CompTech.com
Tue Feb 3 23:22:11 CET 2009


Paul Floyd wrote:
> Hi
>
>   
>> Thanks, looks like I need to expand my LD_LIBRARY_PATH for this
>> information as well:
>>
>>  find /usr -name "libtiff*" -print
>> /usr/sfw/lib/sparcv9/libtiff.so
>> /usr/sfw/lib/libtiff.so
>> /usr/sfw/lib/libtiff.so.3
>> /usr/sfw/share/man/man3/libtiff.3
>> /usr/dt/lib/sdtimage/libtiff.so
>> /usr/dt/lib/sdtimage/libtiff.so.3
>>     
>
> You probably need to put /usr/sfw/lib in the -L path (and maybe -R), and 
> /usr/sfw/include in the -I path.
>
> A+
> Paul
>   
Thanks Paul,

I did all of that, and now I have the following:

cd tiff/ && make -f Makefile
make[3]: Entering directory
`/usr/share/src/qt-x11-opensource-src-4.4.3/src/plugins/imageformats/tiff'
g++ -c -I/usr/local/include -I/usr/sfw/include -O2 -D_REENTRANT -Wall -W
-fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../mkspecs/solaris-g++ -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../../../../include/QtGui
-I../../../../include/QtGui -I../../../../include -I.moc/release-shared
-I.uic/release-shared -I/usr/sfw/include -o .obj/release-shared/main.o
main.cpp
g++ -c -I/usr/local/include -I/usr/sfw/include -O2 -D_REENTRANT -Wall -W
-fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../mkspecs/solaris-g++ -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../../../../include/QtGui
-I../../../../include/QtGui -I../../../../include -I.moc/release-shared
-I.uic/release-shared -I/usr/sfw/include -o
.obj/release-shared/qtiffhandler.o qtiffhandler.cpp
qtiffhandler.cpp: In member function `virtual bool
QTiffHandler::read(QImage*)':
qtiffhandler.cpp:148: error: `TIFFReadRGBAImageOriented' was not
declared in this scope
qtiffhandler.cpp:148: warning: unused variable 'TIFFReadRGBAImageOriented'
make[3]: *** [.obj/release-shared/qtiffhandler.o] Error 1
make[3]: Leaving directory
`/usr/share/src/qt-x11-opensource-src-4.4.3/src/plugins/imageformats/tiff'
make[2]: *** [sub-tiff-make_default] Error 2
make[2]: Leaving directory
`/usr/share/src/qt-x11-opensource-src-4.4.3/src/plugins/imageformats'
make[1]: *** [sub-imageformats-make_default] Error 2
make[1]: Leaving directory
`/usr/share/src/qt-x11-opensource-src-4.4.3/src/plugins'
make: *** [sub-plugins-make_default-ordered] Error 2

How do I now make the plugins?  Do I need them?
-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network and Systems Consultant
------------------------------------------------------------------------
ABS Computer Technology, Inc. <http://www.ABS-CompTech.com> - Email,
Internet and Security Consultants



More information about the Qt-interest-old mailing list