This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: newbie error report from "cpp -v"


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@pandora.be
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  ejfried@ca.sandia.gov
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]