[vlc-devel] Error in Cross compilation on 64 bit linux to 64 bit windows
Fayyaz Khan
fayyazkl at gmail.com
Wed Dec 12 21:57:27 CET 2012
I tried and the following
COMPILE : libcdda_plugin_la-cdda.lo
COMPILE : libcdda_plugin_la-cdrom.lo
are gone from log but i still see (and compilation halts at) the
'__ms_vsnprintf' errors
p/zipaccess.c: In function 'ZipIO_Write':
WARNING : ../../../../modules/access/zip/zipaccess.c:429: 9: unused
variable 'zip_access_cannot_write_this_should_not_happen'
[-Wunused-variable]
Creating library file: .libs/libzip_plugin.dll.a
MAKE : dshow
COMPILE : libaccess_avio_plugin_la-avio.lo
In file included from ../../../modules/access/avio.c:29:0:
WARNING : ../../../include/vlc_common.h:405: 0: "stat" redefined
[enabled by default]
/usr/lib/gcc/x86_64-w64-mingw32/4.6/../../../../x86_64-w64-mingw32/include/sys/stat.h:258:0:
note: this is the location of the previous definition
WARNING : ../../../include/vlc_common.h:406: 0: "fstat" redefined
[enabled by default]
/usr/lib/gcc/x86_64-w64-mingw32/4.6/../../../../x86_64-w64-mingw32/include/sys/stat.h:259:0:
note: this is the location of the previous definition
../../../modules/access/avio.c: In function 'UrlInterruptCallback':
WARNING : ../../../modules/access/avio.c:72: 5: 'vlc_object_alive' is
deprecated (declared at ../../../include/vlc_objects.h:81)
[-Wdeprecated-declarations]
Creating library file:
.libs/libaccess_avio_plugin.dll.a/home/fayyaz/Downloads/vlc-2.0.4cross/contrib/x86_64-w64-mingw32/lib/libvpx.a(onyx_if.c.o):(.text+0x36):
undefined reference to `__ms_vsnprintf'
*/home/fayyaz/Downloads/vlc-2.0.4cross/contrib/x86_64-w64-mingw32/lib/libvpx.a(bitstream.c.o):(.text+0x36):
undefined reference to `__ms_vsnprintf'**
**/home/fayyaz/Downloads/vlc-2.0.4cross/contrib/x86_64-w64-mingw32/lib/libvpx.a(ethreading.c.o):(.text+0x36):
undefined reference to `__ms_vsnprintf'**
**/home/fayyaz/Downloads/vlc-2.0.4cross/contrib/x86_64-w64-mingw32/lib/libvpx.a(boolhuff.c.o):(.text+0x36):
undefined reference to `__ms_vsnprintf'**
**/home/fayyaz/Downloads/vlc-2.0.4cross/contrib/x86_64-w64-mingw32/lib/libvpx.a(encodemv.c.o):(.text+0x336):
undefined reference to `__ms_vsnprintf'**
*collect2: ld returned 1 exit status
Thanks,
Fayyaz
On 12/12/2012 6:04 PM, Kaarlo Räihä wrote:
> 2012/12/12 fayyaz lodhi <fayyazkl at gmail.com <mailto: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
> <http://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
>
>
>
>
> _______________________________________________
> 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/a0c5419a/attachment.html>
More information about the vlc-devel
mailing list