X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Fi oBRqIIkwB1ME1M5RsVhP8nbKd6ylYnHWfJpgawipcyc+0u9ZNB9mAmyEJVnyKrfL YTvd9vQhkOcQZofxLnQXDRaHMHeDNfrXsI6Nj6LCL5rOSJ3niqLZF4KbXVkolt+K 2K+ZVfL5OMRegNmlL+a5wwHsaQuDzH6aHQF2jygkk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=Wmt8FfSw yZn9uHh7suMzzuHZIQM=; b=vxnvvXvTIodgEIzTOTO+cUUnB0hRx0q5ZwA7fmNC kTOhPtizC75uCiVV6LeVvMj7Uif85pcFNrsNaIQbFnacBN4ZeFNe7XlmTUTvozQU 8AgHlPafWLYqv5o2LU17/ClMH3xZpRMqHqBJneQyTZpvnuPd5EAhKLk6WAerZUfI HZg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_LG,TW_MK,TW_UU,T_FRT_BELOW2 autolearn=no version=3.3.1 MIME-Version: 1.0 X-Received: by 10.194.242.134 with SMTP id wq6mr26347355wjc.94.1373725536139; Sat, 13 Jul 2013 07:25:36 -0700 (PDT) In-Reply-To: <51E12DBE.6000902@gmail.com> References: <51E12DBE DOT 6000902 AT gmail DOT com> Date: Sat, 13 Jul 2013 16:25:36 +0200 Message-ID: Subject: Re: error with libmoldname.a From: Florent Monnier To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 2013/07/13, JonY wrote: > On 7/13/2013 17:46, Florent Monnier wrote: >> Hi, >> One week ago a project compiled under Cygwin with CC defined as bellow >> was compiling just fust fine, >> CC = c:/cygwin/bin/i686-w64-mingw32-gcc.exe >> >> But since yesterday, after a cygwin update, I get the following error: >> >> Fatal error: Error while reading: >> C:/cygwin/usr/i686-w64-mingw32/sys-root/mingw/lib/libmoldname.a: >> end-of-file >> > > How are you causing the error? Please show the full command line. This is a compilation of ocaml and SDL2 together (SDL2 from the scm of 2013-07-07, and protz OCaml (not cygwin one) version 4.00.1) the project is this one: https://github.com/blue-prawn/OCamlSDL2 Again this project was compiling just fine one week ago, and after a Cygwin update, I now get this error: -v turns verbosity on so the second line that starts with + is the underlying command called by the first one $ ocamlmklib -v -ocamlc 'ocamlc -cc "c:/cygwin/bin/i686-w64-mingw32-gcc.exe -g "' -ocamlopt 'ocamlopt -cc "c:/cygwin/bin/i686-w64-mingw32-gcc.exe -g " -g' -o sdl2 -oc sdl2_stubs sdlinit_stub.o sdlquit_stub.o sdlrect_stub.o sdlblendMode_stub.o sdlsurface_stub.o sdlwindow_stub.o sdlrender_stub.o sdltexture_stub.o sdlpixel_stub.o sdlevent_stub.o sdlkeyboard_stub.o sdlkeymod_stub.o sdlmouse_stub.o sdljoystick_stub.o sdlinput_stub.o sdlclipboard_stub.o sdltimer_stub.o sdlgl_stub.o sdlaudio_stub.o sdlversion_stub.o sdlcpuinfo_stub.o sdlpower_stub.o sdlerror_stub.o sdl_platform_stub.o -L/usr/local/lib -lmingw32 -lSDL2main -lSDL2 -lm -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid + flexlink -chain mingw -stack 16777216 -o .\dllsdl2_stubs.dll sdlinit_stub.o sdlquit_stub.o sdlrect_stub.o sdlblendMode_stub.o sdlsurface_stub.o sdlwindow_stub.o sdlrender_stub.o sdltexture_stub.o sdlpixel_stub.o sdlevent_stub.o sdlkeyboard_stub.o sdlkeymod_stub.o sdlmouse_stub.o sdljoystick_stub.o sdlinput_stub.o sdlclipboard_stub.o sdltimer_stub.o sdlgl_stub.o sdlaudio_stub.o sdlversion_stub.o sdlcpuinfo_stub.o sdlpower_stub.o sdlerror_stub.o sdl_platform_stub.o -L/usr/local/lib -lmingw32 -lSDL2main -lSDL2 -lm -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid ** Fatal error: Error while reading C:/cygwin/usr/i686-w64-mingw32/sys-root/mingw/lib/libmoldname.a: End_of_file Do you know what the problem could be? and how to fix it? -- Regards -- 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