delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/09/06:14:10

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: make: Facing problem while compiling using make 3.80
Date: Tue, 9 Jan 2007 11:13:46 -0000
Message-ID: <000c01c733df$3ae97350$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20070109100719.91978.qmail@web27006.mail.ukl.yahoo.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

On 09 January 2007 10:07, Faisal Sajjad wrote:

> Hi,
>    I am trying to compile my code using cywin. My
> source code has several directories each having
> makefiles which gives the rules to compile files
> contained in the folder. When i m compiling, make is
> throwing an error:
> Serious error: C3052E: couldn't read file
> <path/filename>
> C3050U: Compilation aborted.

  No.  That's not an error from make at all.  That's an error from your
compiler.

> Strangely, make is giving errors only in one folder
> whereas it is able to properly compile files contained
> in other folders.

  No.  Make isn't having the problem.  The compiler is having the problem.

> I am not able to figure out the problem.
> make version - GNU make 3.80

  That's a bit old, but it isn't the problem.

> Host machine - Windows XP running on intel centrino
> Cywin setup-version -  2.510.2.2

  Telling us which version of setup you used to install cygwin isn't useful;
that's only the version of setup.exe itself, and doesn't contain any
information about what package versions were current when you ran it.

> I don't know whether this is some kind of bug in make.

  I do.  It isn't.

> Can someone suggest how to fix it or if someone has
> faced similar problem and fixed it or some other
> version of make where it works well.

  I think the real problem /might/ be (because you haven't included an example
that I could use to reproduce the problem) that you're trying to pass a cygwin
POSIX-style path to a windows msvc-based compiler that has no idea what it
means?  I'm guessing that the reason it sometimes works and sometimes doesn't
is because you're sometimes passing full paths to it, and sometimes just bare
filenames in the current directory, which of course are exactly the same in
both windows and unix style.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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