[mythtv] CVS compilation errors

Michael Haas hansi.urpils at gmail.com
Mon May 30 11:22:39 UTC 2005


Hi Chris!

That happened to me, too.

Just add an 

#include unistd.h 

in signalmonitor.cpp to the other includes. I could be wrong regarding
the filename, just do a

man usleep

to get the correct one.

I hope this helps!

On 5/30/05, Chris Birkinshaw <chris at postbox.org.uk> wrote:
> 
> 
> I get the following error with qt 3.3.4 and gcc 3.3.5:
> 
> signalmonitor.cpp: In member function `void SignalMonitor::Start()':
> signalmonitor.cpp:64: `usleep' undeclared (first use this function)
> signalmonitor.cpp:64: (Each undeclared identifier is reported only once
> for
>     each function it appears in.)
> make[2]: *** [signalmonitor.o] Error 1
> make[2]: Leaving directory `/usr/src/mythtv-cvs/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory `/usr/src/mythtv-cvs/mythtv/libs'
> make: *** [sub-libs] Error 2
>


More information about the mythtv-dev mailing list