[mythtv-users] Compile error when comiling for directfb- no X

Andrew Higginbotham ahigginbotham at ns.sympatico.ca
Sat Jun 10 00:45:30 UTC 2006


I am using a Gentoo 2.6.16-r7 box with directfb installed and tested to
confirm it works I installed the directfb examples to test with and all is
ok.

I seem to ge a compile error when I am compiling svn 10151 for DirectFB
without X11 support. The configure options I am using is 

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

 

But when I compile I get the following at the end.

 

g++  -o mythtv main.o    -L/usr/qt/3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19
-lmythavcodec-0.19 -lmyth-0.19 -lfreetype -lmp3lame -lasound -L/usr/lib
-ldirectfb -lfusion -ldirect -lz -ldl -L/usr/X11R6/lib -lqt-mt -lXext -lX11
-lm -lpthread

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

collect2: ld returned 1 exit status

make[2]: *** [mythtv] Error 1

make[2]: Leaving directory `/usr/src/mythtv/programs/mythtv'

make[1]: *** [sub-mythtv] Error 2

make[1]: Leaving directory `/usr/src/mythtv/programs'

make: *** [sub-programs] Error 2

 

this is the only place I can see a record of the errors, it does not show
anywhere else in the output.

 

I can make install but when I try to use mythtv-setup it complains that it
can't find X. However if I can start it under X no problem.

 

Am I missing something? I followed the guide on the wiki for setting up with
directfb and made the changes to libs/libmythui/mythmainwindow.cpp change: 

d->painter //d->painter 
to: 

//d->painter d->painter  

But in programs/Makefile remove this line: 

sub-mythuitest \
 
Was not in the file.
 
If anybody has any clues what else to try or look for I would appreciate it.
 
Thanks,
 
Andrew
 
 
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060609/35e7c22f/attachment.htm 


More information about the mythtv-users mailing list