[mythtv-users] Compile error messages

Alan Secker alan at asandco.co.uk
Sun Mar 26 19:38:00 UTC 2006


The following compile error messages appear on make.
Version is 0.18.1 and gcc version is 3.3.6
Can anyone interpret?

mpeg/mpegstreamdata.h:75: error: 'PESPacket' has not been declared
mpeg/mpegstreamdata.h:76: error: ISO C++ forbids declaration of 
'PESPacket' with no type
mpeg/mpegstreamdata.h:76: error: expected ';' before '*' token
mpeg/mpegstreamdata.h:77: error: expected `;' before 'void'
mpeg/mpegstreamdata.h:101: error: 'PESPacket' was not declared in this scope
mpeg/mpegstreamdata.h:101: error: template argument 2 is invalid
mpeg/mpegstreamdata.h: In member function 'void 
MPEGStreamData::ClearPartialPES(unsigned int)':
mpeg/mpegstreamdata.h:77: error: request for member 'remove' in 
'((MPEGStreamData*)this)->MPEGStreamData::_partial_pes_packet_cache', 
which is of non-class type 'int'
mpeg/mpegstreamdata.h: At global scope:
mpeg/mpegstreamdata.h:106: error: prototype for 'void 
MPEGStreamData::SavePartialPES(unsigned int, PESPacket*)' does not match 
any in class 'MPEGStreamData'
mpeg/mpegstreamdata.h:75: error: candidate is: void 
MPEGStreamData::SavePartialPES(unsigned int, int*)
mpeg/mpegstreamdata.h: In member function 'void 
MPEGStreamData::SavePartialPES(unsigned int, PESPacket*)':
mpeg/mpegstreamdata.h:107: error: request for member 'find' in 
'((MPEGStreamData*)this)->MPEGStreamData::_partial_pes_packet_cache', 
which is of non-class type 'int'
mpeg/mpegstreamdata.h:108: error: request for member 'end' in 
'((MPEGStreamData*)this)->MPEGStreamData::_partial_pes_packet_cache', 
which is of non-class type 'int'
mpeg/mpegstreamdata.h:109: error: invalid types 'int[unsigned int]' for 
array subscript
mpeg/mpegstreamdata.h:113: error: request for member 'replace' in 
'((MPEGStreamData*)this)->MPEGStreamData::_partial_pes_packet_cache', 
which is of non-class type 'int'
mpeg/mpegstreamdata.h: At global scope:
mpeg/mpegstreamdata.h:138: warning: unused parameter 'tspacket'
mpeg/mpegstreamdata.cpp: In member function 'virtual void 
MPEGStreamData::Reset(int, int)':
mpeg/mpegstreamdata.cpp:25: error: request for member 'clear' in 
'((MPEGStreamData*)this)->MPEGStreamData::_partial_pes_packet_cache', 
which is of non-class type 'int'
mpeg/mpegstreamdata.cpp: In member function 'void 
MPEGStreamData::DeletePartialPES(unsigned int)':
mpeg/mpegstreamdata.cpp:38: error: invalid types 'int[unsigned int]' for 
array subscript
mpeg/mpegstreamdata.cpp: In member function 'PSIPTable* 
MPEGStreamData::AssemblePSIP(const TSPacket*)':
mpeg/mpegstreamdata.cpp:68: error: 'GetPartialPES' was not declared in 
this scope
make[2]: *** [mpegstreamdata.o] Error 1
make[2]: Leaving directory 
`/home/alan/programs/mythtv-0.18.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/alan/programs/mythtv-0.18.1/libs'
make: *** [sub-libs] Error 2

TIA

Alan



More information about the mythtv-users mailing list