[Qt-interest] Compile error on Solaris 9

Paul Floyd paulf at free.fr
Tue Feb 3 16:53:53 CET 2009


Quoting "Albert E. Whale" <aewhale at abs-comptech.com>:

> I am attempting to compile qt-x11-opensource-src-4.4.3 on a Solaris 9
> server.
>
> I am also using gcc for the compiler.  My Configure command is :

Which version of GCC exactly [g++ --version]?

> ./configure -platform solaris-g++ -L "/usr/local/lib"

What exactly do you have in /usr/local/lib?

> However I am encountering the following error in the compilation:
>
> g++ -c -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

My guess is that Solaris 9 has a version of libtiff installed that is too old
for Qt. We only have 1 Sol 9 machine, and that doesn't have libtif installed
with the system. For info, Solaris 10 does have this symbol defined in
/usr/include/tiffio.h

A+
Paul



More information about the Qt-interest-old mailing list