[mythtv] problem compiling cvs mythdvd

Anduin Withers awithers at anduin.com
Sun Jan 23 12:25:49 EST 2005


> If I configure mythdvd without transcode support it still compiles fine.

That is only because without transcode support the source file in question
is never compiled (mtd becomes significantly less useful without transcode).

time_t is in time.h, while it isn't explicitly included it is pulled in by
other includes for many (though there is no reason it can't be explicitly
included).

You could add:

%.i: %.cpp
    $(CXX) -c $(CXXFLAGS) $(INCPATH) -E $< > $@

To your mtd/Makefile and then make mtd.i and just confirm that time.h isn't
being included (for me it is included by sys/types.h which is included by
stdlib.h which is included by cstdlib, which is included by... well it goes
up a ways).

-- 
Anduin Withers



More information about the mythtv-dev mailing list