delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/02/14/13:37:14

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Fri, 14 Feb 2003 13:44:30 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: YA mingw build error (was Re: Makefile error in winsup/mingw?)
In-reply-to: <20030213181740.GX5822@cygbert.vinschen.de>
To: cygwin-developers AT cygwin DOT com
Mail-followup-to: cygwin-developers AT cygwin DOT com
Message-id: <20030214184430.GC1916@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20030213181740 DOT GX5822 AT cygbert DOT vinschen DOT de>

On Thu, Feb 13, 2003 at 07:17:40PM +0100, Corinna Vinschen wrote:
> when building the winsup tree from scratch, I'm getting a link error
> in winsup/mingw when trying to build mingwthrd_dummy.exe:

I found what appears to be another one:

    make[4]: Entering directory `/home/jt/src/cygwin/build/i686-pc-cygwin/winsup/mingw/profile
    ...
    gcc -L/home/jt/src/cygwin/build/i686-pc-cygwin/winsup -L/home/jt/src/cygwin/build/i686-pc-cygwin/winsup/cygwin -L/home/jt/src/cygwin/build/i686-pc-cygwin/winsup/w32api/lib -isystem /home/jt/src/cygwin/src/winsup/include -isystem /home/jt/src/cygwin/src/winsup/cygwin/include -isystem /home/jt/src/cygwin/src/winsup/w32api/include -isystem /home/jt/src/cygwin/src/newlib/libc/sys/cygwin -isystem /home/jt/src/cygwin/src/newlib/libc/sys/cygwin32 -B/home/jt/src/cygwin/build/i686-pc-cygwin/newlib/ -isystem /home/jt/src/cygwin/build/i686-pc-cygwin/newlib/targ-include -isystem /home/jt/src/cygwin/src/newlib/libc/include  -c -o mcount.o  -O2 -g -O2     -O1 ../../../../../src/winsup/mingw/profile/mcount.c
    ../../../../../src/winsup/mingw/profile/mcount.c:47:18: gmon.h: No such file or directory

I "fixed" it by adding the following to the gcc command line:

    -isystem ../../../../../src/winsup/mingw/profile

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

- Raw text -


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