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: <157240-220021231814557274@M2W050.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: gis86541 AT cis DOT nctu DOT edu DOT tw, cygwin AT cygwin DOT com Subject: RE: Make caused invalid page fault in module KERNEL32.DLL Date: Wed, 18 Dec 2002 09:55:07 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 18 Dec 2002 14:55:07.0276 (UTC) FILETIME=[746AB4C0:01C2A6A5] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBIEtg801561 First, I'd direct you to http://cygwin.com/bugs.html. Second, it's clear you are not using gcc/binutils for your compiler/linker so you need to investigate and determine that the mixed environment that you're running in (Cygwin + other tools) is not causing conflicts. Third, you might try running make (assuming you're using Cygwin's make) with strace and see if that points out any internal problems. These recommendations are in order. The first one is just a primer for the other two and helps your investigation. Larry Original Message: ----------------- From: Franklin gis86541 AT cis DOT nctu DOT edu DOT tw Date: Wed, 18 Dec 2002 11:21:04 +0800 To: cygwin AT cygwin DOT com Subject: Make caused invalid page fault in module KERNEL32.DLL 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/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- 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/