This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]