Date: Tue, 26 Dec 2006 17:55:51 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-multimedia@freebsd.org Subject: Re: MythTV port - status report Message-ID: <20061226175551.503d11f1.torfinn.ingolfsen@broadpark.no> In-Reply-To: <c39ec84c0612260701v33f61d1cjdb11f0bd6ed876de@mail.gmail.com> References: <20061224230155.fc0a6c6a.torfinn.ingolfsen@broadpark.no> <20061225000044.6670e21f.torfinn.ingolfsen@broadpark.no> <20061226013441.9dc242e3.torfinn.ingolfsen@broadpark.no> <20061226023552.7b4ef0c8.torfinn.ingolfsen@broadpark.no> <c39ec84c0612260701v33f61d1cjdb11f0bd6ed876de@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Boundary_(ID_RbE4Nrtj6pJfIYzRWj/kdA) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT On Tue, 26 Dec 2006 16:01:47 +0100 usleepless@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 --Boundary_(ID_RbE4Nrtj6pJfIYzRWj/kdA)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061226175551.503d11f1.torfinn.ingolfsen>