On 7/30/10 11:40 PM, Chris Sutcliffe wrote:
> Doing a little more digging, it seems like it's not dllwrap at all, 
> it's gcc:
>
> x86_64-w64-mingw32-gcc -Wl,--enable-stdcall-fixup -ozip32z64.dll -s 
> -shared windll.o windllrc.o api.o zipl.o cryptl.o ttyiol.o zipfilel.o 
> zipupl.o fileiol.o utill.o crc32l.o  globalsl.o deflatel.o treesl.o  
> zbz2errl.o win32l.o win32zpl.o win32i64l.o ntl.o  -luser32 -ladvapi32
> zipfilel.o:zipfile.c:(.text+0x15b1): undefined reference to 
> `__p___mb_cur_max'
> fileiol.o:fileio.c:(.text+0x508): undefined reference to 
> `__p___mb_cur_max'
> fileiol.o:fileio.c:(.text+0x59a): undefined reference to 
> `__p___mb_cur_max'
> fileiol.o:fileio.c:(.text+0x5b7): undefined reference to 
> `__p___mb_cur_max'
> fileiol.o:fileio.c:(.text+0x61b): undefined reference to 
> `__p___mb_cur_max'
> fileiol.o:fileio.c:(.text+0x64c): more undefined references to 
> `__p___mb_cur_max' follow
>
> Yet as previously mentioned, mb_cur_max is exported my libmsvcrt.a.
>
> I'm stumped.

It turns out it's not gcc, it's due to the fact that libmsvcrt.a doesn't 
export `__p___mb_cur_max'.  The mingw.org msvcrt.def file contains:

__p___mb_cur_max

where as the mingw-w64-crt does not.  Would it be possible to have this 
added?

Thank you,

Chris


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to