[mythtv] Found bug in compiling .18

Steve Quezadas steve at tripperjones.com
Thu Oct 27 22:30:50 UTC 2005


I found a bug in compiling MythTV .18 and .18.1 . This is happening on 
the current version of ubuntu 5.10 (Breezey Badger). This is happening 
with gcc version 3.4.5 and libc 2.3.5 . My kernel is 2.6.12. I know a 
little C++, but not enough to debug what's going on. I checked google 
and the maillist archvies and couldn't find anything. I assume this is a 
bug, but not sure if it is an ubuntu bug or a mythtv bug (or maybe 
both). If you have any questions, ask. Here is the report:

make[2]: Entering directory `/home/steve/mythtv-0.18/libs/libmythtv'
g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall -Wno-switch 
-fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -DPIC -fPIC 
-DMMX -DUSING_IVTV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
-I/usr/local/include -I../.. -I../libmyth -I.. -Idvbdev -Impeg 
-I../libavcodec -I../libmythmpeg2 -I/usr/include/qt3 -o mpegstreamdata.o 
mpeg/mpegstreamdata.cpp
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/steve/mythtv-0.18/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/steve/mythtv-0.18/libs'
make: *** [sub-libs] Error 2



More information about the mythtv-dev mailing list