[mythtv] Trouble compiling mythtv on the moblin distro

Ajay Sharma ajayrockrock at gmail.com
Tue Apr 7 01:03:18 UTC 2009

Robin Hill wrote:
> On Mon Apr 06, 2009 at 12:51:52PM -0700, Ajay Sharma wrote:
>> On Mon, Apr 6, 2009 at 7:59 AM, Daniel Kristjansson <danielk at cuymedia.net>wrote:
>>> On Mon, 2009-04-06 at 01:24 -0700, Ajay Sharma wrote:
>>>> I have an Intel Mobo/CPU (D945GCLF2) and I'm trying to build myth on the
>>> moblin distro (moblin.org).  It's that distribution that boots in 5
>>> seconds, it's based on Fedora and is geared towards Intel Atom processors.
>>>  I think it'd make for a great frontend so I'm playing with it.
>>>> In file included from videoout_xv.cpp:58:
>>>> /usr/include/X11/extensions/xf86vmode.h: At global scope:
>>>> /usr/include/X11/extensions/xf86vmode.h:106: error: expected ‘;’ before
>>>> ‘*’ token
>>>> /usr/include/X11/extensions/xf86vmode.h:127: error: expected ‘;’ before
>>>> ‘*’ token
>>> This is not a MythTV file it's an X11 extension, you should pursue this
>>> with the moblin folks. As a rule if you run into any trouble running an
>>> alpha release of a Linux distro you should ask for help there first. :)
>> I contacted the moblin dev list and this is what one guy said:
>> "Looks like INT32 isn't defined, which is defined by Xmd.h.
>> Perhaps the codebase isn't ported to a modern Xorg implementation?"
>> Sorry, I don't know much about Xorg development or what is entailed in
>> getting myth to work with a "modern Xorg implementation".  Do you think this
>> is something that has been fixed in the latest trunk?  I'm going to try to
>> compile that tonight and see if I can make any further progress on it.
> Nope, this is a problem on your system.  Xmd.h is included from
> xf86vmode.h (or is on a "modern Xorg implementation"), so the question
> is why this is failing on your system.  I'd suggest checking xf86vmode.h
> to make sure that _is_ including Xmd.h (there should be a #include line
> just after the copyright header), and that it is available on your
> system (it's in /usr/include/X11 on my systems).

I have Xmd.h on my system:

# ls -l /usr/include/X11/Xmd.h
-rw-r--r-- 1 root root 6953 2009-02-20 14:20 /usr/include/X11/Xmd.h

and it's included in the xf86vmode.h file:

# grep Xmd.h /usr/include/X11/extensions/xf86vmode.h
#include <X11/Xmd.h>

It's on line 39, right after the copyright header:

shall not be used in advertising or otherwise to promote the sale, use
or other dealings in this Software without prior written authorization
from Kaleb S. KEITHLEY

/* $Xorg: xf86vmode.h,v 1.3 2000/08/18 04:05:46 coskrey Exp $ */


#ifndef _XF86VIDMODE_H_
#define _XF86VIDMODE_H_

#include <X11/Xfuncproto.h>
#include <X11/Xmd.h>   <---- there it is

#define X_XF86VidModeQueryVersion       0
#define X_XF86VidModeGetModeLine        1

Any other suggestions?


More information about the mythtv-dev mailing list