won't link:
[13/13] Linking target ext/libav/libgstlibav.so
FAILED: ext/libav/libgstlibav.so
gcc -m32 -o ext/libav/libgstlibav.so ext/libav/libgstlibav.so.p/gstav.c.o ext/libav/libgstlibav.so.p/gstavprotocol.c.o ext/libav/libgstlibav.so.p/gstavcodecmap.c.o ext/libav/libgstlibav.so.p/gstavutils.c.o ext/libav/libgstlibav.so.p/gstavaudenc.c.o ext/libav/libgstlibav.so.p/gstavvidenc.c.o ext/libav/libgstlibav.so.p/gstavauddec.c.o ext/libav/libgstlibav.so.p/gstavviddec.c.o ext/libav/libgstlibav.so.p/gstavcfg.c.o ext/libav/libgstlibav.so.p/gstavdemux.c.o ext/libav/libgstlibav.so.p/gstavmux.c.o ext/libav/libgstlibav.so.p/gstavdeinterlace.c.o -flto -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgstlibav.so -Wl,--exclude-libs=ALL -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 /usr/lib32/libavfilter.so /usr/lib32/libavformat.so /usr/lib32/libavcodec.so /usr/lib32/libavutil.so /usr/lib32/libgstreamer-1.0.so /usr/lib32/libgobject-2.0.so /usr/lib32/libglib-2.0.so /usr/lib32/libgstbase-1.0.so /usr/lib32/libgstvideo-1.0.so /usr/lib32/libgstaudio-1.0.so /usr/lib32/libgsttag-1.0.so /usr/lib32/libgstpbutils-1.0.so -Wl,--end-group
/usr/bin/ld: /tmp/ccCrGtdf.ltrans0.ltrans.o: in function `gst_ffmpegaudenc_start':
<artificial>:(.text+0x4569): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: /tmp/ccCrGtdf.ltrans0.ltrans.o: in function `gst_ffmpegaudenc_set_format':
<artificial>:(.text+0xa20a): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xa989): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xab4c): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: <artificial>:(.text+0xabd0): undefined reference to `avcodec_get_context_defaults3'
/usr/bin/ld: /tmp/ccCrGtdf.ltrans1.ltrans.o:<artificial>:(.text+0x669): more undefined references to `avcodec_get_context_defaults3' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: lib32-gst-libav
Pinned Comments
ahmubashshir commented on 2023-11-18 14:43 (UTC) (edited on 2023-11-18 14:44 (UTC) by ahmubashshir)
If you have any improvements/suggestions for the pkgbuilds I maintain, please create an issue/pr on github.com/ahmubashshir/pkgbuilds or send the patches to ahmubashshir+pkgbuilds@gmail.com
p.s. sorry for being late, I was busy with my mid and part-time job last three months... it was truly chaotic...