[mythtv] svn build pb : util.cpp

Paul Harrison mythtv at dsl.pipex.com
Mon May 5 10:52:33 UTC 2008


Pierre-Yves Paranthoen (PERSO) wrote:
> Hi,
> i'm getting this error while trying to compile util.cpp since the last 
> svn updates :
>  
> ccache g++ -c -m64 -pipe -march=k8 -fomit-frame-pointer -O3 -Wall 
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor 
> -D__STDC_CONSTANT_MACROS -I/opt/kde/include/artsc -pthread 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/opt/DirectFB/include/directfb -D_REENTRANT -D_REENTRANT -DPIC -fPIC 
> -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/opt/mythtv\" 
> -DLIBDIR=\"/opt/mythtv/lib\" -DUSING_OSS -DUSE_ALSA 
> -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR 
> -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB 
> -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB 
> -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.3.4/mkspecs/linux-g++-64 -I. 
> -I/opt/qt-4.3.4/include/QtCore -I/opt/qt-4.3.4/include/QtCore 
> -I/opt/qt-4.3.4/include/QtNetwork -I/opt/qt-4.3.4/include/QtNetwork 
> -I/opt/qt-4.3.4/include/QtGui -I/opt/qt-4.3.4/include/QtGui 
> -I/opt/qt-4.3.4/include/QtOpenGL -I/opt/qt-4.3.4/include/QtOpenGL 
> -I/opt/qt-4.3.4/include/QtXml -I/opt/qt-4.3.4/include/QtXml 
> -I/opt/qt-4.3.4/include/QtSql -I/opt/qt-4.3.4/include/QtSql 
> -I/opt/qt-4.3.4/include/Qt3Support -I/opt/qt-4.3.4/include/Qt3Support 
> -I/opt/qt-4.3.4/include -I/opt/mythtv/include -I../DVB/linux/include 
> -I/srv/xorg/include -I../libmythsamplerate -I../libmythsoundtouch 
> -I../libmythfreesurround -I../libavcodec -I../libavutil -I../.. -I.. 
> -I. -I/srv/xorg/include -I. -I. -o util.o util.cpp
> util.cpp: In function 'uint myth_system(const QString&, int)':
> util.cpp:268: erreur: expected primary-expression before '<<' token
> util.cpp:268: erreur: expected primary-expression before '<<' token
> util.cpp:268: erreur: expected primary-expression before '<<' token
> util.cpp:268: erreur: expected primary-expression before '<' token
> util.cpp:268: erreur: expected primary-expression before '.' token
> util.cpp:269: erreur: expected `;' before 'execl'
> util.cpp:270: erreur: expected primary-expression before '==' token
> util.cpp:270: erreur: expected primary-expression before '==' token
> util.cpp:270: erreur: expected primary-expression before '==' token
> util.cpp:270: erreur: expected primary-expression before '=' token
> util.cpp:272: erreur: expected primary-expression before '>>' token
> util.cpp:272: erreur: expected primary-expression before '>>' token
> util.cpp:272: erreur: expected primary-expression before '>>' token
> util.cpp:272: erreur: expected primary-expression before '>' token
> util.cpp:272: erreur: expected primary-expression before '.' token
> util.cpp:273: erreur: expected `;' before 'if'
> make[2]: *** [util.o] Erreur 1
> make[2]: quittant le répertoire « /var/alfs/build/mythtv/libs/libmyth »
> make[1]: *** [sub-libmyth-make_default-ordered] Erreur 2
> make[1]: quittant le répertoire « /var/alfs/build/mythtv/libs »
> make: *** [sub-libs-make_default-ordered] Erreur 2
>  
> Pierre

You must have made some local changes to util.cpp  in the past which 
conflict with the current svn version. If you look at that file it will 
be pretty obvious where the conflicts are.

You need to either manually merge your changes if you need to keep them 
or just do a 'svn revert' on that file to get the current svn version.

The 'svn status' command is useful in this situation to see which files 
have conflicts like this.
  

Paul H.


More information about the mythtv-dev mailing list