[mythtv] compile problem (dbox stuff)

Steven mythmail at richardstraat.homedns.org
Wed Aug 17 06:13:56 UTC 2005


On di, 2005-08-16 at 18:02 -0400, Daniel Kristjansson wrote:
> 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

Current svn (revision 7049) still gives me the same error:

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.)

STeven




More information about the mythtv-dev mailing list