Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <004e01c2a644$8174d620$090a0a0a@mail.everfocus.com.tw> From: "Franklin" To: Subject: Make caused invalid page fault in module KERNEL32.DLL Date: Wed, 18 Dec 2002 11:21:04 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Virus-Scanned: by AMaViS perl-11 Hi all! I'm new to cygwin mailing list, and I had a problem using make utility. I've found that somebody had asked this before, but I couldn't find any answer to it. When I run make.exe under dos prompt, an error message window jumped out, saying that make.exe caused an page fault. --------------------------------------------------- MAKE caused an invalid page fault in module KERNEL32.DLL at 0187:bff7d833. Registers: EAX=dec0f3a0 CS=0187 EIP=bff7d833 EFLGS=00010202 EBX=81983c9c SS=018f ESP=008dd7b0 EBP=008dd7f8 ECX=bff7d82c DS=018f ESI=00000001 FS=3eb7 EDX=bffc9490 ES=018f EDI=00000000 GS=0000 Bytes at CS:EIP: 8b 0f 3b ce 76 10 8d 47 10 83 38 00 74 28 83 c0 Stack dump: 008dd7f8 8197c470 00000001 00000000 bff8deef 81983c9c 00000000 008de4d0 00000000 dec115c0 8197c4b0 bff7ffff bff7ddaa 00000000 000000b8 00000000 -------------------------------------------- this is my Makefile: --------------------------------------------- CC = hyc CFLAGS = -I..\include -g -c LINKER = hylink HEXER = hyeprom OBJECTS = main.o i2c.o all: edsr1600.hye #edsr1600.hex edsr1600.hex: edsr1600.hye hyeprom @edsr1600.fmt edsr1600.hye: $(OBJECTS) hylink -MAP @edsr1600.lnk main.o: main.c $(CC) $(CFLAGS) main.c i2c.o: i2c.c $(CC) $(CFLAGS) i2c.c clean: rm -f *.O *.HYE *.HEX *.MAP ----------------------------------------------------- But it succeeded when I just `make clean'. I got the make source tarball to make it myself, and it could make successfully under cygwin bash shell without causing any error. However, when I tried to make my own project under dos prompt, the annoying messages were always shown. I've also tried to use make --win32, but useless. Does anyone have any idea about this problem? How can I avoid it? Thanks for your replying. -- God is real unless declared integer. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/