Results 1 to 1 of 1

Thread: qt cross compilation error "unable to load interpreter"

  1. #1
    Join Date
    Jul 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: qt cross compilation error "unable to load interpreter"

    When i am trying to cross compile qt.4.7.3 I get this error at configure itself ,

    Qt Code:
    1. /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ -o "/home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/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 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 qfsfileengine_unix.o qfsfileengine_iterator_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 qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o
    2. Unable to load interpreter
    3. Unable to load interpreter
    4. Unable to load interpreter
    5.  
    6. The system floating point format could not be detected.
    7. This may cause data to be generated in a wrong format
    8. Turn on verbose messaging (-v) to see the final report.
    9. Unable to load interpreter
    10. Unable to load interpreter
    11. Unable to load interpreter
    12. Unable to load interpreter
    13. Unable to load interpreter
    14. Unable to load interpreter
    15. chmod: /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/corelib/global/qconfig.h: new permissions are r-xrwxrwx, not r-xr-xr-x
    16.  
    17. Building on: qws/linux-x86-g++
    18. Building for: qws/linux-arm-gnueabi-g++
    19. Architecture: arm
    20. Host architecture: i386
    21.  
    22. Build .................. libs
    23. Configuration .......... silent cross_compile release shared dll embedded largefile exceptions_off minimal-config small-config medium-config large-config full-config accessibility embedded reduce_exports png freetype zlib audio-backend svg script scripttools declarative release
    24. Debug .................. no
    25. Qt 3 compatibility ..... no
    26. QtDBus module .......... no
    27. QtConcurrent code ...... yes
    28. QtGui module ........... yes
    29. QtScript module ........ yes
    30. QtScriptTools module ... yes
    31. QtXmlPatterns module ... no
    32. Phonon module .......... no
    33. Multimedia module ...... no
    34. SVG module ............. yes
    35. WebKit module .......... no
    36. Declarative module ..... yes
    37. Declarative debugging ...yes
    38. Support for S60 ........ no
    39. Symbian DEF files ...... no
    40. STL support ............ no
    41. PCH support ............ no
    42. MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
    43. SSSE3/SSE4.1/SSE4.2..... no/no/no
    44. AVX..................... no
    45. iWMMXt support ......... no
    46. NEON support ........... no
    47. IPv6 support ........... no
    48. IPv6 ifname support .... no
    49. getaddrinfo support .... no
    50. getifaddrs support ..... no
    51. Accessibility .......... yes
    52. NIS support ............ no
    53. CUPS support ........... no
    54. Iconv support .......... no
    55. Glib support ........... no
    56. GStreamer support ...... no
    57. PulseAudio support ..... no
    58. Large File support ..... yes
    59. GIF support ............ plugin
    60. TIFF support ........... plugin (qt)
    61. JPEG support ........... plugin (qt)
    62. PNG support ............ yes (qt)
    63. MNG support ............ plugin (qt)
    64. zlib support ........... yes
    65. Session management ..... no
    66. Embedded support ....... arm
    67. Freetype2 support ...... auto (yes)
    68. Graphics (qt) .......... linuxfb multiscreen
    69. Graphics (plugin) ......
    70. Decorations (qt) ....... styled windows default
    71. Decorations (plugin) ...
    72. Keyboard driver (qt) ... tty
    73. Keyboard driver (plugin) ..
    74. Mouse driver (qt) ...... pc linuxtp
    75. Mouse driver (plugin) ..
    76. OpenGL support ......... no
    77. OpenVG support ......... no
    78. SQLite support ......... plugin (qt)
    79. OpenSSL support ........ no
    80. Alsa support ........... no
    81. ICD support ............ no
    82.  
    83. Finding project files. Please wait...
    84. Unable to load interpreter
    85. Unable to load interpreter
    86. 893 projects found.
    To copy to clipboard, switch view to plain text mode 

    Because of this error it doesn't generate any makefiles?
    Any tips or tricks is highly appreciated.

    thanks in advance

    I have enabled the verbose option to see what's going on, I find something very strange for some of the projects it takes the compiler "linux-x86-g++" and for most of the projects it uses the correct one "linux-arm-gnueabi-g++". But for me the error "unable to load interpreter" is more strange. Below is the output of verbose

    Qt Code:
    1. $ ./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -prefix ~/qt-install -host-little-endian -little-endian -opensource -confirm-license -silent -release -no-pch -no-sql-sqllite -no-multimedia -no-qt3support -nomake examples -nomake demos -nomake tools -nomake docs -nomake translations -v
    2. Determining system architecture... (Linux:2.6.35-30-generic:i686)
    3. 32-bit Intel 80x86 (i386)
    4. 'arm' is supported
    5. 'i386' is supported
    6. System architecture: 'arm'
    7. Host architecture: 'i386'
    8. Symbol visibility control enabled.
    9.  
    10. This is the Qt for Embedded Linux Open Source Edition.
    11.  
    12. You are licensed to use this software under the terms of
    13. the Lesser GNU General Public License (LGPL) versions 2.1.
    14. You are also licensed to use this software under the terms of
    15. the GNU General Public License (GPL) versions 3.
    16.  
    17. You have already accepted the terms of the license.
    18.  
    19. Creating qmake. Please wait...
    20. make: Nothing to be done for `first'.
    21. floatmath auto-detection... ()
    22. Unable to load interpreter
    23. floatmath disabled.
    24. mmx auto-detection... ()
    25. Unable to load interpreter
    26. mmx disabled.
    27. ...............more.....
    28.  
    29. Finding project files. Please wait...
    30. Unable to load interpreter
    31. Unable to load interpreter
    32. 893 projects found.
    33.  
    34. Creating makefiles. Please wait...
    35. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/3rdparty/webkit/WebCore/WebCore.pro (linux-arm-gnueabi-g++)
    36. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/3rdparty/webkit/WebCore /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/3rdparty/webkit/WebCore/WebCore.pro
    37. Unable to load interpreter
    38. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro (linux-arm-gnueabi-g++)
    39. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/3rdparty/webkit/WebKit/qt/declarative /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/3rdparty/webkit/WebKit/qt/declarative/declarative.pro
    40. Unable to load interpreter
    41. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/corelib/corelib.pro (linux-arm-gnueabi-g++)
    42. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/corelib /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/corelib/corelib.pro
    43. Unable to load interpreter
    44. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/moc/moc.pro (linux-x86-g++)
    45. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/moc /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/moc/moc.pro
    46. Unable to load interpreter
    47. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/xml/xml.pro (linux-arm-gnueabi-g++)
    48. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/xml /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/xml/xml.pro
    49. Unable to load interpreter
    50. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/src.pro (linux-arm-gnueabi-g++)
    51. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/src.pro
    52. Unable to load interpreter
    53. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/bootstrap/bootstrap.pro ([B]linux-x86-g++[/B])
    54. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/bootstrap /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/bootstrap/bootstrap.pro
    55. Unable to load interpreter
    56. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/tools.pro (linux-arm-gnueabi-g++)
    57. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/tools.pro
    58. Unable to load interpreter
    59. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/tools/linguist/lrelease/lrelease.pro ([B]linux-x86-g++[/B])
    60. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./tools/linguist/lrelease /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/tools/linguist/lrelease/lrelease.pro
    61. Unable to load interpreter
    62. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/plugins/sqldrivers/tds/tds.pro (linux-arm-gnueabi-g++)
    63. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/plugins/sqldrivers/tds /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/plugins/sqldrivers/tds/tds.pro
    64. Unable to load interpreter
    65. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/idc/idc.pro (linux-arm-gnueabi-g++)
    66. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-arm-gnueabi-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/idc /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/idc/idc.pro
    67. Unable to load interpreter
    68. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/moc/util/generate_keywords.pro ([B]linux-x86-g++[/B])
    69. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/moc/util /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/moc/util/generate_keywords.pro
    70. Unable to load interpreter
    71. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/rcc/rcc.pro ([B]linux-x86-g++[/B])
    72. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/rcc /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/rcc/rcc.pro
    73. Unable to load interpreter
    74. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/uic/uic.pro ([B]linux-x86-g++[/B])
    75. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/uic /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/uic/uic.pro
    76. Unable to load interpreter
    77. for /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/uic3/uic3.pro ([B]linux-x86-g++[/B])
    78. /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/bin/qmake -spec /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-x86-g++ -o /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/./src/tools/uic3 /home/guser/tools/qt/qt-everywhere-opensource-src-4.7.3/src/tools/uic3/uic3.pro
    79. Unable to load interpreter
    To copy to clipboard, switch view to plain text mode 

    Any help is highly appreciated
    thanks in advance
    Last edited by cpalm; 12th July 2011 at 11:48.

Similar Threads

  1. Replies: 5
    Last Post: 15th December 2010, 03:54
  2. Replies: 9
    Last Post: 20th May 2010, 10:55
  3. Compilation Error: "inconsistent operand constraints in an `asm'"
    By jayanth in forum Installation and Deployment
    Replies: 3
    Last Post: 3rd April 2008, 17:54
  4. Compilation error in a "super basic" QT-app
    By doktorn in forum Newbie
    Replies: 1
    Last Post: 21st August 2007, 14:11
  5. Compilation error: "field 'xxx' has incomplete type"
    By fedcer in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 16:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.