Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: ejfried AT california DOT sandia DOT gov (friedman_hill ernest j) Message-Id: <200007212308.QAA27016@california.sandia.gov> Subject: Re: newbie error report from "cpp -v" In-Reply-To: <3978CEB4.C015EA62@pandora.be> from Henk Zwaenepoel at "Jul 22, 2000 00:29:08 am" To: darkstart AT pandora DOT be Date: Fri, 21 Jul 2000 16:08:58 -0700 (PDT) CC: cygwin AT sourceware DOT cygnus DOT com X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Most likely, you've got two different copies on cygwin1.dll in your path, and this is what's causing the corruption. The "cygcheck" program can find all copies for you -- give the -s -v options. Then delete the old ones, reboot your machine to be sure all cygwin processes are stopped, and you should be good to go. I think Henk Zwaenepoel wrote: > I just installed cygwin using the latest binaries ( the setup.exe > at the homepage ), and when I tried to compile a program ( > HelloWorld.cpp ) > I got the following message > > bash-2.04$ gcc HelloWorld.cpp > D:\CYGWIN\LIB\GCC-LIB\I686-PC-CYGWIN\2.95.2\CPP.EXE: *** shared region > is corrupted. inited 15 > 0 [main] ? 0 lock_pinfo_for_update: rc 0, pinfo_mutex 0xFFFFFFFF, > Win32 error 6 > bash-2.04$ > > Is this a problem with cpp.exe or windows98 ? Or something else ? > Should I try to reinstall setup ? I installed cygwin before ( some > months > ago ) to try it out, but I didn't get this error message. > > bash-2.04$ gcc -v > Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs > gcc version 2.95.2 19991024 (release-2) > bash-2.04$ g++ -v > Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs > gcc version 2.95.2 19991024 (release-2) > bash-2.04$ cpp -v > Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs > gcc version 2.95.2 19991024 (release-2) > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/cpp.exe -lang-c -v -Di386 > -D_X86=1 > -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) > -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) > -D__i386__ -D_X86=1 -D__STDC__=1 > -D__stdcall=__attribute__((__stdcall__)) > -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) > -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -remap -Acpu(i386) > -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 > -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__CYGWIN32__ -D__CYGWIN__ > -Dunix -D_WIN32 -DWINNT > -D:\CYGWIN\LIB\GCC-LIB\I686-PC-CYGWIN\2.95.2\CPP.EXE: *** shared region > is corrupted. inited 15 > 0 [main] ? 0 lock_pinfo_for_update: rc 0, pinfo_mutex 0xFFFFFFFF, Win32 > error 6 > bash-2.04$ > > Henk Zwaenepoel > darkstart AT pandora DOT be > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 ejfried AT ca DOT sandia DOT gov PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com