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

The Wanderer wanderer at fastmail.fm
Mon Aug 24 03:41:09 EEST 2020


On 2020-08-23 at 15:50, Alexander Strasser wrote:

> 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.

I would also suggest making sure to run 'make distclean' before the
configure step; I used to routinely run into compilation errors when I
skipped doing that after a source update, so much so that it's a
habitual part of my build process now even though I think it doesn't
seem to be as necessary anymore.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20200823/10a46b2e/attachment.sig>


More information about the MPlayer-users mailing list