Closed DoM1niC closed 1 year ago
Any idea whats wrong ?
yes, your terminal is sized too small and is cutting off all the text so we can't even read anything.
Either way, ffmpeg build is failing. Needs more output to know exactly why.
in some boards I read ... so ffmpeg need to configure with --extra-ldflags="-latomic"
so I can add this, like this ? echo --extra-ldflags="-latomic" >> ffmpeg_options
New log with Full Terminal
INSTALL libavdevice/libavdevice.a
INSTALL libavformat/libavformat.a
INSTALL libpostproc/libpostproc.a
INSTALL libavdevice/libavdevice.pc
INSTALL libavfilter/libavfilter.pc
INSTALL libavformat/libavformat.pc
INSTALL libavcodec/libavcodec.pc
INSTALL libpostproc/libpostproc.pc
INSTALL libswresample/libswresample.pc
INSTALL libswscale/libswscale.pc
INSTALL libavutil/libavutil.pc
AR libavfilter/libavfilter.a
AR libavcodec/libavcodec.a
AR libswresample/libswresample.a
AR libswscale/libswscale.a
AR libavutil/libavutil.a
INSTALL libavfilter/libavfilter.a
INSTALL libswresample/libswresample.a
INSTALL libswscale/libswscale.a
INSTALL libavutil/libavutil.a
LD ffmpeg_g
INSTALL libavcodec/libavcodec.a
LD ffprobe_g
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_init':
fifo.c:(.text+0x80): undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_trailer':
fifo.c:(.text+0x284): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: fifo.c:(.text+0x318): undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_thread_dispatch_message.part.0':
fifo.c:(.text+0x544): undefined reference to `__atomic_fetch_sub_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_consumer_thread':
fifo.c:(.text+0xce4): undefined reference to `__atomic_load_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_packet':
fifo.c:(.text+0xf9c): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_init':
fifo.c:(.text+0x80): undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_trailer':
fifo.c:(.text+0x284): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: fifo.c:(.text+0x318): undefined reference to `__atomic_store_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_thread_dispatch_message.part.0':
fifo.c:(.text+0x544): undefined reference to `__atomic_fetch_sub_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_consumer_thread':
fifo.c:(.text+0xce4): undefined reference to `__atomic_load_8'
/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_packet':
fifo.c:(.text+0xf9c): undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make: *** [/home/tmp/build/mpv-build/ffmpeg/Makefile:125: ffmpeg_g] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [/home/tmp/build/mpv-build/ffmpeg/Makefile:125: ffprobe_g] Error 1
make: Leaving directory '/home/tmp/build/mpv-build/ffmpeg_build'
root@firewall:/home/tmp/build/mpv-build#
--extra-ldflags="-latomic"
doesn't help at all :(
Old but you seem to not be linking to libatomic for some reason. Feel free to make a new issue if this is still a problem.
Any idea whats wrong ?