X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E6E0957.6010706@aol.com> Date: Mon, 12 Sep 2011 06:29:59 -0700 From: Tim Prince Reply-To: tprince AT computer DOT org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "unexpected token" error (cygwin 2.738 make) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: S X-AOL-SCOLL-SCORE: 0:2:411293600:93952408 X-AOL-SCOLL-URL_COUNT: 0 X-AOL-REROUTE: YES x-aol-sid: 3039ac1d33c14e6e095844e4 X-AOL-IP: 64.197.120.3 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 9/12/2011 5:24 AM, Gwen Morse wrote: > I installed cygwin 2.738 on a new Windows 7 system and tried to build > a project from source. I have been able to do this in the past, I > wanted to check if there's any problems with this newer version of > cygwin. > > when I type make I get an error message about an unexpected token with > an open parenthesis. > > $ make > /bin/sh: -c: line 0: syntax error near unexpected token `(' > /bin/sh: -c: line 0: `cd src; PATH=/usr/local/bin:/usr/bin:/ > cygdrive/c/Program F > iles (x86)/Windows Resource Kits/Tools:/cygdrive/c/Windows/system32:/cygdrive/c/ > Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPo > werShell/v1.0:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/P > rogram Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86) > /Common Files/Roxio Shared/DLLShared:/cygdrive/c/Program Files (x86)/Calibre2:/c > ygdrive/c/Program Files (x86)/HMA! Pro VPN/bin:/usr/lib/lapack:@PATH@ make files > ' This looks like problems with failing to quote paths with embedded spaces, lack of escapes on wild card characters, items on path which one would hope have no relevance to your build, .... Difficult to believe it is a cygwin version problem. -- Tim Prince -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple