#31 compilation of unshield-0.3 fails

closed
nobody
None
5
2004-09-06
2004-06-06
Steve Kelem
No

When trying to compile unshield-0.3 on the latest
cygwin (on WinXP, SP1a), I get the following error:

% gcc -Wl,--base-file,.libs/cygunshield-0.dll-base
-Wl,-e,__cygwin_dll_entry@12 -o .libs/cygunshield-0.dll
bswap.lo component.lo directory.lo
file.lo file_group.lo helper.lo libunshield.lo log.lo
.libs/libunshield.lax/libmd5.al/md5c.lo
-L/usr/local/libmd5/.libs/libmd5.al -lz
/bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+
0x7c): undefined reference to `_WinMain@16'

Any idea on how to fix this?
Thanks,
Steve

Discussion

  • David Eriksson

    David Eriksson - 2004-06-07

    Logged In: YES
    user_id=337437

    I don't if anyone ever tried to compile unshield in cygwin
    before. Anyway, unshield begins in main() and not WinMain,
    so it looks like cygwin fails to provide the glue inbetween
    those two.

     
  • David Eriksson

    David Eriksson - 2004-09-06
    • status: open --> closed
     

Log in to post a comment.