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

Kaarlo Räihä kaarlo.raiha at gmail.com
Wed Dec 12 14:04:23 CET 2012


2012/12/12 fayyaz lodhi <fayyazkl at gmail.com>

>
> 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
>

Does --disable-libcddb --disable-cdda help?


>
> Thanks,
> Fayyaz
>
>
> _______________________________________________
> 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/20121212/dd7642e5/attachment.html>


More information about the vlc-devel mailing list