X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 27 Nov 2012 10:29:49 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: last snapshot does not compile Message-ID: <20121127092949.GA19257@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20121126161503 DOT GA3888 AT qp9482> <20121127074540 DOT GA2696 AT qp9482> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20121127074540.GA2696@qp9482> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Nov 27 08:45, Denis Excoffier wrote: > On Mon, Nov 26, 2012 at 05:14:38PM +0059, Denis Excoffier wrote: > >> Hello, > >> > >> I tried the last (20121123) snapshot, it seems to work OK (although > > This morning i tried the 20121126 snapshot with exactly the same > results, except that the compilation of cygcheck.cc goes one step > further. > > First, about the cygcheck executable: > > % /usr/bin/cygcheck > /usr/bin/cygcheck.exe: error while loading shared libraries: zlib1.dll: cannot open shared object file: No such file or directory > % /usr/bin/ldd /usr/bin/cygcheck.exe > ntdll.dll => /cygdrive/d/WINDOWS/system32/ntdll.dll (0x7c910000) > kernel32.dll => /cygdrive/d/WINDOWS/system32/kernel32.dll (0x7c800000) > libgcc_s_sjlj-1.dll => not found > ADVAPI32.dll => /cygdrive/d/WINDOWS/system32/ADVAPI32.dll (?) > msvcrt.dll => /cygdrive/d/WINDOWS/system32/msvcrt.dll (?) > PSAPI.DLL => /cygdrive/d/WINDOWS/system32/PSAPI.DLL (?) > USER32.dll => /cygdrive/d/WINDOWS/system32/USER32.dll (?) > zlib1.dll => not found > % > > About the cygcheck recompilation, i get the following messages: > > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find crt2.o: No such file or directory > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmingw32 > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmoldname > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmingwex > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmingw32 > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmoldname > /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld: cannot find -lmingwex > collect2: ld returned 1 exit status > make[3]: *** [cygcheck.exe] Error 1 > > Is it worth trying to link with /usr/i686-pc-mingw32/lib/crt2.o or > /usr/i686-pc-mingw32/sys-root/mingw/lib/crt2.o ? In theory the cygcheck executable should have been linked against the static libz.a, not against zlib1.dll. This is what happens when I build cygcheck on my Linux box. I also just tried to build on Cygwin with the same result. If you set the environment variable CCWRAP_VERBOSE and then rebuild cygcheck.o and cygcheck.exe, what's the entire output of `make'? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple