[MPlayer-users] Build problem with the latest version of mplayer

Alexander Strasser eclipse7 at gmx.net
Sun Aug 23 22:50:29 EEST 2020


Hi Antonio!

On 2020-08-22 23:21 +0000, Antonio Olivares wrote:
>
> I have updated svn sources, and I run ./configure, make and I still get :
>
> vdnav -lpthread -lm   
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_init':
> fifo.c:(.text+0x80): undefined reference to `__atomic_store_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_write_trailer':
> fifo.c:(.text+0x280): undefined reference to `__atomic_fetch_add_8'
> /usr/bin/ld: fifo.c:(.text+0x30c): undefined reference to `__atomic_store_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_thread_dispatch_message.part.5':
> fifo.c:(.text+0x508): undefined reference to `__atomic_fetch_sub_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_consumer_thread':
> fifo.c:(.text+0xcc8): undefined reference to `__atomic_load_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_write_packet':
> fifo.c:(.text+0xf10): undefined reference to `__atomic_fetch_add_8'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:746: mencoder] Error 1
> make: *** Waiting for unfinished jobs....
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_init':
> fifo.c:(.text+0x80): undefined reference to `__atomic_store_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_write_trailer':
> fifo.c:(.text+0x280): undefined reference to `__atomic_fetch_add_8'
> /usr/bin/ld: fifo.c:(.text+0x30c): undefined reference to `__atomic_store_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_thread_dispatch_message.part.5':
> fifo.c:(.text+0x508): undefined reference to `__atomic_fetch_sub_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_consumer_thread':
> fifo.c:(.text+0xcc8): undefined reference to `__atomic_load_8'
> /usr/bin/ld: ffmpeg/libavformat/fifo.o: in function `fifo_write_packet':
> fifo.c:(.text+0xf10): undefined reference to `__atomic_fetch_add_8'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:746: mplayer] Error 1
> pi at raspberrypi:~/Downloads/mplayer/mplayer $
>
>
>
> What do I do?

As I wrote in reply to your first email, I expected this part of your
problem not to be fixed.

Unfortunately I didn't have time to take a deeper look at what might
cause this build problem. I hope to gain some insights into what could
probably cause this. Then I might be able to ask more precisely for
information.

Could you please share the command line you were using to configure
the build?

Speaking about configure, you could try to build against external
ffmpeg by passing

    --disable-ffmpeg_a

to configure and see if that helps to circumvent the problem.


Best regards,
  Alexander


More information about the MPlayer-users mailing list