Compile VLC 0.8.2-test2 for Windows with CygWin

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

Compile VLC 0.8.2-test2 for Windows with CygWin

Postby ZerBit » 25 Jun 2005 20:22

Hi all,

I have tried to compile VLC 0.8.2-test2 for windows with contrib-20050606-win32-bin-gcc3.3.1-only.tar.bz2 files and i have these compile errors:

make[7]: Leaving directory `/vlc-0.8.2-test2/modules/video_output/x11'
make[6]: Leaving directory `/vlc-0.8.2-test2/modules/video_output/x11'
make[5]: Leaving directory `/vlc-0.8.2-test2/modules/video_output/x11'
make[5]: Entering directory `/vlc-0.8.2-test2/modules/video_output'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/vlc-0.8.2-test2/modules/video_output'
make[4]: Leaving directory `/vlc-0.8.2-test2/modules/video_output'
make[3]: Leaving directory `/vlc-0.8.2-test2/modules/video_output'
Making all in visualization
make[3]: Entering directory `/vlc-0.8.2-test2/modules/visualization'
make[4]: Entering directory `/vlc-0.8.2-test2/modules/visualization'
make[4]: `libgoom_plugin.dll' is up to date.
make[4]: Leaving directory `/vlc-0.8.2-test2/modules/visualization'
make all-recursive
make[4]: Entering directory `/vlc-0.8.2-test2/modules/visualization'
Making all in visual
make[5]: Entering directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[6]: Entering directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[6]: `libvisual_plugin.dll' is up to date.
make[6]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/visual'
make all-recursive
make[6]: Entering directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[7]: Entering directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[6]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/visual'
make[5]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/visual'
Making all in galaktos
make[5]: Entering directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make all-recursive
make[6]: Entering directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make[7]: Entering directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make[6]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make[5]: Leaving directory `/vlc-0.8.2-test2/modules/visualization/galaktos'
make[5]: Entering directory `/vlc-0.8.2-test2/modules/visualization'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/vlc-0.8.2-test2/modules/visualization'
make[4]: Leaving directory `/vlc-0.8.2-test2/modules/visualization'
make[3]: Leaving directory `/vlc-0.8.2-test2/modules/visualization'
make[3]: Entering directory `/vlc-0.8.2-test2/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/vlc-0.8.2-test2/modules'
make[2]: Leaving directory `/vlc-0.8.2-test2/modules'
Making all in po
make[2]: Entering directory `/vlc-0.8.2-test2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/vlc-0.8.2-test2/po'
Making all in .
make[2]: Entering directory `/vlc-0.8.2-test2'
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/
win32/lib -o vlc.exe src/vlc-vlc.o lib/libvlc.a share/vlc_win32_rc.o ./modules/m
isc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/vid
eo_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules
/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modul
es/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a ./modules/mux/mpeg
/libmux_ts.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modul
es/stream_out/libstream_out_switcher.a -L/usr/local/lib -g -lkernel32 /usr/win32
/lib/libiconv.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lws2_32 -lne
tapi32 -lwinmm -mwindows -L/usr/win32/lib -L/usr/win32/live.com/UsageEnvironment
-lUsageEnvironment -L/usr/win32/live.com/groupsock -lgroupsock -L/usr/win32/liv
e.com/BasicUsageEnvironment -lBasicUsageEnvironment -L/usr/win32/live.com/liveMe
dia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska -lebml -lavformat -lz -lavcodec
-lz -lfaac -lmp3lame
/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_alloc
IPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE8allocat
eEj[std::__simple_alloc<libmatroska::KaxBlockGroup const*, std::__default_alloc_
template<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference to `std:
:__default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_alloc
IPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE10deallo
cateEPS3_j[std::__simple_alloc<libmatroska::KaxBlockGroup const*, std::__default
_alloc_template<true, 0> >::deallocate(libmatroska::KaxBlockGroup const**, unsig
ned int)]+0x1d): undefined reference to `std::__default_alloc_template<true, 0>:
:deallocate(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE10dealloca
teEPS2_j[std::__simple_alloc<libmatroska::DataBuffer*, std::__default_alloc_temp
late<true, 0> >::deallocate(libmatroska::DataBuffer**, unsigned int)]+0x1d): und
efined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, u
nsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIiSt24__default_alloc_templateILb1ELi0EEE10deallocateEPij[std::__simple_alloc<
int, std::__default_alloc_template<true, 0> >::deallocate(int*, unsigned int)]+0
x1d): undefined reference to `std::__default_alloc_template<true, 0>::deallocate
(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE8allocateE
j[std::__simple_alloc<libmatroska::DataBuffer*, std::__default_alloc_template<tr
ue, 0> >::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_
alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_all
ocIiSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<int,
std::__default_alloc_template<true, 0> >::allocate(unsigned int)]+0x1d): undefin
ed reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'

/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_allo
c<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_
_default_alloc_template<true, 0> >::deallocate(std::basic_string<char, std::char
_traits<char>, std::allocator<char> >*, unsigned int)]+0x1d): undefined referenc
e to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<std:
:basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__defau
lt_alloc_template<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference
to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[st
d::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<true, 0>
>::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_alloc_t
emplate<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all
ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEP
S2_j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<tr
ue, 0> >::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined ref
erence to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned in
t)'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/vlc-0.8.2-test2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc-0.8.2-test2'
make: *** [all] Error 2

Administrator@ZERBITMACHINE /vlc-0.8.2-test2
$

Any advice to compile it properly?

Regards.

vivi

re:

Postby vivi » 27 Jun 2005 11:09

I have the similar problem. Who gets a solution?
Thanks!!!

ukio

Postby ukio » 27 Jun 2005 12:44

same problem here... even with the latest sources (0.8.2) and latest contrib package (20050624)...

murrolems

Postby murrolems » 27 Jun 2005 19:27

Same problem here. Cygwin with latest snapshot and release.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 27 Jun 2005 19:29

are you compiling with gcc 3.4.x ?

if so, you will need to configure with '--disable-mkv' or compile the contrib sources with gcc 3.4.x

Guest

Postby Guest » 27 Jun 2005 19:38

are you compiling with gcc 3.4.x ?

if so, you will need to configure with '--disable-mkv' or compile the contrib sources with gcc 3.4.x
$ gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

murrolems

Postby murrolems » 27 Jun 2005 21:18

It works with configuring with '--disable-mkv' set. Thanks for your help.

Behb

Postby Behb » 12 Jan 2006 12:13

Same problem here with svn version. Is it really not possible to compile them with gcc 3.4.x ? no way to fix that ? (i know --disable-mkv, but that's only doing as if the problem don't exist.)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests