[mythtv] Re: OS X: compile error CVS: undefined symbol

Nigel Pearson nigel at ind.tansu.com.au
Mon Jun 20 04:19:12 UTC 2005


>> Not that I remember, but someone intentionally disabled its 
>> compilation
>> on OS X.

	Probably me, Daniel.

> In file included from videodev_myth.h:25,
>                  from pchdtvsignalmonitor.cpp:8:
> videodev2_myth.h:377: error: field `timestamp' has incomplete type
> pchdtvsignalmonitor.cpp: In constructor `
>    pcHDTVSignalMonitor::pcHDTVSignalMonitor(int, Channel*, unsigned 
> int, const
>    char*)':
> pchdtvsignalmonitor.cpp:45: warning: invalid conversion from `int' to `
>    _opaque_pthread_t*'

	As a temporary/hacky fix to get Michael building:

diff -u -r1.3 pchdtvsignalmonitor.cpp
--- pchdtvsignalmonitor.cpp     17 Jun 2005 14:10:32 -0000      1.3
+++ pchdtvsignalmonitor.cpp     20 Jun 2005 03:51:55 -0000
@@ -5,6 +5,10 @@
  #include <unistd.h>
  #include <sys/ioctl.h>

+#include "config.h"
+#ifdef CONFIG_DARWIN
+    #include <sys/time.h>
+#endif
  #include "videodev_myth.h"
  #include "mythcontext.h"
  #include "pchdtvsignalmonitor.h"

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