need help in compiling vlc on cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
koushiro

need help in compiling vlc on cygwin

Postby koushiro » 06 Aug 2005 04:09

i followed the instructions on the INSTALL.w32 to compile vlc in cygwin, but i always get this error:

Code: Select all

/usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text$_ZNSt14__simple_allocIPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE8allocateEj[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_allocIPKN11libmatroska13KaxBlockGroupESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS3_j[std::__simple_alloc<libmatroska::KaxBlockGroup const*, std::__default_alloc_template<true, 0> >::deallocate(libmatroska::KaxBlockGroup const**, unsigned 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_allocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j[std::__simple_alloc<libmatroska::DataBuffer*, std::__default_alloc_template<true, 0> >::deallocate(libmatroska::DataBuffer**, unsigned 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_allocIiSt24__default_alloc_templateILb1ELi0EEE10deallocateEPij[std::__simple_alloc<int, std::__default_alloc_template<true, 0> >::deallocate(int*, unsigned 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_allocIPN11libmatroska10DataBufferESt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<libmatroska::DataBuffer*, 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(KaxBlock.o):KaxBlock.cpp:(.text$_ZNSt14__simple_allocIiSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<int, 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/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_allocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_alloc<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 reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_allocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 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/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc<libebml::EbmlElement*, 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/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS2_j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<true, 0> >::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [vlc.exe] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
please help. i have no idea to why my std would be missing a few methods. T_T

zcot
Big Cone-huna
Big Cone-huna
Posts: 606
Joined: 15 Jun 2005 10:58

Postby zcot » 06 Aug 2005 10:55

I'm pretty sure it is a version conflict issue:
viewtopic.php?p=33032#33032

if not, post it up, there are quite a few who can help

Guest

Postby Guest » 07 Aug 2005 13:45

This problem is because libEbml is a C++ lib and it doesn't link with gcc 3.4

Either downgrade to gcc 3.3 (including appropriate mingw versions) or in the ./configure line add the following option: --disable-mkv

koushiro

Postby koushiro » 08 Aug 2005 09:09

ok tnx. im resuming ./configure now and im getting some small errors like missing headers and libraries even though i have downloaded and installed the contribs lib int thre right place. seems it cant find postproc/postprocess.h even though i have it in /usr/win32/include. doesnt work even when i use ./configure --include=/usr/win32/include. also has a problem with "mad". i dont seem to have it so i disabled it


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests