[mythtv] Trouble compiling mythtv on the moblin distro
Ajay Sharma
ajayrockrock at gmail.com
Mon Apr 6 08:24:38 UTC 2009
Hello,
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.
Anyway, I'm getting these errors while compiling mythtv (0.21-fixes branch, freshly checked out from SVN).
My configure line:
./configure --prefix=/opt/mythtv --disable-joystick-menu --disable-firewire --disable-iptv --disable-dbox2 --disable-hdhomerun --disable-ivtv --disable-dvb --disable-directfb
configure output:
# Basic Settings
Compile type release
Compiler cache no
DistCC no
install prefix /opt/mythtv
runtime prefix /opt/mythtv
CPU x86_32 (model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz)
big-endian no
MMX enabled yes
CMOV enabled yes
CMOV is fast no
# Input Support
Joystick menu no
lirc support no
Video4Linux sup. yes
ivtv support no
FireWire support no
DVB support no [/usr/include]
DBox2 support no
HDHomeRun support no
IPTV support no
# Sound Output Support
OSS support yes
ALSA support no
aRts support no
JACK support no
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support no
XvMC VLD support no
XvMC pro support no
XvMC OpenGL sup. no
XvMC libs -lXvMCW
OpenGL video no
OpenGL vsync no
DirectFB no
Fribidi formatting no
# Misc Features
multi threaded libavcodec yes
Frontend yes
Backend yes
# Bindings
bindings_perl yes
bindings_python yes
and the eventual error:
g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -D_REENTRANT -DPIC
-fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV
-DUSING_OPENGL -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L
-DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/opt/mythtv/include -I../.. -I.. -I. -I../libmyth -I../libavcodec
-I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/lib/qt-3.3/include
-o videoout_xv.o videoout_xv.cpp
In file included from ../libmyth/mythwidgets.h:20,
from ../libmyth/mythconfigdialogs.h:13,
from ../libmyth/settings.h:4,
from recordingprofile.h:4,
from NuppelVideoPlayer.h:14,
from videoout_xv.cpp:1:
/usr/lib/qt-3.3/include/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/lib/qt-3.3/include/qimage.h:58: warning: suggest parentheses around
&& within ||
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
videoout_xv.cpp:60: warning: redundant redeclaration of ‘int
XShmQueryExtension(Display*)’ in same scope
/usr/include/X11/extensions/XShm.h:76: warning: previous declaration of
‘int XShmQueryExtension(Display*)’
videoout_xv.cpp:61: warning: redundant redeclaration of ‘int
XShmGetEventBase(Display*)’ in same scope
/usr/include/X11/extensions/XShm.h:80: warning: previous declaration of
‘int XShmGetEventBase(Display*)’
make[2]: *** [videoout_xv.o] Error 1
make[2]: Leaving directory
`/home/ssharma/release-0-21-fixes/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/ssharma/release-0-21-fixes/mythtv/libs'
make: *** [sub-libs] Error 2
Any suggestions as to what's causing this?
--Ajay
More information about the mythtv-dev
mailing list