mingw-w64 2 prebuilt libraries?
Posted: 22 May 2012 05:44
The mingw-w64 prebuilt contrib packages doesn't work with mingw-w64 2.0.1-1 (stable) as some of the libraries use an "___ms" prefix for msvc functions which is not used by mingw-w64 2. This results in config.log messages such as
/home/user/vlc/contrib/i686-w64-mingw32/lib/libdvdnav.a(dvdnav.o):dvdnav.c:(.text+0x23): undefined reference to `___ms_vsnprintf'
It might be of interest to know which of the contrib packages on the site that link against mingw-w64 2, if any. Otherwise it's necessary to install mingw-w64 3 (it's not in the stable or unstable Debian/Ubuntu APT channel yet)to use the prebuilt libraries. If a function reference is undefined this will search for available mingw functions
Thanks!
/home/user/vlc/contrib/i686-w64-mingw32/lib/libdvdnav.a(dvdnav.o):dvdnav.c:(.text+0x23): undefined reference to `___ms_vsnprintf'
It might be of interest to know which of the contrib packages on the site that link against mingw-w64 2, if any. Otherwise it's necessary to install mingw-w64 3 (it's not in the stable or unstable Debian/Ubuntu APT channel yet)
Code: Select all
wget -N http://ftp.us.debian.org/debian/pool/main/m/mingw-w64/mingw-w64-dev_3.0~svn4933-1_all.deb; sudo dpkg -i mingw*deb
Code: Select all
sudo dpkg --get-selections|cut -f1|grep mingw|xargs dpkg -L|xargs ack-grep "ms_vsnprintf"