[mythtv] Building without X dependancies...

richard at mawson.org.uk richard at mawson.org.uk
Mon Feb 5 14:43:04 UTC 2007


I am trying to build mythtv without X11, but have come across a number
of problems:

1. gcc4.1 complains about things that gcc4.0 doesn't. line 205 of
libs/libmythtv/videoout_directfb.cpp change from

    DirectfbData::DirectfbData()

     to

    DirectfbData()

seems to solve this.

2. Compiling now complains about:

../../libs/libmyth/libmyth-0.20.so: undefined reference to
`ScreenSaverX11::ScreenSaverX11()'


It seems that screensaver.cpp instantiates ScreenSaverX11 due
to Q_WS_X11 being defined - picked up from a system header file.

I hacked this to instantiate ScreenSaverNull instead and it
compiled fine, but still has a dependence on X.


Does anyone have any ideas? I am trying to get this running
through my pvr-350 fb device. The configuration is thus:

./configure --enable-directfb --enable-dvb --disable-x11 --disable-xv

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070205/339d9ec1/attachment.pgp 


More information about the mythtv-dev mailing list