[mythtv] problem compiling cvs mythdvd

Steven mythmail at richardstraat.homedns.org
Sun Jan 23 11:08:42 EST 2005


Op za, 22-01-2005 te 14:52 -0500, schreef Michael T. Dean:
> On 01/22/05 12:19, Steven wrote:
> 
> > Mythcvs is compiled and working but I can't get mythdvd to compile 
> > anymore.
> > Probably some include that is missing?
> >
> > This is what I get :
> > make[1]: Entering directory `/mnt/net/stuff/mythtv/current/mythdvd/mtd'
> > g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
> > -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG 
> > -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt/mkspecs/default -I. 
> > -I/usr/include -I/usr/lib/qt/include -o mtd.o mtd.cpp
> > In file included from mtd.cpp:15:
> > /usr/include/mythtv/util.h:52: error: `time_t' was not declared in 
> > this scope
> > /usr/include/mythtv/util.h:52: error: `uptime' was not declared in 
> > this scope
> > make[1]: *** [mtd.o] Error 1
> > make[1]: Leaving directory `/mnt/net/stuff/tvbox/current/mythdvd/mtd'
> > make: *** [sub-mtd] Error 2
> 
> WFM.  CVS Sat Jan 22 13:45:09 EST 2005.  Perhaps you have a dependency 
> installed in a non-standard location and need a
> 
> INCLUDEPATH += /path/to/your/includes
> LIBS += -L/path/to/your/libs

> 

Strange, it used to compile fine on this system and I haven't changed
any of the libs.
If I configure mythdvd without transcode support it still compiles fine.

Anyone can tell from the error message what lib or header might be
missing/mislocated?

line 52 in /usr/include/mythtv/util.h reads "bool getUptime(time_t
&uptime);"


Steven



More information about the mythtv-dev mailing list