[MPlayer-dev-eng] [PATCH] fix compilation w/o librtmp

Howard Chu hyc at highlandsun.com
Sun May 30 19:00:38 CEST 2010


Erik Auerswald wrote:
> On 05/30/2010 02:42 PM, Erik Auerswald wrote:
>> Hi,
>>
>> attached patch fixes compilation of libavformat svn revision 23387 (as
>> part of MPlayer svn) without librtmp for me.
>
> I forgot to include the actual error message in my first mail...
>
> [linking of mplayer: cc -o mplayer command.o ...<snipped for brevity>]
> libavformat/libavformat.a(allformats.o): In function `av_register_all':
> allformats.c:(.text+0xadc): undefined reference to `rtmp_protocol'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1

That seems a bit odd, since libavformat/rtmpproto.c will be used instead, when 
CONFIG_LIBRTMP is turned off.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the MPlayer-dev-eng mailing list