[mythtv-users] SVN - compile error - libavcodec

Paul Harrison mythtv at sky.com
Tue Dec 23 23:18:19 UTC 2008


A JM wrote:
> It was too good to be true... I'm not seeing anything in -dev? thoughts?
>
> make[2]: Entering directory `/home/mythtv/mythtv/libs/libmythtv'
> g++ -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -Wall 
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor 
> -funit-at-a-time -D__STDC_CONSTANT_MACROS -I/usr/include/kde/artsc 
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC -DQT_SHARED -DMMX 
> -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -DUSING_OSS -DUSING_X11 -DUSING_XV -DUSING_XVMC -DUSING_XVMCW 
> -DUSING_XVMC_VLD -DUSING_OPENGL -DUSING_OPENGL_VSYNC 
> -DUSING_OPENGL_VIDEO -DUSING_MHEG -DUSING_FRONTEND 
> -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_LINUX_FIREWIRE 
> -DUSING_FIREWIRE -DUSING_LIBAVC_5_3 -DUSING_IPTV -DUSING_HDHOMERUN 
> -DUSING_IVTV -DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG 
> -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB 
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork 
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui 
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
> -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../.. -I.. -I. 
> -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev 
> -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include 
> -I../libmythlivemedia/groupsock/include 
> -I../libmythlivemedia/liveMedia/include 
> -I../libmythlivemedia/UsageEnvironment/include -I../libmythdb 
> -I../libmythui -I/usr/include -I/usr/local/include 
> -I/usr/X11R6/include -I. -I. -o dvbstreamdata.o mpeg/dvbstreamdata.cpp
> mpeg/dvbstreamdata.cpp: In member function 'virtual bool 
> DVBStreamData::IsRedundant(uint, const PSIPTable&) const':
> mpeg/dvbstreamdata.cpp:148: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:148: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:148: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:148: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:148: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:149: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:149: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:149: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:149: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:150: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:150: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:150: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:150: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:151: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:151: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:151: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:151: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:152: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:152: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:152: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:152: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:153: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:153: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:153: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:153: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:154: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:154: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:154: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:154: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:157: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:157: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:157: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:160: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:160: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:160: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:160: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:162: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:162: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:162: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:162: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:165: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:165: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:165: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:165: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:165: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:166: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:166: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:166: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:166: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:167: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:167: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:167: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:169: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:169: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:169: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:169: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:172: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:172: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:172: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:172: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:172: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:173: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:173: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:173: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:173: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:174: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:174: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:174: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:176: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:176: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:176: error: expected primary-expression before 
> '==' token
> mpeg/dvbstreamdata.cpp:176: error: expected primary-expression before 
> '=' token
> mpeg/dvbstreamdata.cpp:179: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:179: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:179: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:179: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:179: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:180: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:180: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:180: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:180: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:181: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:181: error: expected primary-expression before 
> '>>' token
> mpeg/dvbstreamdata.cpp:181: error: expected primary-expression before 
> '>' token
> mpeg/dvbstreamdata.cpp:181: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:182: error: expected `;' before 'is_eit'
> mpeg/dvbstreamdata.cpp: In member function 'virtual bool 
> DVBStreamData::HandleTables(uint, const PSIPTable&)':
> mpeg/dvbstreamdata.cpp:380: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:380: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:380: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:380: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:380: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:381: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:381: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:381: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:381: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:382: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:382: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:382: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:382: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:383: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:383: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:383: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:383: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:384: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:384: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:384: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:384: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:385: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:385: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:385: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:385: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:386: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:386: error: expected primary-expression before 
> '<<' token
> mpeg/dvbstreamdata.cpp:386: error: expected primary-expression before 
> '<' token
> mpeg/dvbstreamdata.cpp:386: error: expected primary-expression before 
> '.' token
> mpeg/dvbstreamdata.cpp:387: error: expected `;' before 'if'
> make[2]: *** [dvbstreamdata.o] Error 1
> make[2]: Leaving directory `/home/mythtv/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv-make_default-ordered] Error 2
> make[1]: Leaving directory `/home/mythtv/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2
>

These look like merge errors. You must have at some time applied a patch 
or made some manual changes  that  caused conflicts when you updated.

You can verify this by doing an 'svn status' in the mythtv source 
directory which will show which files have been modified (M) and which 
have conflicts (C). One way to fix things assuming you don't want to 
save anything you've changed is to revert them by doing for example:-

svn revert /libs/libmythtv/mpeg/dvbstreamdata.cpp

you should then tell svn that you have fixed the conflict by doing:-

svn resolved /libs/libmythtv/mpeg/dvbstreamdata.cpp

You should do this for each file that has conflicts.

Paul H.



More information about the mythtv-users mailing list