Although the command was issued according to the following manuals, following
"qmake cannot execute binary file" error occurred.
Please show me solution.
http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#Qt_Setup10 QT Setup5. Configure qmake and build Qt libraries. ------------------------------------------------------host $ cd ~/qt-everywhere-opensource-src-4.6.2host $ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \-no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \-qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslibhost $ make-----------------------------------------------------
************ ./configure command Error Log **************
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.You have not explicitly asked to use pkg-config and are cross-compiling.pkg-config will not be used to automatically query cflag/lib parameters fordependenciesThis is the Qt for Embedded Linux Open Source Edition.You are licensed to use this software under the terms ofthe Lesser GNU General Public License (LGPL) versions 2.1.You are also licensed to use this software under the terms ofthe 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? Creating qmake. Please wait...make: Nothing to be done for `first'./home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/honma/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary fileThe tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/honma/qt-everywhere-opensource-src-4.6.2/mkspecs//qws/linux-omap3-g++.
Hello Hidekazu,
Apologize for the delayed response; I was out-of-office.
I think the error you see is due to a compiler mismatch, where qmake is being cross-compiled (using codesourcery toolchain gcc) instead of natively compiled (using native gcc). Could you please ensure that you are performing step#2 mentioned at http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#Qt_Libraries
Once you have done that, clean the qt build using "make confclean." Next, build qt and verify that when you give the "./configure" command you see: "Creating qmake. Please wait... g++ -c -o ......" and not "Creating qmake. Please wait...arm-none-linux-gnueabi-g++ -c -o"
On another note, even if you are just interested in the OMAP3530 side, I would recommend you move to MIDAS Ultrasound v3.0 (or v4.0). Since the DVSDK for OMAP3530 that is used for MIDAS v3.0 (and v4.0) is a newer version, many of the setup steps one had to do for v2.0, are no longer required.
See the MIDAS main page at http://processors.wiki.ti.com/index.php/Medical_Imaging_Demo_Application_Starter_(MIDAS) for a comparison between versions and recommendations on when to use what version.
Regards,Uday
- Uday
--- If you need more help, please reply. If this answers your question, please Verify Answer below this post ---
Hi Uday,Thank you for your response.The compiler is unlikely mismatch from the log below.//////////////////////////////////////////////////////////////////////////////Compiler Environment(not use CodeSourcery)#export CC=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc#export CXX=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++//////////////////////////////////////////////////////////////////////////////honma@honma:~/qt-everywhere-opensource-src-4.6.2$ make confcleancd src/tools/bootstrap/ && make -f Makefile cleanmake[1]: Entering directory `/home/honma/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'/home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake -spec ../../../mkspecs/qws/linux-x86-g++ -unix -o Makefile bootstrap.promake[1]: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: Command not foundmake[1]: *** [Makefile] Error 127make[1]: Leaving directory `/home/honma/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'make: *** [sub-tools-bootstrap-clean-ordered] Error 2honma@honma:~/qt-everywhere-opensource-src-4.6.2$ honma@honma:~/qt-everywhere-opensource-src-4.6.2$ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \-no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \-qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslibWhich 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.oYou have not explicitly asked to use pkg-config and are cross-compiling.pkg-config will not be used to automatically query cflag/lib parameters fordependenciesThis is the Qt for Embedded Linux Open Source Edition.You are licensed to use this software under the terms ofthe Lesser GNU General Public License (LGPL) versions 2.1.You are also licensed to use this software under the terms ofthe 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.yesCreating qmake. Please wait...g++ -o "/home/honma/qt-everywhere-opensource-src-4.6.2/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_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.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/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40) :/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)project.o: could not read symbols: File in wrong formatcollect2: ld returned 1 exit statusmake: *** [/home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake] Error 1honma@honma:~/qt-everywhere-opensource-src-4.6.2$best regards,Hidekazu
Hi Gurnani,Thank you for your response.The compiler is unlikely mismatch from the log below.//////////////////////////////////////////////////////////////////////////////Compiler Environment(not use CodeSourcery)#export CC=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc#export CXX=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++//////////////////////////////////////////////////////////////////////////////honma@honma:~/qt-everywhere-opensource-src-4.6.2$ make confcleancd src/tools/bootstrap/ && make -f Makefile cleanmake[1]: Entering directory `/home/honma/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'/home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake -spec ../../../mkspecs/qws/linux-x86-g++ -unix -o Makefile bootstrap.promake[1]: /home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake: Command not foundmake[1]: *** [Makefile] Error 127make[1]: Leaving directory `/home/honma/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'make: *** [sub-tools-bootstrap-clean-ordered] Error 2honma@honma:~/qt-everywhere-opensource-src-4.6.2$ honma@honma:~/qt-everywhere-opensource-src-4.6.2$ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \-no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \-qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslibWhich 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.oYou have not explicitly asked to use pkg-config and are cross-compiling.pkg-config will not be used to automatically query cflag/lib parameters fordependenciesThis is the Qt for Embedded Linux Open Source Edition.You are licensed to use this software under the terms ofthe Lesser GNU General Public License (LGPL) versions 2.1.You are also licensed to use this software under the terms ofthe 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.yesCreating qmake. Please wait...g++ -o "/home/honma/qt-everywhere-opensource-src-4.6.2/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_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.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/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40) :/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)project.o: could not read symbols: File in wrong formatcollect2: ld returned 1 exit statusmake: *** [/home/honma/qt-everywhere-opensource-src-4.6.2/bin/qmake] Error 1honma@honma:~/qt-everywhere-opensource-src-4.6.2$best regards,Hidekazu
Hi Hidekazu
The error you are now seeing, i.e. "project.o: could not read symbols: File in wrong format" is due to the same reason and is in fact documented as a "common gotcha" on the wiki; please see http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#Common_Gotchas. The solution is provided there too, which I should have drawn your attention to in my earlier post. For your convenience I am pasting it here from the wiki:Pasted from the Wiki: "Important: If you have first accidently cross-compiled, before giving the configure command again, it is important that you go to your ~/qt-everywhere-opensource-src-4.6.2/qmake directory and delete all the *.o files, since if you try and continue the build without cleaning these out, it will try to link in these cross-compiled files. Do this as:host $ cd ~/qt-everywhere-opensource-src-4.6.2/qmakehost $ rm *.o
This is due to part of a project being compiled with one architecture and the rest of it being compiled with another architecture.
As I mentioned earlier, MIDAS Ultrasound v3.0 uses a newer DVSDK for OMAP, which setups Qt for you automatically, and eliminates many of the setup steps that you need to do for v2.0. However, if you have enough reason to continue using v2.0 (as outlined at http://processors.wiki.ti.com/index.php/Medical_Imaging_Demo_Application_Starter_(MIDAS)), that is fine; but if not, I'd recommend you move to v3.0.
Hi UdaySuccessful build of QT in the following steps.Thank you.///////////////////////////////////////////////////////Build QT Success//////////////////////////////////////////////////////host $ cd ~/qt-everywhere-opensource-src-4.6.2/qmakehost $ rm *.ohost $ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \-no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc \-qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib :nfo/weatherinfo.pro Reading /home/honma/qt-everywhere-opensource-src-4.6.2/demos/embedded/anomaly/anomaly.pro Reading /home/honma/qt-everywhere-opensource-src-4.6.2/demos/browser/browser.pro 787 projects found.Creating makefiles. Please wait...Qt is now configured for building. Just run 'make'.Once everything is built, you must run 'make install'.Qt will be installed into /opt/qtTo reconfigure, run 'make confclean' and 'configure'.honma@honma:~/qt-everywhere-opensource-src-4.6.2$ make : about 1.5 hours later _toolbarsearch.o .obj/release-shared-emb-arm/moc_urllineedit.o .obj/release-shared-emb-arm/moc_webview.o .obj/release-shared-emb-arm/qrc_data.o .obj/release-shared-emb-arm/qrc_htmls.o -L/home/honma/qt-everywhere-opensource-src-4.6.2/lib -L/home/honma/targetfs/lib -lQtWebKit -L/home/honma/qt-everywhere-opensource-src-4.6.2/lib -L/home/honma/targetfs/lib -lQtGui -lQtNetwork -lQtCore -lpthread -lts make[2]: Leaving directory `/home/honma/qt-everywhere-opensource-src-4.6.2/demos/browser'make[1]: Leaving directory `/home/honma/qt-everywhere-opensource-src-4.6.2/demos'honma@honma:~/qt-everywhere-opensource-src-4.6.2$ Regards,Hidekazu
Great! Do post on e2e if you have any further queries.
Do look at the newer versions of MIDAS too when you get a chance. The latest Ultrasound v4.0 leverages the C6678, one of the industry's highest performing multicore DSPs, based on TI's latest floating-and-fixed-point C66x keystone architecture.
-- Uday
Hi, I'm Chul.
I have the same problem as you.
There is an error message as shown below.
home/won/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++ -o "/home/won/qt-everywhere-opensource-src-4.6.2/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_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.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 /home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary file/home/won/qt-everywhere-opensource-src-4.6.2/config.tests/unix/compile.test: line 69: /home/won/qt-everywhere-opensource-src-4.6.2/bin/qmake: cannot execute binary fileThe tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/won/qt-everywhere-opensource-src-4.6.2/mkspecs//qws/linux-omap3-g++.
I try step2 and make confclean
#export CC=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-gcc #export CXX=~/toolchain/arm-2009q1/bin/arm-none-linux-gnueabi-g++host $ source ~/.bashrc
won@ubuntu:~/qt-everywhere-opensource-src-4.6.2$ make confcleanmake: *** No rule to make target `confclean'. Stop.
But make confclean is stop.
and I try it.
host $ cd ~/qt-everywhere-opensource-src-4.6.2/qmakehost $ rm *.o
I'm re- try it.
host $ ./configure -prefix /opt/qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-omap3-g++ -depths 16,24,32 \ -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib
But I get the same error message.
How did you solve this problem?
Pleas tell me your solution.
Thank you.
I have the problem.
Hi. ChulThe error disappeared for me by the following commands. -----------------------------------------------------------------------host $ cd ~/qt-everywhere-opensource-src-4.6.2/qmake
host $ rm *.o
-----------------------------------------------------------------------
and Retry Command Sequence
Regards,
Hidekazu
I success it.
----------------------------------------------------------------------host $ cd ~/qt-everywhere-opensource-src-4.6.2/qmake
host $ make clean
after re-start
----------------------------------------------------------------------host $ ./configu~...
Compile successful.
to Hidekazu.
Hi, I'm chul.
I try build MIDAS V2.0 Demo.
I have a problem.
http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo#PSP_and_DVSDK.C2.A0Setup
I try compile MIDAS Ultrasound v2.0 Demo - Contents 11. Build MIDAS step 10.
I get a error message blow.
won@ubuntu:~/midas$ make midasmake[1]: Entering directory `/home/won/midas/ultrasound/servers/mud'rm -rf mud.x64P servers_mud.tar *.obj package package.* *DataSheet.html mud *.mapmake[1]: Leaving directory `/home/won/midas/ultrasound/servers/mud'make[1]: Entering directory `/home/won/midas/ultrasound/servers/mud'XDCPATH="/home/won///midas/ultrasound;/home/won///midas/ultrasound;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/framework_components_2_25_01_05/packages;/home/won/dvsdk/dvsdk_3_01_00_06/dsplink_linux_1_65_00_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/xdais_6_25_01_08/packages;/home/won/dvsdk/dvsdk_3_01_00_06/cs1omap3530_1_01_00/packages;/home/won/dvsdk/dvsdk_3_01_00_06/bios_5_41_00_06/packages;/home/won/dvsdk/dvsdk_3_01_00_06/biosutils_1_02_02/packages;/packages;/home/won/dvsdk/dvsdk_3_01_00_06/edma3_lld_01_11_00_03/packages;/home/won/dvsdk/dvsdk_3_01_00_06/local_power_manager_linux_1_24_01/packages;/home/won/dvsdk/dvsdk_3_01_00_06/codec_engine_2_25_01_06/packages/ti;/home/won/dvsdk/dvsdk_3_01_00_06/xdais_6_25_01_08/packages/ti/xdais;/home/won///midas/ultrasound/algos/scu;/home/won///midas/ultrasound/algos/bpu;/home/won///midas/ultrasound/algos/dpu;/home/won///midas/ultrasound/algos" /home/won/dvsdk/dvsdk_3_01_00_06/xdctools_3_16_01_27/xs xdc.tools.configuro -c /home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16 -o mud \ -t ti.targets.C64P -p ti.platforms.evm3530 -b /home/won///midas/ultrasound/servers/serverconfig.bld \ --tcf mud.cfgmaking package.mak (because of package.bld) ...serverconfig.bld: Running the version from midas/ultrasound/serversgenerating interfaces for package mud (because package/package.xdc.inc is older than package.xdc) ...configuring mud.x64P from package/cfg/mud_x64P.cfg ...platform = ti.platforms.evm3530ti.sdo.fc.dskt2: This module no longer supports the .debug or the .trace config params. Set desired profile for all FC modules as follows: xdc.useModule('ti.sdo.fc.global.Settings').profile = "debug" or set profiles for individual packages like this: xdc.loadPackage('ti.sdo.fc.dskt2').profile = "debug"; . Will default the 'release' profile, if no other setti.sdo.ce.ipc.bios.close(): loading dsplink.dspNOTE: You can find the complete server data sheet in ./package/info/mud.x64P.DataSheet.html------------------------------------------------------------------------------------------- will link with dpu:c64P/dpuCEpkg.lib;c64P/utilCEpkg.lib will link with bpu:c64P/bpu.l64P;c64P/utilCEpkg.lib will link with scu:c64P/scu.l64P will link with ti.sdo.ce.universal:lib/release/universal.a64P will link with ti.sdo.ce.bioslog:lib/release/bioslog.a64P will link with ti.sdo.ce:lib/release/ce.a64P will link with ti.sdo.ce.alg:lib/release/Algorithm_BIOS.a64P will link with ti.sdo.ce.ipc.bios:lib/release/ipc_bios.a64P will link with ti.sdo.ce.osal.bios:lib/osal_bios.a64P will link with ti.sdo.ce.osal.bios:lib/osal_bios_pwrm.a64P will link with ti.bios.utils:lib/utils.a64P will link with ti.sdo.fc.acpy3:lib/release/acpy3.a64P will link with ti.sdo.fc.memutils:lib/release/memutils.a64P will link with ti.sdo.fc.dman3:lib/release/dman3Cfg.a64P will link with ti.sdo.fc.dskt2:lib/debug_trace/dskt2.a64P will link with ti.sdo.ce.utils.xdm:lib/release/XdmUtils.a64P will link with ti.sdo.ce.node:lib/release/node.a64P will link with ti.sdo.utils.trace:lib/release/gt.a64Pcl64P package/cfg/mud_x64P.c ...asm64P package/cfg/mud_x64Pcfg.s62 ...cl64P package/cfg/mud_x64Pcfg_c.c .../home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16 /bin/cl6x -@ mud/compiler.opt -c main.cmake[1]: execvp: /home/won/dvsdk/dvsdk_3_01_00_06/cg6x_6_0_16: Permission deniedmake[1]: *** [main.obj] Error 127make[1]: Leaving directory `/home/won/midas/ultrasound/servers/mud'make: *** [midas] Error 2
please, I would like to know the solution to this problem.
Thank you
I have a new problem.