Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Make install: "File format not recognized"
QtWS25 Last Chance

Make install: "File format not recognized"

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 2 Posters 8.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ranshalit
    wrote on last edited by
    #1

    Hello,

    I try to install qt 4.8.1,
    the make command was done OK with no errors/warnings, but in "make install"
    the strip command fails with " File format not recognized"....
    What should I do ?

    arm-none-linux-gnueabi-strip:/usr/local/Trolltech/QtEmbedded-4.8.1-arm/include/Qt/qatomic_alpha.h: File format not recognized
    make[1]: [install_flat_headers] Error 1 (ignored)
    install -m 755 -p /media/sdb/qt/qt-everywhere-opensource-src-4.8.1/src/corelib/arch/qatomic_arch.h /usr/local/Trolltech/QtEmbedded-4.8.1-arm/include/Qt/
    arm-none-linux-gnueabi-strip /usr/local/Trolltech/QtEmbedded-4.8.1-arm/include/Qt/qatomic_arch.h
    arm-none-linux-gnueabi-strip:/usr/local/Trolltech/QtEmbedded-4.8.1-arm/include/Qt/qatomic_arch.h: File format not recognized

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Pretty strange error, what configure line did you use ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        ranshalit
        wrote on last edited by
        #3

        Hi,

        This is the configure I use:
        ./configure -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-TIarmv7-g++ -depths 16,24,32 -little-endian -no-stl -no-xmlpatterns -no-separate-debug-info -no-declarative -no-declarative-debug -no-nis -no-dbus -no-gtkstyle -no-opengl -no-openvg -no-sm -no-mmx -no-neon -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -qt-freetype -fast -qt-gfx-transformed -opensource -no-script -no-scripttools -no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-svg -no-javascript-jit -no-libtiff -no-libjpeg -no-gif -no-libpng -no-libmng -reduce-relocations -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-sqlite_symbian -no-sql-tds

        It is being used with QT 4.8.1.

        Regards,
        Ran

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you get the same if you only use:

          @/configure -embedded arm -xplatform qws/linux-TIarmv7-g++@

          ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            ranshalit
            wrote on last edited by
            #5

            Hi,

            On doing it all again from new it works:

            1. extracting opensource4.8.1..tar.gz
            2. using same configure as before
            3. make & make install
              BUT, I still wonder why doing the following sequence did not clean it as expected:
            4. make confclean
            5. make clean
              Does anyone knows ?

            Regards,
            Ran

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I don't know but it's been years since I've done an in-source build. I rather do out-of-source builds so if something goes wrong I only have to delete the build tree and start again from a clean state.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • R Offline
                R Offline
                ranshalit
                wrote on last edited by
                #7

                Hi,

                Thanks, how can I compile qt as "out of source" build instead of in source ? Regards, Ran

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Just create a folder outside the sources and call configure/make/make install from it:

                  MyFolder/
                  ----- Qt-sources
                  ----- Qt-build

                  @
                  cd MyFolder/Qt-build/
                  ../Qt-sources/configure
                  make -j (number of core + 1)
                  @

                  And you should be good

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved