[vlc] make problems of vlc0.8.4 for twolame, hal and mkv

bvl bvl at btconnect.com
Wed Nov 30 17:14:02 CET 2005


Greetings,

I am experiencing some difficulty compiling  vlc-0.8.4 from sources.      The 
configure script identifies all the  required programs and generates a 
Makefile.  Everything then compiles except three programs  matroska, hal and 
twolame.    The attached file gives details.  (The machine runs Linux,  kernel 
2.6..14.2, and  gcc-3.4.3)

Helpful suggestions will be gratefully received.

yours sincerely
bvl
ps I  had many goes for matroska (mkv).  For example,    the Makefile in 
libmatroska seens to have an error so  I installed  the matroska headers  
manually to the  directory to ~/include/matroska  and chmod 755 it.  I then 
passed -I~/include/matroska to the compiler  and I still had the compile 
failure
-------------- next part --------------




computer=PC-machine, runs Linux Kernel-2.6.14.2// gcc 3.4.3
(all works except matroska, twolame and hal)  matroska is  most required:



for matroska; libmatroska-0.8.0  is installed, below is tail of compler outputL

make: *** [all] Error 2
bash-3.00# tail --lines=150 VLCmakeK
mkv.cpp:(.text+0x5ca3): undefined reference to `libmatroska::KaxBlock::ClassInfos'
mkv.cpp:(.text+0x5d06): undefined reference to `libmatroska::KaxInternalBlock::SetParent(libmatroska::KaxCluster&)'
mkv.cpp:(.text+0x5d29): undefined reference to `libmatroska::KaxBlockDuration::ClassInfos'
mkv.cpp:(.text+0x5da2): undefined reference to `libmatroska::KaxReferenceBlock::ClassInfos'
mkv.cpp:(.text+0x5e86): undefined reference to `libmatroska::KaxClusterSilentTrackNumber::ClassInfos'
mkv.cpp:(.text+0x6154): undefined reference to `libmatroska::KaxClusterTimecode::ClassInfos'
mkv.cpp:(.text+0x6230): undefined reference to `libmatroska::KaxCues::ClassInfos'
mkv.cpp:(.text+0x62d9): undefined reference to `libmatroska::KaxClusterSilentTracks::ClassInfos'
mkv.cpp:(.text+0x63aa): undefined reference to `libmatroska::KaxBlockGroup::ClassInfos'
mkv.cpp:(.text+0x649e): undefined reference to `libmatroska::KaxSimpleBlock::ClassInfos'
mkv.cpp:(.text+0x64fb): undefined reference to `libmatroska::KaxInternalBlock::SetParent(libmatroska::KaxCluster&)'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `demux_sys_t::AnalyseAllSegmentsFound(demux_t*, libebml::EbmlStream*, bool)':
mkv.cpp:(.text+0xe0fe): undefined reference to `libmatroska::KaxSegment::ClassInfos'
mkv.cpp:(.text+0xe202): undefined reference to `libmatroska::KaxSegment::ClassInfos'
mkv.cpp:(.text+0xe250): undefined reference to `libmatroska::KaxMatroska_Context'
mkv.cpp:(.text+0xe278): undefined reference to `libmatroska::KaxSegment::ClassInfos'
mkv.cpp:(.text+0xe4d5): undefined reference to `libmatroska::KaxSegment_Context'
mkv.cpp:(.text+0xe7ae): undefined reference to `libmatroska::KaxInfo::ClassInfos'
mkv.cpp:(.text+0xe7f3): undefined reference to `libmatroska::KaxInfo::ClassInfos'
mkv.cpp:(.text+0xe866): undefined reference to `libmatroska::KaxSegmentUID::ClassInfos'
mkv.cpp:(.text+0xeb44): undefined reference to `libmatroska::KaxPrevUID::ClassInfos'
mkv.cpp:(.text+0xebb7): undefined reference to `libmatroska::KaxNextUID::ClassInfos'
mkv.cpp:(.text+0xec2c): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry*)':
mkv.cpp:(.text+0xf1eb): undefined reference to `libmatroska::KaxTrackNumber::ClassInfos'
mkv.cpp:(.text+0xf2b7): undefined reference to `libmatroska::KaxTrackUID::ClassInfos'
mkv.cpp:(.text+0xf308): undefined reference to `libmatroska::KaxTrackType::ClassInfos'
mkv.cpp:(.text+0xf3cf): undefined reference to `libmatroska::KaxTrackFlagDefault::ClassInfos'
mkv.cpp:(.text+0xf451): undefined reference to `libmatroska::KaxTrackFlagLacing::ClassInfos'
mkv.cpp:(.text+0xf4ae): undefined reference to `libmatroska::KaxTrackMinCache::ClassInfos'
mkv.cpp:(.text+0xf52a): undefined reference to `libmatroska::KaxTrackMaxCache::ClassInfos'
mkv.cpp:(.text+0xf5d5): undefined reference to `libmatroska::KaxTrackDefaultDuration::ClassInfos'
mkv.cpp:(.text+0xf60e): undefined reference to `libmatroska::KaxTrackTimecodeScale::ClassInfos'
mkv.cpp:(.text+0xf716): undefined reference to `libmatroska::KaxTrackName::ClassInfos'
mkv.cpp:(.text+0xf743): undefined reference to `libmatroska::KaxTrackLanguage::ClassInfos'
mkv.cpp:(.text+0xf876): undefined reference to `libmatroska::KaxCodecID::ClassInfos'
mkv.cpp:(.text+0xf9a6): undefined reference to `libmatroska::KaxCodecPrivate::ClassInfos'
mkv.cpp:(.text+0xfaac): undefined reference to `libmatroska::KaxCodecName::ClassInfos'
mkv.cpp:(.text+0xfbcf): undefined reference to `libmatroska::KaxContentEncodings::ClassInfos'
mkv.cpp:(.text+0xfcad): undefined reference to `libmatroska::KaxContentEncoding::ClassInfos'
mkv.cpp:(.text+0xfd42): undefined reference to `libmatroska::KaxContentEncodingOrder::ClassInfos'
mkv.cpp:(.text+0xfdb4): undefined reference to `libmatroska::KaxContentEncodingScope::ClassInfos'
mkv.cpp:(.text+0xfe23): undefined reference to `libmatroska::KaxContentEncodingType::ClassInfos'
mkv.cpp:(.text+0xfe90): undefined reference to `libmatroska::KaxContentCompression::ClassInfos'
mkv.cpp:(.text+0xff23): undefined reference to `libmatroska::KaxContentCompAlgo::ClassInfos'
mkv.cpp:(.text+0xffeb): undefined reference to `libmatroska::KaxContentCompSettings::ClassInfos'
mkv.cpp:(.text+0x1018d): undefined reference to `libmatroska::KaxTrackVideo::ClassInfos'
mkv.cpp:(.text+0x10260): undefined reference to `libmatroska::KaxVideoPixelWidth::ClassInfos'
mkv.cpp:(.text+0x1030d): undefined reference to `libmatroska::KaxVideoPixelHeight::ClassInfos'
mkv.cpp:(.text+0x103ab): undefined reference to `libmatroska::KaxTrackAudio::ClassInfos'
mkv.cpp:(.text+0x1043f): undefined reference to `libmatroska::KaxAudioSamplingFreq::ClassInfos'
mkv.cpp:(.text+0x1050c): undefined reference to `libmatroska::KaxAudioOutputSamplingFreq::ClassInfos'
mkv.cpp:(.text+0x105a0): undefined reference to `libmatroska::KaxAudioChannels::ClassInfos'
mkv.cpp:(.text+0x10602): undefined reference to `libmatroska::KaxAudioBitDepth::ClassInfos'
mkv.cpp:(.text+0x106b9): undefined reference to `libmatroska::KaxVideoDisplayWidth::ClassInfos'
mkv.cpp:(.text+0x10721): undefined reference to `libmatroska::KaxVideoDisplayHeight::ClassInfos'
mkv.cpp:(.text+0x10791): undefined reference to `libmatroska::KaxVideoPixelCropBottom::ClassInfos'
mkv.cpp:(.text+0x107f3): undefined reference to `libmatroska::KaxVideoPixelCropTop::ClassInfos'
mkv.cpp:(.text+0x1085e): undefined reference to `libmatroska::KaxVideoPixelCropRight::ClassInfos'
mkv.cpp:(.text+0x108c3): undefined reference to `libmatroska::KaxVideoPixelCropLeft::ClassInfos'
mkv.cpp:(.text+0x1092b): undefined reference to `libmatroska::KaxVideoFrameRate::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::ParseTracks(libmatroska::KaxTracks*)':
mkv.cpp:(.text+0x10aa6): undefined reference to `libmatroska::KaxTrackEntry::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::ParseInfo(libmatroska::KaxInfo*)':
mkv.cpp:(.text+0x10c1b): undefined reference to `libmatroska::KaxSegmentUID::ClassInfos'
mkv.cpp:(.text+0x10cc8): undefined reference to `libmatroska::KaxPrevUID::ClassInfos'
mkv.cpp:(.text+0x10d7a): undefined reference to `libmatroska::KaxNextUID::ClassInfos'
mkv.cpp:(.text+0x10e10): undefined reference to `libmatroska::KaxTimecodeScale::ClassInfos'
mkv.cpp:(.text+0x10f02): undefined reference to `libmatroska::KaxDuration::ClassInfos'
mkv.cpp:(.text+0x10fa4): undefined reference to `libmatroska::KaxMuxingApp::ClassInfos'
mkv.cpp:(.text+0x1102d): undefined reference to `libmatroska::KaxWritingApp::ClassInfos'
mkv.cpp:(.text+0x110c4): undefined reference to `libmatroska::KaxSegmentFilename::ClassInfos'
mkv.cpp:(.text+0x1115b): undefined reference to `libmatroska::KaxTitle::ClassInfos'
mkv.cpp:(.text+0x111f2): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos'
mkv.cpp:(.text+0x11289): undefined reference to `libmatroska::KaxDateUTC::ClassInfos'
mkv.cpp:(.text+0x113ca): undefined reference to `libmatroska::KaxChapterTranslate::ClassInfos'
mkv.cpp:(.text+0x114aa): undefined reference to `libmatroska::KaxChapterTranslateEditionUID::ClassInfos'
mkv.cpp:(.text+0x1154d): undefined reference to `libmatroska::KaxChapterTranslateCodec::ClassInfos'
mkv.cpp:(.text+0x11605): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `chapter_codec_cmds_c::AddCommand(libmatroska::KaxChapterProcessCommand const&)':
mkv.cpp:(.text+0x11765): undefined reference to `libmatroska::KaxChapterProcessTime::ClassInfos'
mkv.cpp:(.text+0x117c8): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)':
mkv.cpp:(.text+0x11981): undefined reference to `libmatroska::KaxChapterUID::ClassInfos'
mkv.cpp:(.text+0x11a3d): undefined reference to `libmatroska::KaxChapterFlagHidden::ClassInfos'
mkv.cpp:(.text+0x11ae6): undefined reference to `libmatroska::KaxChapterTimeStart::ClassInfos'
mkv.cpp:(.text+0x11b79): undefined reference to `libmatroska::KaxChapterTimeEnd::ClassInfos'
mkv.cpp:(.text+0x11bfc): undefined reference to `libmatroska::KaxChapterDisplay::ClassInfos'
mkv.cpp:(.text+0x11c9e): undefined reference to `libmatroska::KaxChapterString::ClassInfos'
mkv.cpp:(.text+0x12072): undefined reference to `libmatroska::KaxChapterLanguage::ClassInfos'
mkv.cpp:(.text+0x12180): undefined reference to `libmatroska::KaxChapterCountry::ClassInfos'
mkv.cpp:(.text+0x12270): undefined reference to `libmatroska::KaxChapterProcess::ClassInfos'
mkv.cpp:(.text+0x12306): undefined reference to `libmatroska::KaxChapterProcessCodecID::ClassInfos'
mkv.cpp:(.text+0x12349): undefined reference to `libmatroska::KaxChapterAtom::ClassInfos'
mkv.cpp:(.text+0x125ae): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos'
mkv.cpp:(.text+0x125fa): undefined reference to `libmatroska::KaxChapterProcessCommand::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::ParseChapters(libmatroska::KaxChapters*)':
mkv.cpp:(.text+0x127fc): undefined reference to `libmatroska::KaxEditionEntry::ClassInfos'
mkv.cpp:(.text+0x12926): undefined reference to `libmatroska::KaxChapterAtom::ClassInfos'
mkv.cpp:(.text+0x12b40): undefined reference to `libmatroska::KaxEditionUID::ClassInfos'
mkv.cpp:(.text+0x12be9): undefined reference to `libmatroska::KaxEditionFlagOrdered::ClassInfos'
mkv.cpp:(.text+0x12c73): undefined reference to `libmatroska::KaxEditionFlagDefault::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `matroska_segment_c::Preload()':
mkv.cpp:(.text+0x12df9): undefined reference to `libmatroska::KaxSegment::GetGlobalPosition(unsigned long long) const'
mkv.cpp:(.text+0x12e5e): undefined reference to `libmatroska::KaxInfo::ClassInfos'
mkv.cpp:(.text+0x12eeb): undefined reference to `libmatroska::KaxTracks::ClassInfos'
mkv.cpp:(.text+0x12f81): undefined reference to `libmatroska::KaxSeekHead::ClassInfos'
mkv.cpp:(.text+0x12fda): undefined reference to `libmatroska::KaxCues::ClassInfos'
mkv.cpp:(.text+0x1304f): undefined reference to `libmatroska::KaxCluster::ClassInfos'
mkv.cpp:(.text+0x13081): undefined reference to `libmatroska::KaxAttachments::ClassInfos'
mkv.cpp:(.text+0x130d3): undefined reference to `libmatroska::KaxChapters::ClassInfos'
mkv.cpp:(.text+0x13101): undefined reference to `libmatroska::KaxTag::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterProcessPrivate::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska24KaxChapterProcessPrivate7GenericEv+0x1): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterProcessPrivate::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska24KaxChapterProcessPrivatecvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterProcessData::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska21KaxChapterProcessData7GenericEv+0x1): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterProcessData::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska21KaxChapterProcessDatacvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxSegmentUID::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska13KaxSegmentUID7GenericEv+0x1): undefined reference to `libmatroska::KaxSegmentUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxSegmentUID::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska13KaxSegmentUIDcvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxSegmentUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxPrevUID::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska10KaxPrevUID7GenericEv+0x1): undefined reference to `libmatroska::KaxPrevUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxPrevUID::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska10KaxPrevUIDcvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxPrevUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxNextUID::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska10KaxNextUID7GenericEv+0x1): undefined reference to `libmatroska::KaxNextUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxNextUID::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska10KaxNextUIDcvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxNextUID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxSegmentFamily::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska16KaxSegmentFamily7GenericEv+0x1): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxSegmentFamily::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska16KaxSegmentFamilycvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterTranslateID::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska21KaxChapterTranslateID7GenericEv+0x1): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxChapterTranslateID::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska21KaxChapterTranslateIDcvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxContentCompSettings::Generic() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska22KaxContentCompSettings7GenericEv+0x1): undefined reference to `libmatroska::KaxContentCompSettings::ClassInfos'
./modules/demux/libmkv.a(libmkv_a-mkv.o): In function `libmatroska::KaxContentCompSettings::operator libebml::EbmlId const&() const':
mkv.cpp:(.gnu.linkonce.t._ZNK11libmatroska22KaxContentCompSettingscvRKN7libebml6EbmlIdEEv+0x1): undefined reference to `libmatroska::KaxContentCompSettings::ClassInfos'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1

#==============================

as regards hal (hal-0.5.4)  and twolame (twolame-0.3.4) the following output is obtained:


lib/libvlc.a(lib_libvlc_a-libvlc.o): In function `VLC_Init':
libvlc.c:(.text+0x961a): undefined reference to `hal_initialize'
libvlc.c:(.text+0x9630): undefined reference to `hal_get_all_devices'
libvlc.c:(.text+0x9668): undefined reference to `hal_device_property_exists'
libvlc.c:(.text+0x9683): undefined reference to `hal_free_string_array'
libvlc.c:(.text+0x968b): undefined reference to `hal_shutdown'
libvlc.c:(.text+0xa1c5): undefined reference to `hal_device_get_property_bool'
libvlc.c:(.text+0xa1e3): undefined reference to `hal_device_get_property_string'
libvlc.c:(.text+0xa228): undefined reference to `hal_free_string'
./modules/codec/libtwolame.a(libtwolame_a-twolame.o): In function `OpenEncoder':
twolame.c:(.text+0x67d): undefined reference to `twolame_set_VBR_q'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1



More information about the vlc mailing list