[mythtv-users] compile mythepg fails with main.o(.text+0x11f): Infunction `main':: undefined reference to`MythContext::OpenDatabase(QSqlDatabase*, bool)'

ch90045 at web.de ch90045 at web.de
Tue Jan 25 10:56:39 EST 2005


Bene,

that really did help. I did an emerge -C (deinstallaton on gentoo) before my initial try but did not check for orphans :-(. Now they are gone and everything is fine, but anyway this could be adressed in a bug.

Thanks again

      Christian

Discussion about mythtv <mythtv-users at mythtv.org> schrieb am 25.01.05 15:23:36:

> i have following problem on
> Linux gimli 2.6.10-gentoo-r6 #1 Thu Jan 20 21:57:01 CET 2005 
> i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz 
> GenuineIntel GNU/Linux
> 
> main.o(.text+0x11f): In function `main':
> : undefined reference to 
> `MythContext::OpenDatabase(QSqlDatabase*, bool)'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory `/source/mythtv/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory `/source/mythtv/programs'
> make: *** [sub-programs] Error 2

I've just had the same thing happen yesterday when trying to compile
CVS. Turns out it's trying to link against the installed versions of
myth libraries instead of the new ones it just compiled.

quick hack:

temporarily remove the installed libraries:
cd /usr/lib
mkdir xx
mv libmyth* xx

and retry the compile.

(you might want to restore the original files afterwards :-)

Bye, Martin

<hr>
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



More information about the mythtv-users mailing list