AVB(Audio and Video Bridge)/TSN demo, Error at Build gst-plugins-bad

cancel
Showing results for 
Search instead for 
Did you mean: 

AVB(Audio and Video Bridge)/TSN demo, Error at Build gst-plugins-bad

434 Views
ganeshthorat074
Contributor I


I am Following This https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/AVB-TSN-demo-on-i-MX8MP/ta-p/1123791

i am using iMX8qmmek for avb
at Build gst-plugins-bad (commit ed14e0d5a) this step 

$meson build --prefix=<your install folder>/usr

Configuring gstreamer-bad-audio-1.0-uninstalled.pc using configuration
Configuring gstreamer-codecparsers-1.0.pc using configuration
Configuring gstreamer-codecparsers-1.0-uninstalled.pc using configuration
Configuring gstreamer-insertbin-1.0.pc using configuration
Configuring gstreamer-insertbin-1.0-uninstalled.pc using configuration
Configuring gstreamer-mpegts-1.0.pc using configuration
Configuring gstreamer-mpegts-1.0-uninstalled.pc using configuration
Configuring gstreamer-photography-1.0.pc using configuration
Configuring gstreamer-photography-1.0-uninstalled.pc using configuration
Configuring gstreamer-player-1.0.pc using configuration
Configuring gstreamer-player-1.0-uninstalled.pc using configuration
Configuring gstreamer-plugins-bad-1.0.pc using configuration
Configuring gstreamer-plugins-bad-1.0-uninstalled.pc using configuration
Configuring gstreamer-sctp-1.0.pc using configuration
Configuring gstreamer-sctp-1.0-uninstalled.pc using configuration
Configuring gstreamer-transcoder-1.0.pc using configuration
Configuring gstreamer-transcoder-1.0-uninstalled.pc using configuration
Configuring gstreamer-webrtc-1.0.pc using configuration
Configuring gstreamer-webrtc-1.0-uninstalled.pc using configuration
Program scripts/update-orc-dist-files.py found: YES (/home/wfh/avb_lib/gst-plugins-bad/scripts/update-orc-dist-files.py)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring config.h using configuration
Message: Documentation not built as building it while cross building is not supported yet.
Build targets in project: 227
WARNING: Project specifies a minimum meson_version '>= 0.49' but uses features which were added in newer versions:
* 0.54.0: {'native arg in add_languages'}

gst-plugins-bad 1.17.2.1

Plugins : accurip, adpcmdec, adpcmenc, aiff, asfmux, audiobuffersplit, audiofxbad, audiomixmatrix, audiolatency, audiovisualizers, autoconvert, bayer, camerabin, coloreffects, debugutilsbad,
dvbsubenc, dvbsuboverlay, dvdspu, faceoverlay, festival, fieldanalysis, freeverb, frei0r, gaudieffects, gdp, geometrictransform, id3tag, inter, interlace, ivfparse, ivtc, jp2kdecimator,
jpegformat, rfbsrc, midi, mpegpsdemux, mpegpsmux, mpegtsdemux, mpegtsmux, mxf, netsim, rtponvif, pcapparse, pnm, proxy, legacyrawparse, removesilence, rist, rtmp2, rtpmanagerbad,
sdpelem, segmentclip, siren, smooth, speed, subenc, switchbin, timecode, transcode, videofiltersbad, videoframe_audiolevel, videoparsersbad, videosignal, vmnc, y4mdec, bluez, decklink,
dvb, fbdevsink, ipcpipeline, kms, nvcodec, shm, uvch264, v4l2codecs, avtp, bz2, closedcaption, curl, dash, dtls, hls, rsvg, sbc, smoothstreaming, sndfile, ttmlsubs, waylandsink, webp

Subprojects
dssim : NO Neither a subproject directory nor a dssim.wrap file was found.
libmicrodns: NO Neither a subproject directory nor a libmicrodns.wrap file was found.
libnice : NO Neither a subproject directory nor a libnice.wrap file was found.
libopenjp2 : NO Neither a subproject directory nor a libopenjp2.wrap file was found.
openh264 : NO Neither a subproject directory nor a openh264.wrap file was found.
tinyalsa : NO Neither a subproject directory nor a tinyalsa.wrap file was found.

Found ninja-1.10.2 at /opt/fsl-imx-wayland/imx-tool/sysroots/x86_64-pokysdk-linux/usr/bin/ninja

17th-March-2022.PNG

$ninja -C build

ninja: Entering directory `build'
[3/384] Linking target gst/videoparsers/libgstvideoparsersbad.so
FAILED: gst/videoparsers/libgstvideoparsersbad.so
aarch64-poky-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux -o gst/videoparsers/libgstvideoparsersbad.so gst/videoparsers/libgstvideoparsersbad.so.p/plugin.c.o gst/videoparsers/libgstvideoparsersbad.so.p/h263parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gsth263parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstdiracparse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/dirac_parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gsth264parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstmpegvideoparse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstmpeg4videoparse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstpngparse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstvc1parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gsth265parse.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstvideoparseutils.c.o gst/videoparsers/libgstvideoparsersbad.so.p/gstjpeg2000parse.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgstvideoparsersbad.so -Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now '-Wl,-rpath,$ORIGIN/../../gst-libs/gst/codecparsers' -Wl,-rpath-link,/home/wfh/avb_lib/gst-plugins-bad/build/gst-libs/gst/codecparsers gst-libs/gst/codecparsers/libgstcodecparsers-1.0.so.0.1702.0 /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgstbase-1.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgstreamer-1.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgobject-2.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libglib-2.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgstpbutils-1.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgstaudio-1.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgstvideo-1.0.so /opt/fsl-imx-wayland/imx-tool/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/libgsttag-1.0.so -Wl,--end-group
/opt/fsl-imx-wayland/imx-tool/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: gst/videoparsers/libgstvideoparsersbad.so.p/gsth264parse.c.o: in function `gst_h264_parse_update_src_caps':
/home/wfh/avb_lib/gst-plugins-bad/build/../gst/videoparsers/gsth264parse.c:2120: undefined reference to `gst_video_color_transfer_from_iso'
/opt/fsl-imx-wayland/imx-tool/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/real-ld: gst/videoparsers/libgstvideoparsersbad.so.p/gsth265parse.c.o: in function `gst_h265_parse_update_src_caps':
/home/wfh/avb_lib/gst-plugins-bad/build/../gst/videoparsers/gsth265parse.c:2065: undefined reference to `gst_video_color_transfer_from_iso'
collect2: error: ld returned 1 exit status
[12/384] Compiling C object sys/kms/libgstkms.so.p/gstkmssink.c.o
ninja: build stopped: subcommand failed.

17th-March-2022--2.PNG

how to remove error from second picture ?

0 Kudos
0 Replies