[mythtv] Fwd: Re: [mythtv-commits] Ticket #9400: MacOS X Compile failure

Jean-Yves Avenard jyavenard at gmail.com
Tue Jan 11 10:23:58 UTC 2011


On 11 January 2011 19:32, Gavin Hurlbut <gjhurlbu at gmail.com> wrote:
> On Mon, Jan 10, 2011 at 7:21 PM, brad dreisbach <bradd at ameri.ca> wrote:
>>
>> has anyone gotten recent versions of myth to compile on os x(10.6)?  i
>> keep getting this error compiling libmyth.  i am using the git version of
>> osx-packager.pl
>
> <SNIP>
>
>>
>>      SPDIFEncoder::SPDIFEncoder(QString, AVCodecContext*)in spdifencoder.o
>>      _av_new_stream$non_lazy_ptr in spdifencoder.o
>>     (maybe you meant: _av_new_stream$non_lazy_ptr)
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make: *** [libmyth-0.24.0.24.0.dylib] Error 1
>
> This is now fixed as of:
> https://github.com/MythTV/mythtv/commit/5b15e27b10ff166109e5c79abdf60f8910e5f40b
> It may still gack at a later point though.

There's more than avformat to link to, there are references to at
least libavcodec and libavutil.

The reason I used weak linking was to make sure libmyth didn't have to
be linked to 3 extra libraries...

I specifically recall a time where libmyth got added the dependency to
libavcodec to be told in quite strong word to remove it...


More information about the mythtv-dev mailing list