[vlc-devel] Error in Cross compilation on 64 bit linux to 64 bit windows

fayyaz lodhi fayyazkl at gmail.com
Thu Dec 13 12:00:26 CET 2012


Thank you for the suggestion

This suggests
http://sourceforge.net/projects/mingw-w64/files/

v2.0.7 (r5421) ====> 5421 > 5408 but it is still labelled 2.0.7

Also https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/tags/

only has upto 2.0.7 or some rc<x> candidates but no 3.0. Are you referring
to it's trunk or experimental versions?


On Thu, Dec 13, 2012 at 3:19 PM, Rafaël Carré <funman at videolan.org> wrote:

> Le 12/12/2012 11:14, fayyaz lodhi a écrit :
> > I am cross compiling vlc for windows on linux mint 64 bit machine.
> >
> > Used the instructions here
> > http://wiki.videolan.org/Win32Compile#Obtaining_the_toolchain
> >
> > and used the following tool chain
> > *x86_64-w64-mingw32* for Windows 64-bits, using the Mingw-w64 toolchain
> >
> > as indicated in instructions.
> >
> > First, the configure gives error of libgcrypt which i could only bypass
> by
> > disabling it i..e adding --disable-libgcrypt to configure script.
> >
> > Next make fails with following log. Can some one help with figuring out
> > what's the problem?
> >
> > WARNING :
> >
> ../../../../extras/package/win32/../../../modules/access/dshow/dshow.cpp:1805:
> > 14:  'bool vlc_object_alive(const vlc_object_t*)' is deprecated (declared
> > at ../../../../extras/package/win32/../../../include/vlc_objects.h:81)
> > [-Wdeprecated-declarations]
> > Creating library file: .libs/libdshow_plugin.dll.a
> >  COMPILE : libcdda_plugin_la-cdda.lo
> >  COMPILE : libcdda_plugin_la-cdrom.lo
> >
> > **** Warning: Linking the shared library libcdda_plugin.la against the*
> > **** static library
> > ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libregex.a is not
> > portable!*
> > *Creating library file:
> >
> *.libs/libcdda_plugin.dll.a/../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_conn.o):cddb_conn.c:(.text+0x3e):
> > undefined reference to `__ms_vsnprintf'
> >
> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_cmd.o):cddb_cmd.c:(.text+0x32):
> > undefined reference to `__ms_vsnprintf'
> >
> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_cmd.o):cddb_cmd.c:(.text+0x7a):
> > undefined reference to `__ms_vsnprintf'
> >
> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_log.o):cddb_log.c:(.text+0x32):
> > undefined reference to `__ms_vsnprintf'
> >
> ../VLC/vlc-2.0.4-windows/contrib/x86_64-w64-mingw32/lib/libcddb.a(cddb_net.o):cddb_net.c:(.text+0x32):
> > undefined reference to `__ms_vsnprintf'
> > collect2: ld returned 1 exit status
>
> Make sure you use at least SVN r5408 revision of mingw-w64 (i.e. 3.x,
> NOT 2.x)
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20121213/8851ba3b/attachment.html>


More information about the vlc-devel mailing list