[mythtv] Undefined reference in libmyth
Tom Lichti
tom at redpepperracing.com
Mon Dec 17 14:39:28 UTC 2007
Anton Farygin wrote:
> Nigel Pearson пишет:
>
>>> ld in ALT Linux use enabled by default --as-needed flag, and rpm check
>>> all binary files for unresolved symbols before creating package.
>>>
>>>
>>>> I will try to remove the libmyth dependencies
>>>> from libmythupnp as soon as possible,
>>>>
>> Sorry, this is taking me a long time to achieve.
>>
>> A ticket has been created:
>> http://svn.mythtv.org/trac/ticket/4264
>> and I will have an initial patch in a day or two.
>>
>
> i found new problem with unresolved symbols with last svn checkout (svn
> 15177):
>
> 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 mediarenderer.o
> custompriority.o moc_manualbox.o moc_playbackbox.o moc_viewscheduled.o
> moc_globalsettings.o moc_manualschedule.o moc_programrecpriority.o
> moc_channelrecpriority.o moc_statusbox.o moc_networkcontrol.o
> moc_custompriority.o -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 -ljack -ldirectfb -lfusion -ldirect -lpthread -lz -ldl
> -L/usr/X11R6/lib -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm
> -lXrandr -lXvMCW -lXvMC -lGL -lGLU -lqt-mt -lGLU -lGL -lXmu -lXext -lX11
> -lm -lpthread
>
I had the same problem, the patch I posted here:
http://svn.mythtv.org/trac/ticket/4322
fixed it for me.
Tom
More information about the mythtv-dev
mailing list