Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <004e01c0e7e3$185fd520$eb2e273f@ca.boeing.com> From: "Michael A. Chase" To: "Michael A. Chase" , References: <001401c0e7d1$ac34daa0$eb2e273f AT ca DOT boeing DOT com> <003401c0e7d7$a9c7c380$eb2e273f AT ca DOT boeing DOT com> Subject: Re: Compile error while building setup.exe Date: Mon, 28 May 2001 18:59:34 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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" To: 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" > To: > 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.