Qmake Syntax Error Word Unexpected
Contents |
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development Mobile and Embedded line 1 syntax error word unexpected expecting Errors ( like qmake: Syntax error: word unexpected (expecting ")") ) occur
Syntax Error Word Unexpected (expecting ) ) Makefile
when configuring Qt environment. Errors ( like qmake: Syntax error: word unexpected (expecting ")") ) occur when syntax error word unexpected (expecting ) ) shell script configuring Qt environment. This topic has been deleted. Only users with topic management privileges can see it. netadi last edited by Hello. I am trying to cross-compile Qt4.8.6 emulator syntax error word unexpected expecting for embedded linux system on Zynq (Coretex-A9) of ZedBoard. My development environment is : PC : Ubuntu 12.4 Toolchain : Xilinx SDK (2014.3.1) Qt version : qt-everywhere-opensource-src-4.8.6 When configuring (as the first step for Qt build) with qmake, the following errors are occurred. It looks it occurs on configuration test phase. Of course I have already set arm-toolchain
Syntax Error Word Unexpected (expecting ) ) Ubuntu
PATH and qmake.conf and the environment variables. At the first time, I could configure, make and make install, then library was built correctly (it worked). However after that, I might changed setting or something, the following errors became to occur. How should I eliminate the errors? ida@dd102726-02:~/Qt/build/qt-everywhere-opensource-src-4.8.6$ ./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -little-endian -opensource -host-little-endian -confirm-license -nomake demos -nomake examples -prefix $ZYNQ_QT_INSTALL This is the Qt for Embedded Linux Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. You have already accepted the terms of the license. Creating qmake. Please wait... make: `first' に対して行うべき事はありません. 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 for dependencies /home/ida/Qt/build/qt-everywhere-opensource-src-4.8.6/bin/qmake: 1: /home/ida/Qt/build/qt-everywhere-opensource-src-4.8.6/bin/qmake: Syntax error: word unexpected (expecting ")") /home/ida/Qt/build/qt-everywhere-opensource-src-4.8.6/bin/qmake: 1: /home/ida/Qt/build/qt-everywhere-opensource-src-4.8.6/bin/qmake: Syntax error: word unexpected (expecting ")") /home/ida/Qt/build/qt-everywhere-opensource-src-4.8.6/bin/qmak
here for a quick overview of the site Help Center Detailed answers python syntax error: word unexpected (expecting ")") to any questions you might have Meta Discuss the workings syntax error: word unexpected (expecting ")") bash and policies of this site About Us Learn more about Stack Overflow the company Business
Syntax Error Word Unexpected (expecting ) ) Android Studio
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack https://forum.qt.io/topic/49834/errors-like-qmake-syntax-error-word-unexpected-expecting-occur-when-configuring-qt-environment Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error while compiling Qt embedded for Beagleboard (ARM) up vote 1 down vote favorite I am trying to compile Qt embedded for ARM. I have http://stackoverflow.com/questions/8366721/error-while-compiling-qt-embedded-for-beagleboard-arm followed the instructions both here and here. I am using latest Angstrom toolchain and qt-embedded-linux-opensource-src-4.5.3 and I am using Ubuntu 10.10 x86. Here steps I past: Configured qws/linux-arm-g++/qmake.conf file for my toolchain. Here it's content: # # qmake configuration for building with arm-linux-g++ # include(../../common/g++.conf) include(../../common/linux.conf) include(../../common/qws.conf) # modifications to g++.conf QMAKE_CC = arm-angstrom-linux-gnueabi-gcc QMAKE_CXX = arm-angstrom-linux-gnueabi-g++ QMAKE_LINK = arm-angstrom-linux-gnueabi-g++ QMAKE_LINK_SHLIB = arm-angstrom-linux-gnueabi-g++ # modifications to linux.conf QMAKE_AR = arm-angstrom-linux-gnueabi-ar cqs QMAKE_OBJCOPY = arm-angstrom-linux-gnueabi-objcopy QMAKE_STRIP = arm-angstrom-linux-gnueabi-strip load(qt_config) Set my toolchain path: export PATH=/home/olcay/angstrom/arm/bin:$PATH Configured qt with: ./configure -arch arm -little-endian -xplatform qws/linux-arm-g++ Run make. While running make I am getting this error: make[1]: Entering directory `/home/olcay/qt-embedded/src/corelib' arm-angstrom-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qatomic_arm.o arch/arm/qatomic_arm.cpp /home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 1: ELF: not found /home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 2: Syntax error: word unexpected (exp
I've read some topics about installing QT, and I've decided to install it myself too. I've used installing manual from Paolo: http://www.sereno-online.com/site/2010/05/01/qt-4-6-2-installation-proce... It needed some changes http://www.friendlyarm.net/forum/topic/1354 but finally it started to compile but it stoped and I received error: [...] /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") The tslib functionality test failed! You might need to syntax error modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm -g++. And I have no idea what I should do now. I've tried to search for something about tslib but don't know what to do with it. thanks in advance best regards Tomasz syntax error word Tom 2010-07-05 10:30:12 Hi! I've cross compiled TSLIB and now I'm trying to cross compile QT with Paolo manual. I've got one error: /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/bin/qmake: 1: Syntax error: word unexpected (expecting ")") The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/tomek/Pobieranie/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm -g++. What should I do now? Maybe something is wrong with paths? thanks in advance best regards Tomasz Anatoly 2011-08-14 20:15:31 May be it will help to anybody: I was try to correct QMAKE_INCDIR and QMAKE_LIBDIR variables but the problem was not solved. That may be if Qt and tslib compiled with different options -little-endian/-big-endian. I was work with mini6410 and made Qt configure with -big-endian, compilation was successful, and test programs are working on the board