This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: error with libmoldname.a


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


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