[ lame-Bugs-3606067 ] Cannot compile with sndfile under mingw32

SourceForge.net <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
Bugs item #3606067, was opened at 2013-02-26 06:45
Message generated for change (Tracker Item Submitted) made by mail6543210
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3606067&group_id=290

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Frontends (lame/mp3x/...)
Group: Unknown
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Patrick (mail6543210)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile with sndfile under mingw32

Initial Comment:
I'm compiling lame with libsndfile(compiled by myself also in mingw32/WinXP) under mingw32 in WinXP.
It said, "get_audio.o: undefined reference to _utf8ToUnicode".
After checking the source code, lame 3.99.5 source, I found

In frontend/get_audio.c(line 949~951), 
    #ifdef _WIN32
    utf8ToUnicode();
    #endif
However, in fronted/main.c(line 265~line441),
    #if defined( _WIN32 ) && !defined(__MINGW32__)
    utf8ToUnicode();
    /*    something else    */
    #else
    /*    something else    */
    #endif
The implementation of utf8ToUnicode() isn't compiled when __MINGW32__ is defined.

I'm not sure how to fix this...
So please fix this problem, thanks!!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3606067&group_id=290

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.