[mythtv] Problems compileing latest svn
Sid Boyce
sboyce at blueyonder.co.uk
Fri Apr 7 13:41:18 UTC 2006
Nigel Pearson wrote:
>> I'm no programmer, though the only thing I can think of is I have the
>> wrong
>> version of QT (which BTW is 3.3.5) and hence qmap.h, which doesn't
>> have the
>> function or something to go on.
> ...
>> main.o(.text+0xff2): In function `main':
>> /usr/lib/qt3/include/qmap.h:133: undefined reference to
>> `MythContext::OverrideSettingForSession(QString const&, QString
>> const&)'
>> collect2: ld returned 1 exit status
>> make[2]: *** [mythtv] Error 1
>> make[2]: Leaving directory
>> `/home/mythtv/packages/BUILD/mythtv-0.20/programs/mythtv'
>> make[1]: *** [sub-mythtv] Error 2
>> make[1]: Leaving directory
>> `/home/mythtv/packages/BUILD/mythtv-0.20/programs'
>
> I think this is caused by different versions of the source
> code compiled at different times - the signature of MythContext
> doesn't match what was compiled into a library or template.
>
> Usually a "make clean" in the top directory is the fix.
>
>
> The QMap thing is a bit of a red herring. It is just a
> container for another class, the MythContext method mentioned.
>
It works, obviously I hadn't done a make clean as I thought I had. I did
have other build errors earlier which disappeared after I did "rm
/usr/lib/libmyth*". I have had similar problems building the hamradio
VOIP package svxlink, cured by deleting the previously installed
libraries. From what I could tell, it shouldn't have been referencing
those libraries, but should have been using the ones in the build package.
As it's the first time I'm seeing such things, makes me wonder if it's
something introduced with gcc-4.1.0/glibc-2.4-12 used in Opensuse 10.1Beta.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
More information about the mythtv-dev
mailing list