Qmake 1 Syntax Error Unexpected
Contents |
it enabled. Please turn JavaScript back on and reload this page.More Discussions in i.MX Community Where is this place located?NXP CommunityAll Placesi.MX CommunityLog in to create and rate content, and to follow, bookmark, and share content with other line 1 syntax error word unexpected expecting members.qmake: 1: Syntax error: word unexpected (expecting ")")Discussion created by Hitesh Sharma on
Syntax Error Word Unexpected (expecting ) ) Makefile
Feb 8, 2012Latest reply on Feb 14, 2012 by Hitesh Sharma Like • Show 0 Likes0 Comment • 7HiI syntax error word unexpected (expecting ) ) shell script am trying to cross compile my program in imx 53 board. When i give "qmake -project" it is giving the following error./usr/bin/qmake: 1: Syntax error: word unexpected (expecting ")")any ideasThanksHiteshOutcomesVisibility: i.MX Community2789
Emulator Syntax Error Word Unexpected Expecting
ViewsLast modified on Feb 8, 2012 2:47 AMTags:ning_discContent tagged with ning_discThis content has been marked as final. Show 7 comments7 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressKrishnaPavan Feb 8, 2012 2:51 AMAre you sure qmake is in usr/bin.As far as I know, it will be in /bin in the QtSDK DirectoryRegards :: Krishna PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb syntax error word unexpected (expecting ) ) ubuntu 8, 2012 3:09 AMHiThanks for quick replyI tried with qmake in /bin. Still I am getting errorbin/qmake: 1: Syntax error: word unexpected (expecting ")")RegardsHiteshLike • Show 0 Likes0 Actions KrishnaPavan Feb 8, 2012 3:14 AMHi,You have to use your qmake thats present for the target [ uses Codesourcery tool chain ] and not that is present when you installed Qt on your machine [ uses native gcc ].Both are different.Run sudo find / -name "qmake" to find out where your qmake is.Regards :: Krishna PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb 8, 2012 3:47 AMHi"qmake " is in the folder /binand I am using qmake which is present for the target not the one which is there when i installed qt.ThanksHiteshLike • Show 0 Likes0 Actions Hitesh Sharma Feb 13, 2012 10:32 PMHiany other ideasThanksHiteshLike • Show 0 Likes0 Actions KrishnaPavan Feb 13, 2012 10:42 PMHi,If you have a Qt IDE, then you can probably check with what file the error is in, because, in the process of creating make file, it checks that. You can easily identify within the IDE, if you have failed to insert braces.Rega
here for a quick overview of the
Python Syntax Error: Word Unexpected (expecting ")")
site Help Center Detailed answers to any questions you
Syntax Error: Word Unexpected (expecting ")") Bash
might have Meta Discuss the workings and policies of this site About Us Learn syntax error word unexpected (expecting ) ) android studio more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation https://community.nxp.com/thread/277546 Tags Users Badges Ask Question x Dismiss Join the Stack 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 http://stackoverflow.com/questions/8366721/error-while-compiling-qt-embedded-for-beagleboard-arm vote 1 down vote favorite I am trying to compile Qt embedded for ARM. I have 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_C
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://stackoverflow.com/questions/36725864/syntax-error-word-unexpected-expecting Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs http://stackoverflow.com/questions/34513426/qmake-syntax-error-near-unexpected-token-newline Documentation Tags Users Badges Ask Question x Dismiss Join the Stack 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 Syntax error: word unexpected (expecting “)”) up vote 1 down vote favorite Problem in short- In linux whenever we get the following syntax error error "Syntax error: word unexpected (expecting ")")", what does it generally mean? Problem in details- I have been trying to cross-compile Qt-4.6 as per Sourcery tool chain on Ubuntu 10.04. I followed the exact steps mentioned at the link compiling Qt-4.6. But I get the following error right in the ./configure step - /home/weds/qt-everywhere-opensource-src-4.6.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")") Searching in internet I found lots of posts regarding this error. Read all syntax error word of them. But still clueless as to What this error is and How to solve it. I would be glad if someone would help me in understanding this error. P.S 1- Sourcery toolchain is present inside /opt/ folder and my PATH variable is correctly pointing to it. P.S 2- This toolchain was not installed manually by me. Rather it was provided by a vendor as a .tgz file which I extracted inside /opt/ folder. arm qt4 share|improve this question asked Apr 19 at 13:53 satya prakash Panigrahi 813 migrated from unix.stackexchange.com Apr 19 at 17:50 This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems. add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted An answer to this seems to be posted in the instructions to which you linked. Admittedly it's a long way down in the comments but it didn't take long to search for qmake: Syntax error: word unexpected. Quote: Tej says: January 4, 2013 at 12:20 pm Ok, I have solved the Problem. Its very unfortunate that ppl did not tell what actually is the problem. Problem is we have to use Host qmake. For that whatever Export (export PATH=/usr/local/arm/4.3.2/bin:$PATH etc.) we did in step during tslib installation, we have to undo all of that.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business 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 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 qmake syntax error near unexpected token newline up vote 0 down vote favorite I'm following the qmake example on page 40 (Rapid Dialog Design) of C++ GUI programming with qt 4 (2nd ed) by Blanchette and Summerfield. I installed the make tools from http://www.mingw.org/wiki/MSYS I'm running qt 5.5.1 on a 64-bit Windows 10. VS 2013 is installed. After running qmake -project and qmake gotocell.pro as in the instructions, I got this error: C:\Users\John\Documents\gotocell>make.exe make.exe -f Makefile.Release make.exe[1]: Entering directory `/c/Users/John/Documents/gotocell' cl -c -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -GR -W3 -w34100 -w34189 -w44996 -EHsc -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I. -I. -I..\..\..\..\Qt\Qt5.5.1\5.5\msvc2013_64\include -I..\..\..\..\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtGui -I..\..\..\..\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtANGLE -I..\..\..\..\Qt\Qt5.5.1\5.5\msvc2013_64\include\QtCore -Irelease -I..\..\..\..\Qt\Qt5.5.1\5.5\msvc2013_64\mkspecs\win32-msvc2013 -Forelease\ @<< /bin/sh: -c: line 0: syntax error near unexpected token `newline' /bin/sh: -c: line 0: `cl -c -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -GR -W3 -w34100 -w34189 -w44996 -EHsc -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_GUI_LI