[Matroska-devel] Can't compile on Linux Shrike

Dimitrios Bartzos dbartzos at ath.forthnet.gr
Thu Jul 8 23:21:26 CEST 2004


> Hello,
>
> I hope this is the correct list to send this question.
> I have downloaded and successfully compiled libebml but when it comes to
> libmatroska, I get:
>
> g++ -c  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE
> -Wshadow -I/tmp/libmatroska-0.6.3/make/linux/../..
> -I/tmp/libmatroska-0.6.3/make/linux/../../../libebml -o
> /tmp/libmatroska-0.6.3/make/linux/../../src/KaxBlock.o
> /tmp/libmatroska-0.6.3/make/linux/../../src/KaxBlock.cpp
> In file included from /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:41:
> /tmp/libmatroska-0.6.3/matroska/KaxBlock.h:215: type specifier omitted for
>    parameter `ScopeMode'
> /tmp/libmatroska-0.6.3/matroska/KaxBlock.h:215: parse error before `='
token
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp: In member function
>    `libmatroska::LacingType libmatroska::KaxBlock::GetBestLacingType()
> const':
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:226: no matching function for
> call to `
>    libmatroska::KaxBlock::CodedSizeLength(unsigned int&, int) const'
> /usr/local/include/ebml/EbmlElement.h:212: candidates are: int
>    libebml::EbmlElement::CodedSizeLength() const
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:228: `CodedSizeLengthSigned'
> undeclared
>    (first use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:228: (Each undeclared identifier
is
>    reported only once for each function it appears in.)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp: In member function `virtual
uint64
>    libmatroska::KaxBlock::UpdateSize(bool, bool)':
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:269: no matching function for
> call to `
>    libmatroska::KaxBlock::CodedSizeLength(unsigned int&, int)'
> /usr/local/include/ebml/EbmlElement.h:212: candidates are: int
>    libebml::EbmlElement::CodedSizeLength() const
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp: In member function `virtual
uint32
>    libmatroska::KaxBlock::RenderData(libebml::IOCallback&, bool, bool)':
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:428: no matching function for
> call to `
>    libmatroska::KaxBlock::CodedSizeLength(int64&, int)'
> /usr/local/include/ebml/EbmlElement.h:212: candidates are: int
>    libebml::EbmlElement::CodedSizeLength() const
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:431: `CodedValueLength' undeclared
>    (first use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:439: `CodedValueLengthSigned'
>    undeclared (first use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp: At global scope:
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:503: type specifier omitted for
>    parameter `ScopeMode'
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:503: parse error before `)' token
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp: In member function `uint64
>    libmatroska::KaxBlock::ReadData(...)':
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:507: `input' undeclared (first
> use this
>    function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:509: `ReadFully' undeclared
> (first use
>    this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:509: `SCOPE_ALL_DATA' undeclared
> (first
>    use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:575: `ReadCodedSizeValue'
undeclared
>    (first use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:583: `ReadCodedSizeSignedValue'
>    undeclared (first use this function)
> /tmp/libmatroska-0.6.3/src/KaxBlock.cpp:610: `SCOPE_PARTIAL_DATA'
undeclared
>    (first use this function)
> make: *** [/tmp/libmatroska-0.6.3/make/linux/../../src/KaxBlock.o] Error 1
>
> Any idea what might be causing this? I have Redhat Linux Shrike 9.1,
> with kernel 2.4.20-31.9
>
> Thanks for your help,
>
> Dimitrios.
>
>




More information about the Matroska-devel mailing list