[mythtv] Compile Error in 6/3 CVS

Rob Rosenfeld mythtv.org at rosenfeld.to
Sun Jun 5 23:33:02 UTC 2005


Simon Kenyon wrote:

>On Saturday 04 June 2005 00:24, Rob Rosenfeld wrote:
>  
>
>>cd mythuitest && make -f Makefile
>>make[2]: Entering directory
>>`/root/download/mythtv/mythtv/programs/mythuitest'
>>g++  -o mythuitest main.o test1.o moc_test1.o   -L/usr/qt/3/lib
>>-L/usr/X11R6/lib -L../../libs/libmythui -lmythui-0.18
>>-L../../libs/libmyth -lmyth-0.18 -lqt-mt -lGLU -lGL -lXmu -lXext -lX11
>>-lm -lpthread
>>test1.o(.gnu.linkonce.r._ZTV11TestScreen1+0x68): undefined reference to
>>`MythUIType::SetArea(QRect)'
>>test1.o(.gnu.linkonce.r._ZTV11TestScreen1+0x6c): undefined reference to
>>`MythUIType::GetArea()'
>>moc_test1.o(.gnu.linkonce.r._ZTV8TestMove+0x68): undefined reference to
>>`MythUIType::SetArea(QRect)'
>>moc_test1.o(.gnu.linkonce.r._ZTV8TestMove+0x6c): undefined reference to
>>`MythUIType::GetArea()'
>>collect2: ld returned 1 exit status
>>make[2]: *** [mythuitest] Error 1
>>make[2]: Leaving directory
>>`/root/download/mythtv/mythtv/programs/mythuitest'
>>make[1]: *** [sub-mythuitest] Error 2
>>make[1]: Leaving directory `/root/download/mythtv/mythtv/programs'
>>make: *** [sub-programs] Error 2
>>    
>>
>
>is there a fix for this?
>looking at the code, there mothods exist, so i'm a bit confused
>building from scratch (but with a previous version of cvs installed)
>is this a library search path issue?
>  
>
FWIW, I edited mythtv/programs/programs.pro and removed mythuitest from 
SUBDIRS and it made it past the error.


More information about the mythtv-dev mailing list