[mythtv] CVS compile errors (mythmusic, mythweather, mythvideo)

Michael T. Dean mtdean at thirdcontact.com
Sat Aug 7 19:30:24 EDT 2004


Chris Petersen wrote:

> Trying to compile the latest CVS...  seems that music, weather and 
> video are all broken (the main mythtv tree compiles just fine)...   
> Seems to be a problem with mythcontext.h -- since all of the programs 
> seem to die on this file.
>
> mythvideo returns:
>
> + make
> cd mythvideo && qmake mythvideo.pro -o Makefile
> cd mythvideo && make -f Makefile
> make[1]: Entering directory `/var/tmp/BUILD/mythvideo-0.16/mythvideo'
> g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -O2 -g -pipe 
> -march=i686 -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" 
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX 
> -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/lib/qt-3.3/mkspecs/default -I. 
> -I/usr/include -I/usr/include -I/usr/include/kde 
> -I/usr/lib/qt-3.3/include -o main.o main.cpp
> In file included from metadata.h:7,
>                  from main.cpp:19:
> /usr/include/mythtv/mythcontext.h:15:24: DisplayRes.h: No such file or 
> directory
> In file included from metadata.h:7,
>                  from main.cpp:19:
> /usr/include/mythtv/mythcontext.h:232: error: syntax error before `*' 
> token
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/var/tmp/BUILD/mythvideo-0.16/mythvideo'
> make: *** [sub-mythvideo] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.89163 (%build)

Seems you updated your tree just moments too soon:

----------------------------------------------------------------------------
Changes committed by thor on Sat Aug 7 18:14:39 2004

Modified Files:
in mythtv/libs/libmyth:
mythcontext.cpp mythcontext.h
Log Message:

Move DisplayRes.h include from mythcontext.h to mythcontext.cpp so that it
is once again possible to compile myth modules.

----------------------------------------------------------------------------

Mike


More information about the mythtv-dev mailing list