[mythtv-users] error compiling myth

David Lodeiro dlodeiro at inspired.net.au
Tue Dec 23 18:15:13 EST 2003


On Wed, 24 Dec 2003 12:16 am, Ivor Hewitt wrote:
> On Tuesday 23 December 2003 13:43, David Lodeiro wrote:
> > Hi,
> >
> > 	I'm trying to build mythtv on RedHat 9 with DVB support built in.
> > However I am getting some errors when doing make.
> >
> > Following is what it ends on
> >
> > cddevice.h:251: 'QString' is used as a type, but is not defined as a
> > type.
>
> [snip]
>
> Do you have qt-devel installed? Do you have an env  var "QTDIR" pointing to
> your QT source?
Thanks for your reply

I had originally placed the variables in .profile not realising that it 
wouldnt take affect, I had to place it in .bash_profile. Now it is set and it 
does seem to progress further. However now it comes up with an error as it 
cannot find -lqt-mt 

I did a search and the only libqt-mt that show up are in /usr/lib/qt-3.1
This must have come as part of the original redhat 9 install, because the 
version of qt that I installed is 3.3.0b1 that I obtained from the qt 
website.

Should I be using an older version of qt?

Following is the error

g++ -Wl,-rpath,/usr/local/qt/lib -shared -Wl,-soname,libmyth-0.13.so.0 -o 
libmyth-0.13.so.0.13.0 dialogbox.o lcddevice.o mythcontext.o mythwidgets.o 
oldsettings.o remotefile.o settings.o themedmenu.o util.o mythwizard.o 
volumecontrol.o uitypes.o xmlparse.o mythplugin.o mythdialogs.o audiooutput.o 
audiooutputoss.o inetcomms.o httpcomms.o moc_dialogbox.o moc_lcddevice.o 
moc_mythcontext.o moc_mythwidgets.o moc_settings.o moc_themedmenu.o 
moc_mythwizard.o moc_uitypes.o moc_mythdialogs.o moc_inetcomms.o 
moc_httpcomms.o  -L/usr/local/qt/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 
-lm -lpthread
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [libmyth-0.13.so.0.13.0] Error 1
make[2]: Leaving directory `/root/mythtv-0.13/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/root/mythtv-0.13/libs'
make: *** [sub-libs] Error 2

Thank you

David 



More information about the mythtv-users mailing list