delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/21/15:33:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: HELP REQUIRED: Unexpected end of file.
Date: Mon, 21 Apr 2008 12:32:07 -0700
Message-ID: <BD6B3BD6A3C3EC4FBC45FF024CE1043706C4339C@WAPRDVSEBE10.gsm1900.org>
In-Reply-To: <71639ffd0804191147l3b6dcf55x37d06c5da713e3e3@mail.gmail.com>
References: <71639ffd0804191147l3b6dcf55x37d06c5da713e3e3 AT mail DOT gmail DOT com>
From: "Stepp, Charles" <Charles DOT Stepp AT T-Mobile DOT com>
To: "Goku" <ittiam AT gmail DOT com>, <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m3LJX0qF013283

I'm betting it is the Windoze vs. Unix line endings. CRLF vs LF. I've
found that using Windoze version of vim makes it easy to see and fix
line ending problems with files.

Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.

-----Original Message-----
From: Goku [mailto:ittiam AT gmail DOT com] 
Sent: Saturday, April 19, 2008 2:48 PM
To: cygwin AT cygwin DOT com
Subject: HELP REQUIRED: Unexpected end of file.

Hello ,

I am facing severe problems while porting some of the audio
applications, am using cygwin to compile my code, the makefile and the
code are written for Linux, hence i am trying to port it to windows
for TI DSP.

This is the place where i am getting the error
:
/cygdrive/c/consumer/Local/Applications/Temp/make45083.sh line 2:
syntax error : unexpected end of line.


.PHONY:mkdir
mkdir:
	@[ -d "${BINBUILD}" ] || mkdir -p $(BINBUILD);\
	[  -d "${OBJBUILD}" ] || mkdir -p $(OBJBUILD);\
	[  -d "${RESULTS}"  ] || mkdir -p $(RESULTS);\
	for i in $(bmarks) $(bmextradirs); do\
	[ -d "${OBJBUILD}/$$i" ] || mkdir -p $(OBJBUILD)/$$i;\
	done;\
	for i in $(rsextradirs); do\
	[ -d "${TOOLCHAIN}/$$i" ] || mkdir -p $(TOOLCHAIN)/$$i;\
	done


This particular code works fine in linux.

I had gone through the mailing list about the problems faced while
using the Cygwin. I couldnt find proper solutions for my problem. I
did use d2u and used almost all the solutions presented by various
people, still the problem exists. Can someone help me out in this
regard.

-Ravi

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019