[mythtv-users] compilation problem
sac
sa.cizmeli at usherbrooke.ca
Sat Aug 16 20:35:32 UTC 2008
Hi Everybody
I am a newbie and this is my first post to the list. Thanks for your
understanding.
I am trying to compile mythtv-021 on a pardus 2008 linux distribution with gcc
4.3.1. I followed all the steps of the mythtv documentation in order to
compile and install it from the source tarball. It all went well until the
compilation stage:
make -j 2
....
....
usr/include/X11/Xlib.h:3813: error: '_Xconst' has not been declared
/usr/include/X11/Xlib.h:3815: error: two or more data types in declaration
of 'parameter'
/usr/include/X11/Xlib.h:3819: error: 'Drawable' has not been declared
/usr/include/X11/Xlib.h:3824: error: '_Xconst' has not been declared
/usr/include/X11/Xlib.h:3826: error: two or more data types in declaration
of 'parameter'
/usr/include/X11/Xlib.h:3841: error: expected initializer before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3845: error: expected initializer before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3857: error: expected initializer before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3885: error: expected initializer before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3889: error: expected initializer before '_X_SENTINEL'
/usr/include/X11/Xlib.h:3897: error: 'Window' has not been declared
/usr/include/X11/Xlib.h:3905: error: 'KeySym' has not been declared
/usr/include/X11/Xlib.h:3914: error: 'KeySym' has not been declared
/usr/include/X11/Xlib.h:3923: error: 'KeySym' has not been declared
/usr/include/X11/Xlib.h:3929: error: expected initializer before '_X_SENTINEL'
In file included from mythcontext.cpp:34:
util-x11.h:16: error: expected constructor, destructor, or type conversion
before 'Display'
mythcontext.cpp: In member function 'bool MythContext::BackendIsRunning()':
mythcontext.cpp:1793: warning: deprecated conversion from string constant
to 'char*'
*** 470 errors, 2 warnings
There is a ticket at http://svn.mythtv.org/trac/ticket/4165 that was closed 8
months ago. I believe it is related with my problem. I do not know if the
patches proposed by this ticket was applied to the tarball source I am trying
to compile or not. I suppose no, because the source code does not compile in
my case :o(
Would my problem be solved if I applied one of those two patches? Moreover I
don't know how to apply the patch... How to do it?
Can someone please help me to compile mythtv.
thanks from advance for your kindly help
best
Servet
More information about the mythtv-users
mailing list