YA mingw build error (was Re: Makefile error in winsup/mingw?)

Christopher Faylor cgf@redhat.com
Fri Feb 14 19:18:00 GMT 2003

On Fri, Feb 14, 2003 at 01:44:30PM -0500, Jason Tishler wrote:
>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

You can also "fix" this by just removing the mcount.o rule.  This seems
to be broken due to a recent change made by Danny Smith.


More information about the Cygwin-developers mailing list