I followed instructions on the MythTV wiki
<a href="http://www.mythtv.org/wiki/index.php/XV_on_PVR-350">http://www.mythtv.org/wiki/index.php/XV_on_PVR-350</a> for the Gentoo and
X.Org 6.9/7.0 and ran into a problem with source code and the .ebuild
file. Since this section is from Jeff Simpson, I guess he is the guy to
whom this post is for.<br>
<br>
First, in the
<a href="http://www.mit.edu/~je18337/ivtvdev/xf86-video-ivtvdev-0.10.6.ebuild">http://www.mit.edu/~je18337/ivtvdev/xf86-video-ivtvdev-0.10.6.ebuild</a>
file, there is extra lines at the end with the ^M character which
confuse Gentoo emerge.<br>
<br>
Second, after removing these extra lines, the compilation is ending with the following errors:<br>
<br>
&nbsp;i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
-DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER
-I/usr/include/xorg -O2 -march=pentium3 -fomit-frame-pointer -pipe -MT
ivtv_xv.lo -MD -MP -MF .deps/ivtv_xv.Tpo -c ivtv_xv.c&nbsp; -fPIC -DPIC
-o .libs/ivtv_xv.o<br>
ivtv_xv.c: In function `IVTVSetupImageVideoOverlay':<br>
ivtv_xv.c:322: warning: assignment from incompatible pointer type<br>
ivtv_xv.c: In function `IVTVStopVideo':<br>
ivtv_xv.c:466: error: `errno' undeclared (first use in this function)<br>
ivtv_xv.c:466: error: (Each undeclared identifier is reported only once<br>
ivtv_xv.c:466: error: for each function it appears in.)<br>
ivtv_xv.c: In function `IVTVPutImage':<br>
ivtv_xv.c:707: error: `O_RDWR' undeclared (first use in this function)<br>
ivtv_xv.c:708: error: `errno' undeclared (first use in this function)<br>
ivtv_xv.c:708: error: `ENODEV' undeclared (first use in this function)<br>
make[2]: *** [ivtv_xv.lo] Error 1<br>
make[2]: Leaving directory `/var/tmp/portage/xf86-video-ivtvdev-0.10.6/work/xf86-video-ivtvdev-0.10.6/src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/var/tmp/portage/xf86-video-ivtvdev-0.10.6/work/xf86-video-ivtvdev-0.10.6'<br>
make: *** [all] Error 2<br>
<br>
!!! ERROR: x11-drivers/xf86-video-ivtvdev-0.10.6 failed.<br>
Call stack:<br>
&nbsp; ebuild.sh, line 1539:&nbsp;&nbsp; Called dyn_compile<br>
&nbsp; ebuild.sh, line 939:&nbsp;&nbsp; Called src_compile<br>
&nbsp; ebuild.sh, line 1248:&nbsp;&nbsp; Called x-modular_src_compile<br>
&nbsp; x-modular.eclass, line 317:&nbsp;&nbsp; Called x-modular_src_make<br>
&nbsp; x-modular.eclass, line 312:&nbsp;&nbsp; Called die<br>
<br>
!!! emake failed<br>
!!! If you need support, post the topmost build error, and the call stack if relevant.<br>
<br>
So, I guess at least one header file is missing in the source header. Is it possible to correct the source accordingly?<br clear="all"><br>
Regards,<br>-- <br>-----------------<br>Daniel Savard