From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21556 invoked by alias); 13 Jul 2013 14:25:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21533 invoked by uid 89); 13 Jul 2013 14:25:45 -0000 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 Received: from Unknown (HELO mail-we0-f179.google.com) (74.125.82.179) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 13 Jul 2013 14:25:44 +0000 Received: by mail-we0-f179.google.com with SMTP id w59so8692678wes.24 for ; Sat, 13 Jul 2013 07:25:36 -0700 (PDT) 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) Received: by 10.194.153.73 with HTTP; Sat, 13 Jul 2013 07:25:36 -0700 (PDT) In-Reply-To: <51E12DBE.6000902@gmail.com> References: <51E12DBE.6000902@gmail.com> Date: Sat, 13 Jul 2013 18:19:00 -0000 Message-ID: Subject: Re: error with libmoldname.a From: Florent Monnier To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-07/txt/msg00283.txt.bz2 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