[mythtv] compilation problem

marek mark_kiddy at wp.pl
Mon Aug 20 11:37:55 UTC 2007


thx for Your reply

make distclean doesn.t help

files themeinfo.cpp and themeinfo.h exists exactly in libs/libmyth/

I even fresh downloaded mythtv cvs - the same error in the same place. 
it's look like a linker problem or sth.
still no luck...

any ideas ?

ccache g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 
-D_FORTIFY_SOURCE=2 -O2 -fno-strict-aliasing -march=pentium4 
-I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -Wall -W -fomit-frame-pointer -O3 
-Wall -Wno-switch -Wpointer-arith -Wredundant-decls 
-Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -fomit-frame-pointer 
-D_REENTRANT -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_XV 
-DUSING_XVMC -DUSING_XVMC_VLD -DUSING_XRANDR -DUSING_OPENGL_VSYNC 
-DUSING_ALSA -DUSING_ARTS -DUSING_JACK -DUSING_OSS -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include -I/usr/include 
-I/usr/X11R6/include -I../.. -I../../libs -I../../libs/libmyth 
-I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat 
-I../../libs/libavcodec -I../../libs/libmythupnp -I../../libs/libmythui 
-I../../libs/libmythlivemedia -I/usr/include -I/usr/lib/qt3/include 
-I/usr/include -I/usr/X11R6/include -o moc_custompriority.o 
moc_custompriority.cpp
ccache g++ -o mythfrontend version.o main.o manualbox.o playbackbox.o 
viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o 
channelrecpriority.o statusbox.o networkcontrol.o custompriority.o 
moc_manualbox.o moc_playbackbox.o moc_viewscheduled.o 
moc_manualschedule.o moc_programrecpriority.o moc_channelrecpriority.o 
moc_statusbox.o moc_networkcontrol.o moc_custompriority.o -L/usr/lib/ 
-L/usr/lib/qt3/lib/ -L../../libs/libmyth -L../../libs/libmythtv 
-L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat 
-L../../libs/libmythfreemheg -L../../libs/libmythui 
-L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 
-lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 
-lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 
-lmythui-0.20 -lfreetype -lz -lmp3lame -lasound -L/opt/kde3/lib -lartsc 
-L/opt/gnome/lib -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -ljack 
-L/usr/lib/ -L/usr/X11R6/lib/ -lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW 
-lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
globalsettings.o: In function `ThemeSelector::ThemeSelector()':
globalsettings.cpp:(.text+0x671e): undefined reference to 
`ThemeInfo::ThemeInfo(QString)'
globalsettings.cpp:(.text+0x6922): undefined reference to 
`ThemeInfo::IsWide()'
globalsettings.cpp:(.text+0x69b7): undefined reference to 
`ThemeInfo::~ThemeInfo()'
globalsettings.o: In function `ThemeSelector::ThemeSelector()':
globalsettings.cpp:(.text+0x804e): undefined reference to 
`ThemeInfo::ThemeInfo(QString)'
globalsettings.cpp:(.text+0x8252): undefined reference to 
`ThemeInfo::IsWide()'
globalsettings.cpp:(.text+0x82e7): undefined reference to 
`ThemeInfo::~ThemeInfo()'
collect2: ld returned 1 exit status
make[2]: *** [mythfrontend] Error 1
make[2]: Leaving directory `/mnt/p2/myth/mythtv/programs/mythfrontend'
make[1]: *** [sub-mythfrontend] Error 2
make[1]: Leaving directory `/mnt/p2/myth/mythtv/programs'
make: *** [sub-programs] Error 2



Użytkownik Stuart Morgan napisał:

>On Monday 20 August 2007 09:47:21 marek wrote:
>  
>
>>strange error
>>svn revision 14228 - earlier version downloaded some days ago compiled
>>successfully
>>    
>>
>
>Have you tried running make distclean first?
>
>Check that the files themeinfo.cpp and themeinfo.h exist in libs/libmyth/
>
>  
>



More information about the mythtv-dev mailing list