Hi,
could someone look at this please:
http://sourceforge.net/p/mingw-w64/discussion/723798/thread/54ec11c2/?limit=25#3046
Seems like an obvious-to-fix thing if what the OP says is right.
Ruben
2013/6/16 Faroe <fa...@users.sf.net>
> Hello,
>
> I'm using Debian wheezy and I've been trying to cross-compile a screen
> saver for Windows. The linker complains about missing symbols such as
> _WinMain@16 and _DefScreenSaverProc@16. These should exist inside
> libscrnsave.a so that linking is possible with -lscrnsave, but that file
> is practically empty; its size is 672 bytes.
>
> I downloaded the MinGW-w64 source tarball version 2.0.8 and noticed that
> it contains the source file for libscrnsave.a (at least that's what I think
> it is): the path in the tarball is
> mingw-w64-v2.0.8/mingw-w64-crt/libsrc/scrnsave.c. I also noticed that the
> entire contents of the file have been wrapped inside #if 0 ... #endif so
> it is basically an empty file. Obviously, that would explain why no symbols
> end up in libscrnsave.a.
>
> Can someone tell me why the code in scrnsave.c has been commented out? I
> can copy the file to my project, uncomment it, and it seems to work fine.
> Sorry if I'm not getting things right here; this is my first stab at
> cross-compiling.
>
> Thanks in advance.
> ------------------------------
>
> No symbols in libscrnsave.a; source file scrnsave.c commented
> out<https://sourceforge.net/p/mingw-w64/discussion/723798/thread/54ec11c2/?limit=25#3046>
> ------------------------------
>
> Sent from sourceforge.net because you indicated interest in
> https://sourceforge.net/p/mingw-w64/discussion/723798/
>
> To unsubscribe from further messages, please visit
> https://sourceforge.net/auth/subscriptions/
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public