Re: Build problem with the latest version of mplayer

The Wanderer <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Organization This space intentionally left blank.
Message-ID <[email protected]>
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@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

_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAl9DDKUACgkQBKk1jTQo
Mmub+g//YD+ltErIsFaKUpw1XIJa4QKTcNReM7TuSVoHiGyAZmVqK4myT3/hdFSN
mmcHnrpxStPLiAdENwOI9ZoHOi30gY7Dq/rZtTVgvuNQGc7NW2L36wrMMblTx9rN
r3VGlXAuf/r0jOxnfjFmtZ5EzbiDgCOxLO2zSUyDeqEsjscg0ZShd7sxBe2dgOY2
zwy900w5o0xO20lzgMxWIYnygFdxer1Ke8JQBgzN09pb/eSSLS0qas222vIAyA5l
j85p8+dLF86h42tim8scNNATTCbgxgLkarpWaTAeJH612nfBvVKhi1kQxhYlVAVL
i+vnS+haU9EquwvYVwrc+Ygze/igwUjVujv0ADHeCXkRpF6VyTkoFQI8KBQ0dMWd
UifWTXGe6AqcnVlV+WfnszFn6BeqfzEXqZ/vtQsHZpAqAZstC4KQhAqi/veMNAQt
68niAkEaToA+xDQrr3VtgU+ARyQPhW4+x272mu302oG/ECfWiNF0T4VC4pZhhXI0
EPg9e0wm8HA53XbUDZfPXLKEOFZkszvXo9DGvumy6DWiPXpbzYtSx5akcgIePGMP
tSbl7gX4YpeK3nWySGWHwRAqbe/Pr/XKbPqtE/C7EIeNRYO+beWLNUCF1RDAFxjP
1syvbJLl9MmeVwyyWOSYe7+x4yeIuaui09o3QqZDLhPLIGvKKlo=
=5VzC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.