[MPlayer-users] svn update, then compilation fails

Antonio Olivares olivares14031 at yahoo.com
Tue Feb 23 21:21:37 EET 2021


Dear mplayer users/developers,

running fedora 33, I use mplayer compiled from source.
I have run svn update and ran ./configure
when running make, I get error message:

/usr/bin/ld: ffmpeg/libavformat/movenc.o: warning: relocation against `ff_mp4_obj_type' in read-only section `.text'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: warning: relocation against `ff_mp4_obj_type' in read-only section `.text'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_codec_id':
mov.c:(.text+0x54d): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: mov.c:(.text+0x571): undefined reference to `ff_codec_movdata_tags'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_read_mdhd':
mov.c:(.text+0x88d2): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_read_udta_string':
mov.c:(.text+0xdc2e): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: mov.c:(.text+0xe8bb): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `get_metadata_lang':
movenc.c:(.text+0x5be): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_init':
movenc.c:(.text+0x197b): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: movenc.c:(.text+0x2922): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_write_string_tag.part.0':
movenc.c:(.text+0x38dd): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_write_esds_tag':
movenc.c:(.text+0x4227): undefined reference to `ff_mp4_obj_type'
/usr/bin/ld: ffmpeg/libavformat/movenc.o:(.data.rel.ro+0x2b0): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: ffmpeg/libavformat/aiffenc.o: in function `aiff_write_header':
aiffenc.c:(.text+0x855): undefined reference to `ff_mov_write_chan'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_codec_id':
mov.c:(.text+0x54d): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: mov.c:(.text+0x571): undefined reference to `ff_codec_movdata_tags'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_read_mdhd':
mov.c:(.text+0x88d2): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: ffmpeg/libavformat/mov.o: in function `mov_read_udta_string':
mov.c:(.text+0xdc2e): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: mov.c:(.text+0xe8bb): undefined reference to `ff_mov_lang_to_iso639'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `get_metadata_lang':
movenc.c:(.text+0x5be): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_init':
movenc.c:(.text+0x197b): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: movenc.c:(.text+0x2922): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_write_string_tag.part.0':
movenc.c:(.text+0x38dd): undefined reference to `ff_mov_iso639_to_lang'
/usr/bin/ld: ffmpeg/libavformat/movenc.o: in function `mov_write_esds_tag':
movenc.c:(.text+0x4227): undefined reference to `ff_mp4_obj_type'
/usr/bin/ld: ffmpeg/libavformat/movenc.o:(.data.rel.ro+0x2b0): undefined reference to `ff_codec_movsubtitle_tags'
/usr/bin/ld: ffmpeg/libavformat/aiffenc.o: in function `aiff_write_header':
aiffenc.c:(.text+0x855): undefined reference to `ff_mov_write_chan'
/usr/bin/ld: ffmpeg/libavformat/cafdec.o: in function `read_header':
cafdec.c:(.text+0x824): undefined reference to `ff_mp4_read_descr_len'
/usr/bin/ld: cafdec.c:(.text+0x837): undefined reference to `ff_mp4_read_descr_len'
/usr/bin/ld: ffmpeg/libavformat/cafenc.o: in function `caf_write_header':
cafenc.c:(.text+0x782): undefined reference to `ff_mov_write_chan'
/usr/bin/ld: ffmpeg/libavformat/dashenc.o: in function `set_codec_str.constprop.0':
dashenc.c:(.text+0x8b6): undefined reference to `ff_mp4_obj_type'
/usr/bin/ld: ffmpeg/libavformat/cafdec.o: in function `read_header':
cafdec.c:(.text+0x824): undefined reference to `ff_mp4_read_descr_len'
/usr/bin/ld: cafdec.c:(.text+0x837): undefined reference to `ff_mp4_read_descr_len'
/usr/bin/ld: ffmpeg/libavformat/cafenc.o: in function `caf_write_header':
cafenc.c:(.text+0x782): undefined reference to `ff_mov_write_chan'
/usr/bin/ld: ffmpeg/libavformat/dashenc.o: in function `set_codec_str.constprop.0':
dashenc.c:(.text+0x8b6): undefined reference to `ff_mp4_obj_type'
/usr/bin/ld: ffmpeg/libavformat/mov_esds.o: in function `ff_mov_read_esds':
mov_esds.c:(.text+0x43): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mov_esds.c:(.text+0x60): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mov_esds.c:(.text+0x86): undefined reference to `ff_mp4_parse_es_descr'
/usr/bin/ld: mov_esds.c:(.text+0x9a): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `parse_mp4_descr':
mpegts.c:(.text+0x267a): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mpegts.c:(.text+0x28a3): undefined reference to `ff_mp4_parse_es_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `m4sl_cb':
mpegts.c:(.text+0x2e8c): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `ff_parse_mpeg2_descriptor':
mpegts.c:(.text+0x4eda): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: mpegts.c:(.text+0x5642): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: ffmpeg/libavformat/mov_esds.o: in function `ff_mov_read_esds':
mov_esds.c:(.text+0x43): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mov_esds.c:(.text+0x60): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mov_esds.c:(.text+0x86): undefined reference to `ff_mp4_parse_es_descr'
/usr/bin/ld: mov_esds.c:(.text+0x9a): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `parse_mp4_descr':
mpegts.c:(.text+0x267a): undefined reference to `ff_mp4_read_descr'
/usr/bin/ld: mpegts.c:(.text+0x28a3): undefined reference to `ff_mp4_parse_es_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `m4sl_cb':
mpegts.c:(.text+0x2e8c): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: ffmpeg/libavformat/mpegts.o: in function `ff_parse_mpeg2_descriptor':
mpegts.c:(.text+0x4eda): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: mpegts.c:(.text+0x5642): undefined reference to `ff_mp4_read_dec_config_descr'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [Makefile:747: mplayer] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:747: mencoder] Error 1
[olivares at localhost mplayer]$

How can I get it to work.  I want to update to latest.  I have updated ffmpeg to latest 4.3.2 version.   

Best Regards,


Antonio 


More information about the MPlayer-users mailing list