vlc compliation error
Posted: 05 Dec 2005 11:27
i encounted follow error when i compile the vlc as described in Install.win32
plate<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference to `std::__
default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi0EEE10de
allocateEPS2_j[std::__simple_alloc<libmatroska::KaxBlockBlob*, std::__default_al
loc_template<true, 0> >::deallocate(libmatroska::KaxBlockBlob**, unsigned int)]+
0x1d): undefined reference to `std::__default_alloc_template<true, 0>::deallocat
e(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateE
j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<true,
0> >::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_all
oc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10dealloca
teEPS2_j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_templat
e<true, 0> >::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined
reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigne
d 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)'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/cygdrive/d/work/projects/video/VLC/vlc-0.8.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/work/projects/video/VLC/vlc-0.8.2'
make: *** [all] Error 2
thanks for your help!
plate<true, 0> >::allocate(unsigned int)]+0x1d): undefined reference to `std::__
default_alloc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN11libmatroska12KaxBlockBlobESt24__default_alloc_templateILb1ELi0EEE10de
allocateEPS2_j[std::__simple_alloc<libmatroska::KaxBlockBlob*, std::__default_al
loc_template<true, 0> >::deallocate(libmatroska::KaxBlockBlob**, unsigned int)]+
0x1d): undefined reference to `std::__default_alloc_template<true, 0>::deallocat
e(void*, unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateE
j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_template<true,
0> >::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_all
oc_template<true, 0>::allocate(unsigned int)'
/usr/win32/lib/libmatroska.a(KaxCluster.o):KaxCluster.cpp:(.text$_ZNSt14__simple
_allocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10dealloca
teEPS2_j[std::__simple_alloc<libebml::EbmlElement*, std::__default_alloc_templat
e<true, 0> >::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined
reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigne
d 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)'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/cygdrive/d/work/projects/video/VLC/vlc-0.8.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/work/projects/video/VLC/vlc-0.8.2'
make: *** [all] Error 2
thanks for your help!