[mythtv] cannot compile mythfronend in CVS

Nigel Pearson nigel at ind.tansu.com.au
Mon Nov 22 07:41:09 UTC 2004


> In CVS, mythtv module (19 Nov), the file 
> programs/mythfrontend/statusbox.cpp cannot compile because the 
> variable errno is undefined (line 1055).
>
>   return QString ("%1 - %2").arg(path).arg(strerror(errno));
>
> Would like to submit a patch but not exactly sure what to put in place 
> of errno.


	Sorry, looks like that was my mistake (it works as is
on Knoppix and Mac OS X), but it seems some distros don't
include a definition for errno.

	Try adding #include <errno.h> near the top somewhere.

--
Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra BI&D, Sydney, Australia       |  Darkness won't engulf my head,
Office: 8255 4222    Fax:  8255 3153  |  I can see by infrared,
Mobile: 0408 664435  Home: 9792 6998  |  How I hate the night." -Marvin



More information about the mythtv-dev mailing list