Message-ID: <37D7B0BD.DE998100@this.newsgroup> From: Tony Welsh X-Mailer: Mozilla 4.61 [en]C-NECCK (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! "invalid page exception"?? References: <37D534CD DOT 9FE72805 AT this DOT newsgroup> <37D6B63A DOT 68278B19 AT this DOT newsgroup> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 62 Date: Thu, 09 Sep 1999 14:06:05 +0100 NNTP-Posting-Host: 195.44.20.37 X-Trace: news2-hme0 936901036 195.44.20.37 (Thu, 09 Sep 1999 19:17:16 BST) NNTP-Posting-Date: Thu, 09 Sep 1999 19:17:16 BST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > Yes, I have used info a little and experienced no problem moving > > around and between the topics. The dumps of "go32-v2", "gcc" and > > "gpp" with no arguments are below. > > Please add -v to the compilation command line, and post here > everything that the compiler prints until the point where it crashes. This is the dump, I had to type this in manually as you can't access the dos box after the fault with copy command and redirecting the output doesn't work either. It will normally get to the last braket of release or the "-lang" part and stops printing, but when you move the error message box the rest appears, I assume this is just a screen refresh issue, as it would have stopped execution of the code when it triggered the exception. My only thought is the last command line - is the last backslash the problem as the rest are UNIX style (on MSDOS?) . == C:\djgpp>cd src C:\djgpp\src>gcc -c -v chap01_1.c Reading specs from c:/djgpp/lib/specs gcc version 2.95 19990728 (release) c:/djgpp/lib/gcc-lib/djgpp/2.95/cpp.exe -lang-c -v -isystem c:/djgpp/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=2 -D__unix -D_i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=2 chap01_1.c c:/djgpp/tmp\ccnTHF0i.i === > This is normal. What about the following line, does it crash? And > what does it print? > gcc -v < nul == C:\djgpp>gcc -v One other thing to try: remove or disable the anti-virus software installed > on your machine (in case it is resident in memory). Then try compiling > again. It's a mcafee VirusScan suite, the TSR is VShield, I right-click it's image in the icon tray next to the clock and select exit, I presume this should be sufficient to remove it from memory... The same thing happens anyway, with the same error details. I wouldn't think that a virus scanner would interfere with a compile, I could understand if the program was running and doing some low level commands and then it fails, but not a compile. What is in my icon tray as I start up... * Task Scheduler * Windows volume icon * Creative Mixer * McAfee Scheduler * Instant Messenger (AIM) * Adeptec Direct CD Wizard * SBLive! * RealPlayer