Compile error while building setup.exe

Michael A. Chase mchase@ix.netcom.com
Mon May 28 19:02:00 GMT 2001


It appears my last problem was a leftover iniparse.d file.  After I erased
all files in obj/i686-pc-cygwin/winsup/cinstall/, I was able to get a clean
build.  Since I erased it, I can't be sure, but I suspect that iniparse.d
still had the iniparse.o: iniparse.c ... rule in it.

Chris just posted an update to Makefile.in that deletes more files in the
clean: rule.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Michael A. Chase" <mchase@ix.netcom.com>
To: <cygwin-developers@sourceware.cygnus.com>
Sent: Monday, May 28, 2001 17:37
Subject: Re: Compile error while building setup.exe


> I think the problem is in winsup/cinstall/Makefile.in.  Either bison needs
> to create iniparse.c or there needs to be a rule to tell make to use
> iniparse.cc to create iniparse.o.
>
> Even after a 'make clean', I had a iniparse.c from a previous build that
was
> being used to create iniparse.o.  When I deleted the old iniparse.c, make
> complained about having no rule to create iniparse.o.
>
> I am still investigating, but I suspect Chris will know immediately what
the
> correct fix is.
> ----- Original Message -----
> From: "Michael A. Chase" <mchase@ix.netcom.com>
> To: <cygwin-developers@sourceware.cygnus.com>
> Sent: Monday, May 28, 2001 16:53
> Subject: Compile error while building setup.exe
>
>
> > When I try to build setup.exe from source I get:
> >
> >
>
gcc -L/c/cygwin-build/obj/i686-pc-cygwin/winsup -L/c/cygwin-build/obj/i686-p
> > c-cygwin/winsup/cygwin -L/c/cygwin-build/obj
> > /i686-pc-cygwin/winsup/w32api/lib -isystem
> > /c/cygwin-build/src/winsup/include -isystem
> > /c/cygwin-build/src/winsup/cygwin
> > /include -isystem /c/cygwin-build/src/winsup/w32api/include -isystem
> > /c/cygwin-build/src/newlib/libc/sys/cygwin -isystem
> >
> >
>
/c/cygwin-build/src/newlib/libc/sys/cygwin32 -B/c/cygwin-build/obj/i686-pc-c
> > ygwin/newlib/ -isystem /c/cygwin-build/obj/
> > i686-pc-cygwin/newlib/targ-include -isystem
> >
>
/c/cygwin-build/src/newlib/libc/include -MMD -g -O2 -mno-cygwin -I. -I/c/cyg
> >
>
win-build/src/winsup/cinstall -I/c/cygwin-build/src/winsup/mingw/include -I/
> > c/cygwin-build/src/winsup/w32api/include -I/
> > c/cygwin-build/src/winsup/bz2lib -mwindows -c -o iniparse.o iniparse.c
> >
> > /c/cygwin-build/src/winsup/cinstall/iniparse.y: In function `yyparse':
> > /c/cygwin-build/src/winsup/cinstall/iniparse.y:57: warning: assignment
> makes
> > pointer from integer without a cast
> >
> > The build fails further down because yyparse() is not defined.  I was
able
> > to build setup.exe a couple days ago, so hopefully the cause is one of
the
> > recent changes to iniparse.y.




More information about the Cygwin-developers mailing list