[mythtv] compile problem (dbox stuff)

Daniel Kristjansson danielk at cuymedia.net
Tue Aug 16 22:02:09 UTC 2005


On Tue, 2005-08-16 at 23:40 +0200, Steven wrote:
> Compiling svn stops with :
> 
> In file included from dbox2channel.h:16,
>                  from dbox2recorder.h:12,
>                  from dbox2recorder.cpp:13:
> dbox2epg.h:49: error: 'map' is used as a type, but is not defined as a
> type.
> In file included from dbox2recorder.h:12,
>                  from dbox2recorder.cpp:13:
> dbox2channel.h:76: error: 'map' is used as a type, but is not defined as
> a
>    type.
> dbox2channel.h:77: error: 'map' is used as a type, but is not defined as
> a
>    type.
> dbox2recorder.cpp: In function `int socketConnect(int, sockaddr*, int)':
> dbox2recorder.cpp:26: error: `connect' undeclared (first use this
> function)
> dbox2recorder.cpp:26: error: (Each undeclared identifier is reported
> only once
>    for each function it appears in.)
> dbox2recorder.cpp: In member function `int DBox2Recorder::OpenStream()':
> dbox2recorder.cpp:248: error: `socket' undeclared (first use this
> function)
> distcc[19914] ERROR: compile on localhost failed
> make[2]: *** [dbox2recorder.o] Error 1

Those dbox classes weren't including the STL map header despite using
a STL maps. I've added the includes to dbox2channel.h and dbox2epg.h.

There may be some more missing headers,
but give the current SVN a try...

-- Daniel



More information about the mythtv-dev mailing list