MythTV port - status report

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Tue Dec 26 08:55:52 PST 2006


On Tue, 26 Dec 2006 16:01:47 +0100
usleepless at gmail.com wrote:

> Torfinn,

Thanks for helping out.

> i would'nt be surprised if the ReadStringList errors are caused by
> mythtv relying on usleep doing a context-switch. the "backend" is the
> mythtv-backend.

Ugh, that's bad. Really bad.

> patch mythcontext.h to undefine usleep:

And these patches can go anywhere in the file(s)? As long as they are
not in another context (like #if #else #endif for example) of course.

I took the patches verbatim from you mail (see attached files)
but my first try was not very successful:
cd libmyth && make -f Makefile
g++ -c -pipe -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -Wall -W -O3 -pthread -Wall -Wno-switch -fomit-frame-pointer -DPIC -fPIC  -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../X11R6/include -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I.. -I../../../../../../../local/include -I/usr/X11R6/include -o lcddevice.o lcddevice.cpp
In file included from mythdialogs.h:15,
                 from lcddevice.cpp:12:
../../../../../../../X11R6/include/qthread.h:113: error: expected identifier before string constant
../../../../../../../X11R6/include/qthread.h:113: error: expected `,' or `...' before string constant
../../../../../../../X11R6/include/qthread.h:113: error: ISO C++ forbids declaration of `parameter' with no type
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20/libs/libmyth.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20/libs.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.20.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.

I will have to look closer at that, perhaps I made a mistake when implementing the patches.

> you might try different treading style as well.

What? sorry, but I'm not very experienced with this sort of thing.
How do I change "threading style"?
-- 
Regards,
Torfinn



More information about the freebsd-multimedia mailing list