Qt4.86 configure fails on Solaris



  • Could someone please tell me what's going wrong here? This is Qt 4.8.6 on Solaris Sparc 64.

    CC=g++ ./configure

    Which edition of Qt do you want to use ?

    Type 'c' if you want to use the Commercial Edition.
    Type 'o' if you want to use the Open Source Edition.

    o

    This is the Open Source Edition.

    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    Type '3' to view the GNU General Public License version 3.
    Type 'L' to view the Lesser GNU General Public License version 2.1.
    Type 'yes' to accept this license offer.
    Type 'no' to decline this license offer.

    Do you accept the terms of either license? yes

    Creating qmake. Please wait...
    CC -o "/opt/qt-everywhere-opensource-src-4.8.6/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o gbuild.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfilesystementry.o qfilesystemengine_unix.o qfilesystemengine.o qfilesystemiterator_unix.o qfsfileengine_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlocale_unix.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o
    Undefined first referenced
    symbol in file
    unsigned qHash(const QString&) option.o
    Option::projfile::do_pwd projectgenerator.o
    [Hint: static member Option::projfile::do_pwd must be defined in the program]

    void QFile::setFileName(const QString&) option.o
    Option::h_moc_mod projectgenerator.o
    [Hint: static member Option::h_moc_mod must be defined in the program]

    QString QVariant::toString()const qlibraryinfo.o
    operator new qiodevice.o
    operator new(unsigned) project.o
    void QString::free(QString::Data*) option.o
    QListData::shared_null option.o
    [Hint: static member QListData::shared_null must be defined in the program]

    Option::js_ext project.o
    [Hint: static member Option::js_ext must be defined in the program]

    void QHashData::free_helper(void()(QHashData::Node)) option.o
    QString QString::mid(int,int)const option.o
    Option::after_user_configs project.o
    [Hint: static member Option::after_user_configs must be defined in the program]

    Option::target_mode project.o
    [Hint: static member Option::target_mode must be defined in the program]

    Option::mkfile::project_files main.o
    [Hint: static member Option::mkfile::project_files must be defined in the program]

    QListData::DataQListData::detach(int) option.o
    debug_msg_internal(int,const char
    ,...) project.o
    Option::init(int,char**) main.o
    QString&QString::append(const QString&) option.o
    QString&QString::operator=(const QString&) option.o
    Option::after_user_vars project.o
    [Hint: static member Option::after_user_vars must be defined in the program]

    Option::prop::properties property.o
    [Hint: static member Option::prop::properties must be defined in the program]

    void QString::realloc(int) option.o
    int QString::toInt(bool*,int)const qlibraryinfo.o
    int QString::lastIndexOf(QChar,int,Qt::CaseSensitivity)const option.o
    Option::res_ext winmakefile.o
    [Hint: static member Option::res_ext must be defined in the program]

    QMapData*QMapData::createData(int) option.o
    vtable for __cxxabiv1::__si_class_type_info project.o
    [Hint: static member vtable for __cxxabiv1::__si_class_type_info must be defined in the program]

    Option::postProcessProject(QMakeProject*) project.o
    Option::lex_ext projectgenerator.o
    [Hint: static member Option::lex_ext must be defined in the program]

    Option::lex_mod projectgenerator.o
    [Hint: static member Option::lex_mod must be defined in the program]

    QMapData::NodeQMapData::node_create(QMapData::Node*,int,int) option.o
    void QMapData::node_delete(QMapData::Node**,int,QMapData::Node*) option.o
    int QRegExp::matchedLength()const option.o
    QStringList QString::split(const QChar&,QString::SplitBehavior,Qt::CaseSensitivity)const qlibraryinfo.o
    QString&QString::replace(int,int,const QString&) option.o
    void qt_assert(const char*,const char*,int) option.o
    Option::qmake_abslocation project.o
    [Hint: static member Option::qmake_abslocation must be defined in the program]

    __cxa_guard_release project.o
    QFileInfo::QFileInfo(const QString&) option.o
    QString QString::fromAscii(const char*,int) option.o
    QByteArray::shared_null option.o
    [Hint: static member QByteArray::shared_null must be defined in the program]

    int QString::grow(int) option.o
    QSettings::~QSettings() qlibraryinfo.o
    Option::cpp_moc_ext unixmake2.o
    [Hint: static member Option::cpp_moc_ext must be defined in the program]

    Option::libtool_ext makefile.o
    [Hint: static member Option::libtool_ext must be defined in the program]

    Option::mkfile::qmakespec_commandline makefile.o
    [Hint: static member Option::mkfile::qmakespec_commandline must be defined in the program]

    void QHashData::rehash(int) option.o
    qmakeClearCaches() main.o
    QChar QChar::toLower()const option.o
    bool QDir::exists(const QString&)const option.o
    Option::debug_level project.o
    [Hint: static member Option::debug_level must be defined in the program]

    qmakeAddCacheClear(void ()(void),void**) project.o
    QString QDir::cleanPath(const QString&) option.o
    QString QString::fromLocal8Bit(const char*,int) option.o
    QFile::QFile() option.o
    QString::DataQString::fromLatin1_helper(const char,int) option.o
    QString QDir::dirName()const option.o
    bool QFile::exists(const QString&) option.o
    __cmpdi2 qvariant.o
    __divdi3 qdatetime.o
    int QString::indexOf(QChar,int,Qt::CaseSensitivity)const option.o
    QString QDir::currentPath() option.o
    bool QString::operator==(const QLatin1String&)const option.o
    warn_msg(QMakeWarn,const char*,...) project.o
    __moddi3 qfsfileengine_unix.o
    QStringList QDir::entryList(const QStringList&,QFlagsQDir::Filter,QFlagsQDir::SortFlag)const option.o
    operator delete makefiledeps.o
    operator delete(void*) project.o
    QStringList&QMakeProject::values(const QString&,QMap<QString,QStringList>&) option.o
    Option::mkfile::cachefile project.o
    [Hint: static member Option::mkfile::cachefile must be defined in the program]

    QDir::~QDir() option.o
    QRegExp::QRegExp(const QString&,Qt::CaseSensitivity,QRegExp::PatternSyntax) option.o
    Option::prf_ext project.o
    [Hint: static member Option::prf_ext must be defined in the program]

    bool QFileInfo::makeAbsolute() option.o
    Option::obj_ext project.o
    [Hint: static member Option::obj_ext must be defined in the program]

    Option::prl_ext makefile.o
    [Hint: static member Option::prl_ext must be defined in the program]

    void QString::realloc() option.o
    Option::output main.o
    [Hint: static member Option::output must be defined in the program]

    QString QFileInfo::filePath()const option.o
    Option::user_template_prefix project.o
    [Hint: static member Option::user_template_prefix must be defined in the program]
    Option::field_sep project.o
    [Hint: static member Option::field_sep must be defined in the program]

    Option::pro_ext project.o
    [Hint: static member Option::pro_ext must be defined in the program]

    QChar QDir::separator() option.o
    QString project_builtin_regx() option.o
    void QString::expand(int) option.o
    bool QMakeProject::isEmpty(const QString&) option.o
    void qFree(void*) option.o
    void QMapData::continueFreeData(int) option.o
    QVariant::~QVariant() qlibraryinfo.o
    QString::shared_null option.o
    [Hint: static member QString::shared_null must be defined in the program]

    Option::fixString(QString,unsigned char) project.o
    QString&QString::replace(QChar,QChar,Qt::CaseSensitivity) option.o
    Option::warn_level makefile.o
    [Hint: static member Option::warn_level must be defined in the program]

    Option::mkfile::cachefile_depth project.o
    [Hint: static member Option::mkfile::cachefile_depth must be defined in the program]

    Option::mkfile::do_dep_heuristics makefile.o
    [Hint: static member Option::mkfile::do_dep_heuristics must be defined in the program]

    Option::shellPath project.o
    [Hint: static member Option::shellPath must be defined in the program]

    QRegExp::~QRegExp() option.o
    QString qmake_getpwd() option.o
    Option::user_configs project.o
    [Hint: static member Option::user_configs must be defined in the program]

    _Unwind_Resume project.o
    Option::yacc_ext projectgenerator.o
    [Hint: static member Option::yacc_ext must be defined in the program]

    Option::yacc_mod pbuilder_pbx.o
    [Hint: static member Option::yacc_mod must be defined in the program]

    QStringList QSettings::childGroups()const qlibraryinfo.o
    Option::recursive projectgenerator.o
    [Hint: static member Option::recursive must be defined in the program]

    void*QHashData::allocateNode(int) option.o
    Option::qmake_mode property.o
    [Hint: static member Option::qmake_mode must be defined in the program]

    Option::cpp_ext project.o
    [Hint: static member Option::cpp_ext must be defined in the program]

    bool QDir::isRelativePath(const QString&) qlibraryinfo.o
    Option::mkfile::qmakespec project.o
    [Hint: static member Option::mkfile::qmakespec must be defined in the program]

    bool QByteArray::isNull()const option.o
    QVariant QSettings::value(const QString&,const QVariant&)const qlibraryinfo.o
    Option::mkfile::do_preprocess project.o
    [Hint: static member Option::mkfile::do_preprocess must be defined in the program]

    qmake_version() property.o
    QString QDir::absoluteFilePath(const QString&)const option.o
    Option::ui_ext projectgenerator.o
    [Hint: static member Option::ui_ext must be defined in the program]

    vtable for __cxxabiv1::__vmi_class_type_info makefile.o
    [Hint: static member vtable for __cxxabiv1::__vmi_class_type_info must be defined in the program]

    Option::mmp_ext symmake.o
    [Hint: static member Option::mmp_ext must be defined in the program]

    QDir::QDir(const QString&) option.o
    QString qt_epocRoot() qlibraryinfo.o
    QFile::~QFile() option.o
    Option::mkfile::do_deps makefile.o
    [Hint: static member Option::mkfile::do_deps must be defined in the program]

    QFileInfo::~QFileInfo() option.o
    bool QString::endsWith(const QString&,Qt::CaseSensitivity)const option.o
    __udivdi3 qdatetime.o
    QString QFileInfo::absolutePath()const option.o
    vtable for __cxxabiv1::__class_type_info project.o
    [Hint: static member vtable for __cxxabiv1::__class_type_info must be defined in the program]

    QByteArray qgetenv(const char*) option.o
    QString QDir::filePath(const QString&)const option.o
    void**QListData::append() option.o
    __umoddi3 qbitarray.o
    __cxa_guard_acquire project.o
    Option::projfile::project_dirs projectgenerator.o
    [Hint: static member Option::projfile::project_dirs must be defined in the program]

    bool QFileInfo::isRelative()const option.o
    int QRegExp::indexIn(const QString&,int,QRegExp::CaretMode)const option.o
    __gxx_personality_v0 project.o
    QString QString::right(int)const option.o
    Option::dirlist_sep project.o
    [Hint: static member Option::dirlist_sep must be defined in the program]

    Option::user_template project.o
    [Hint: static member Option::user_template must be defined in the program]

    __cxa_pure_virtual project.o
    QHashData::shared_null option.o
    [Hint: static member QHashData::shared_null must be defined in the program]

    Option::mkfile::do_stub_makefile unixmake2.o
    [Hint: static member Option::mkfile::do_stub_makefile must be defined in the program]

    bool QString::startsWith(const QString&,Qt::CaseSensitivity)const option.o
    void QSettings::endGroup() qlibraryinfo.o
    QChar::QChar(char) option.o
    QHashDataQHashData::detach_helper2(void()(QHashData::Node*,void*),void()(QHashData::Node),int,int) option.o
    bool QString::operator==(const QString&)const option.o
    bool QString::operator<(const QString&)const option.o
    Option::c_ext project.o
    [Hint: static member Option::c_ext must be defined in the program]

    Option::applyHostMode() project.o
    QListData::DataQListData::detach_grow(int,int) option.o
    Option::h_ext project.o
    [Hint: static member Option::h_ext must be defined in the program]

    Option::host_mode project.o
    [Hint: static member Option::host_mode must be defined in the program]

    Option::mkfile::do_cache project.o
    [Hint: static member Option::mkfile::do_cache must be defined in the program]

    Option::output_dir project.o
    [Hint: static member Option::output_dir must be defined in the program]

    QVariant::QVariant(const QString&) qlibraryinfo.o
    QString QString::fromLatin1(const char*,int) qlibraryinfo.o
    QStringList QString::split(const QString&,QString::SplitBehavior,Qt::CaseSensitivity)const option.o
    Option::dir_sep project.o
    [Hint: static member Option::dir_sep must be defined in the program]

    QString::DataQString::fromAscii_helper(const char,int) option.o
    Option::target_mode_overridden makefile.o
    [Hint: static member Option::target_mode_overridden must be defined in the program]

    void QRegExp::setMinimal(bool) option.o
    Option::pkgcfg_ext makefile.o
    [Hint: static member Option::pkgcfg_ext must be defined in the program]

    QString&QString::replace(QChar,const QString&,Qt::CaseSensitivity) option.o
    QDate QDate::fromString(const QString&,Qt::DateFormat) qlibraryinfo.o
    QSettings::QSettings(const QString&,QSettings::Format) qlibraryinfo.o
    Option::before_user_vars project.o
    [Hint: static member Option::before_user_vars must be defined in the program]

    void QSettings::beginGroup(const QString&) qlibraryinfo.o
    bool QSettings::contains(const QString&)const qlibraryinfo.o
    __cxa_guard_abort project.o
    bool QChar::isLetter()const option.o
    QByteArray QString::toLatin1()const option.o
    void qt_assert_x(const char*,const char*,const char*,int) option.o
    bool QFileInfo::isDir()const option.o
    QLibraryInfo::location(QLibraryInfo::LibraryLocation) project.o
    ld: fatal: symbol referencing errors. No output written to /opt/qt-everywhere-opensource-src-4.8.6/bin/qmake
    Makefile:101: recipe for target '/opt/qt-everywhere-opensource-src-4.8.6/bin/qmake' failed
    gmake: *** [/opt/qt-everywhere-opensource-src-4.8.6/bin/qmake] Error 2

    The "hints" in the log are somewhat less than helpful.



  • You have an "Undefined Symbol" - qHash(). On my version (4.8.4) it's defined in qmake/cachekeys.h. I was able to build Qt on Solaris using the Sun Studio compiler (and I think gcc as well).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.