Qt opensource compile linux 64



  • Hi, i trying to compile qt qmake on x64 linux with this option:
    ./configure -opensource -platform linux-g++-64 -release
    and i got this errors:
    Do you accept the terms of either license? y

    Creating qmake...
    ./usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file project.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileoption.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file property.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemain.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file ioutils.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileproitems.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qmakevfs.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqmakeglobals.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qmakeparser.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqmakeevaluator.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qmakebuiltins.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemakefile.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file unixmake2.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileunixmake.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file mingw_make.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filewinmakefile.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file projectgenerator.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemeta.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file makefiledeps.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemetamakefile.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file xmloutput.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filepbuilder_pbx.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file msvc_vcproj.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemsvc_vcxproj.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file msvc_nmake.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filemsvc_objectmodel.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file msbuild_objectmodel.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filecesdkhandler.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qtextcodec.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filequtfcodec.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qstring.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqstring_compat.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qstringbuilder.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqtextstream.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qiodevice.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqdebug.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qmalloc.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqglobal.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qarraydata.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqbytearray.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qbytearraymatcher.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqdatastream.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qbuffer.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqlist.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qfiledevice.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqfile.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qfilesystementry.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqfilesystemengine.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qfsfileengine.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqfsfileengine_iterator.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qregexp.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqvector.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qbitarray.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqdir.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qdiriterator.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input filequuid.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qhash.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqfileinfo.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qdatetime.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqstringlist.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qabstractfileengine.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqtemporaryfile.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qmap.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqmetatype.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qsettings.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqsystemerror.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qvariant.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqvsnprintf.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qlocale.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqlocale_tools.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qlinkedlist.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqnumeric.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qcryptographichash.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqxmlstream.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qxmlutils.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqlogging.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qjson.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqjsondocument.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qjsonparser.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqjsonarray.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qjsonobject.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqjsonvalue.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qfilesystemengine_unix.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqfilesystemiterator_unix.o' is incompatible with i386:x86-64 output
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file qfsfileengine_unix.o' is incompatible with i386:x86-64 output /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input fileqlocale_unix.o' is incompatible with i386:x86-64 output

    What i must do to compile on 64bit linux.
    Thanks for help



  • You're mixing x86 and x64 builds.
    What is your OS (flavour and version)?
    Are you trying to cross compile Qt? Because the path to your ld tool seems suspicious to me...



  • I have x64 gentoo linux and all libs on that linux are 64 bit.
    I try to compile qtbase for 64bit platform.


  • Lifetime Qt Champion

    Hi,

    If you already have all your system in 64bits you shouldn't need to add the platform to configure


Log in to reply
 

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