Make install: "File format not recognized"
-
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 -
Hi,
Pretty strange error, what configure line did you use ?
-
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-tdsIt is being used with QT 4.8.1.
Regards,
Ran -
Do you get the same if you only use:
@/configure -embedded arm -xplatform qws/linux-TIarmv7-g++@
?
-
Hi,
On doing it all again from new it works:
- extracting opensource4.8.1..tar.gz
- using same configure as before
- make & make install
BUT, I still wonder why doing the following sequence did not clean it as expected: - make confclean
- make clean
Does anyone knows ?
Regards,
Ran -
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.
-
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