delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/23/14:23:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=Kdw67JPhD0FQR/wV7Ljemic78KoAt
9MDVPwiBAg2+fYds2sLlvhD3Jp9Ix6mNmfPidxqV1qfso92EWnEDF0iQYbgEr/5x
n45JNupcH5+Aw0PMimJdEEzNX7I9LpwuxdungMrMn0TBH1jdJYigpnoUnoCCSo7L
ooQVs3bZoi0lKI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=Vot4ir/3itUBzUQs1GC/Sf90Qzo=; b=gbt
53j2VmpTRduapS+4JlakvmnAuE2BU+oZyz1q5hnIG1K/dpogFCsuieY/33XwuFIy
RSrEg5+qtOCNvn3vNYGcQPrM50XFTLBl0HON1iMpa8g0DAQV1c7CDAJdTzogjyhV
L3cmIkGjqHOi+s15RiMUZYXuTNFBTR1qdWBt+laQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.60.62.70 with SMTP id w6mr18467183oer.38.1366741366530; Tue, 23 Apr 2013 11:22:46 -0700 (PDT)
Date: Tue, 23 Apr 2013 14:22:46 -0400
Message-ID: <CAE3n8Uekce+PnP7iEedD7sj+hcY8AWupo2Qhhtw_zhp+Y_+iuw@mail.gmail.com>
Subject: Codesourcery toolchain under Win7/cygwin can't find some files
From: Nadi Findikli <nfindikli AT gmail DOT com>
To: cygwin AT cygwin DOT com

I have searched this but the questions I found are about getting the
toolchain to work, my problem is that it works on all but a few
directories.  Also I am not building Linux.

I am trying to move a project from a Linux machine to Windows to make
people happy.  The same project builds fine under Linux (Ubuntu 12.04)
using the Linux Binary for the same toolchain (I recently reloaded
both toolchains from the same directory at Mentor to be sure, see
details below).

I installed Cygwin, got the packages, set up paths, etc.  In general
the build works for 90% of the project BUT as make traverses the
directory, it finds everything except two files (to clarify, these two
are the first files in their respective directories, so I assume the
problem will apply to the whole directory).  The log below shows the
first fail:

 - if I take lwip out of the build then it blows up on the next one

 - if I take the next one out of the build then everything else (quite
a bit) compiles; then the linker fails on the two missing items as
expected.

More precisely, e.g.
it finds  /home/Nadi/project/version-2.9/external/freertos/Source/portable/GCC/ARM_CM3_MPU/port.c

but not /home/Nadi/project/version-2.9/external/lwip/src/api/api_lib.c
from the directory that I am running make, "ls" finds the file that
the compiler cannot.

LOG
    $ make
    external/freertos
    external/lwip
     [cc] Debug/api_lib.o
     arm-none-eabi-gcc.exe: error:
/home/Nadi/project/version-2.9/external/lwip/src/api/api_lib.c: No
such file or directory
     arm-none-eabi-gcc.exe: fatal error: no input files compilation terminated.
     Makefile:189: recipe for target `Debug/api_lib.o' failed
     make[2]: *** [Debug/api_lib.o] Error 1
     Makefile:37: recipe for target `lwip_world' failed
     make[1]: *** [lwip_world] Error 2
     Makefile:160: recipe for target `extern' failed
     make: *** [extern] Error 2

DETAILS:
 - GCC Chain : arm-none-eabi-gcc ; gcc version 4.7.2 (Sourcery
CodeBench Lite 2012.09-63)
  - Cygwin    : CYGWIN_NT-6.1-WOW64

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

- Raw text -


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