GithubHelp home page GithubHelp logo

Gstreamer - configure error about openavnu HOT 7 CLOSED

avnu avatar avnu commented on August 15, 2024
Gstreamer - configure error

from openavnu.

Comments (7)

adiknoth avatar adiknoth commented on August 15, 2024

Your installation is broken. Check your C compiler.

I've just tried it on my system to rule out broken autotools files, here's how it's supposed to look:

checking whether the C compiler works... yes
checking for C compiler default output file name... a.out

In other words: this ticket is invalid.

from openavnu.

SherinKV avatar SherinKV commented on August 15, 2024

Thanks for the reply.
I don't think it is the problem with the C Compiler. I considered reinstalling it but displays the same error.

LDFLAGS='-L/Open-AVB-master/lib/igb' CPPFLAGS='-I/Open-AVB-master/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0' ./configure

This works without -ligb

Can you please help me figure out this problem.

from openavnu.

gvancuts avatar gvancuts commented on August 15, 2024

Did you build and install the igb library prior to this?

from openavnu.

davidcemin avatar davidcemin commented on August 15, 2024

SherinkV,

are you still having this problem?

from openavnu.

SherinKV avatar SherinKV commented on August 15, 2024

Well that's fixed.. A stupid mistake I made..
Thank you

from openavnu.

rohan-lt avatar rohan-lt commented on August 15, 2024

We are working on Open-AVB-open-avb-next source code for a gstreamer plugins.
We have a two different pc with ubuntu 14.04 and NIC card(Intel i210) in both the system.

LISTENER side (WITHOUT SUDO)

1)Go to folder: cd /Open-AVB-Open-AVB-Next/examples/gstreamer-avb-plugins/gst-plugin/src

and in Makefile.am file set
libgstplugin_la_SOURCES = gst_avb_playbin.c gst_avb_playbin.h ../../../common/avb.c ../../../common/avb.h ../../../../lib/igb/igb.h gst_app_src.c

  1. LDFLAGS='-L/home/pcadmin/Downloads/AVB/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./configure

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ LDFLAGS='-L/home/pcadmin/Downloads/AVB_fresh/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB_fresh/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0' ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... yes
checking to see if compiler understands -Wall... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

3)LDFLAGS='-L/home/pcadmin/Downloads/AVB_fresh/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB_fresh/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0' ./autogen.sh

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ LDFLAGS='-L/home/pcadmin/Downloads/AVB_fresh/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB_fresh/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0' ./autogen.sh
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in.'.
libtoolize: copying file ./ltmain.sh' libtoolize: Consider addingAC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: installing './compile' src/Makefile.am:28: warning: source file '../../../common/avb.c' is in a subdirectory, src/Makefile.am:28: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. autoreconf: running: ./config.status --recheck running CONFIG_SHELL=/bin/bash /bin/bash ./configure LDFLAGS=-L/home/pcadmin/Downloads/AVB_fresh/lib/igb LIBS=-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0 CPPFLAGS=-I/home/pcadmin/Downloads/AVB_fresh/lib/igb --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes checking to see if compiler understands -Wall... yes checking that generated files are newer than configure... done configure: creating ./config.status autoreconf: running: ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands autoreconf: running: make make all-recursive make[1]: Entering directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin'
Making all in src
make[2]: Entering directory /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src' /bin/bash ../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-gst_avb_playbin.lo -MD -MP -MF .deps/libgstplugin_la-gst_avb_playbin.Tpo -c -o libgstplugin_la-gst_avb_playbin.lotest -f 'gst_avb_playbin.c' || echo './'gst_avb_playbin.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-gst_avb_playbin.lo -MD -MP -MF .deps/libgstplugin_la-gst_avb_playbin.Tpo -c gst_avb_playbin.c -fPIC -DPIC -o .libs/libgstplugin_la-gst_avb_playbin.o In file included from gst_avb_playbin.c:57:0: gst_avb_playbin.h:21:11: warning: extra tokens at end of #ifndef directive [enabled by default] #ifndef __\_H__ ^ gst_avb_playbin.c: In function 'gst_avbsrc_class_init': gst_avb_playbin.c:135:19: warning: variable 'gstbasesrc_class' set but not used [-Wunused-but-set-variable] GstBaseSrcClass *gstbasesrc_class; ^ gst_avb_playbin.c: In function 'gst_avbsrc_set_property': gst_avb_playbin.c:213:4: warning: passing argument 1 of 'g_free' makes pointer from integer without a cast [enabled by default] g_free(port); ^ In file included from /usr/include/glib-2.0/glib/glist.h:32:0, from /usr/include/glib-2.0/glib/ghash.h:33, from /usr/include/glib-2.0/glib.h:50, from /usr/include/gstreamer-1.0/gst/gst.h:27, from gst_avb_playbin.h:24, from gst_avb_playbin.c:57: /usr/include/glib-2.0/glib/gmem.h:69:7: note: expected 'gpointer' but argument is of type 'int' void g_free (gpointer mem); ^ gst_avb_playbin.c: In function 'gst_avbsrc_get_property': gst_avb_playbin.c:226:13: warning: variable 'avbsrc' set but not used [-Wunused-but-set-variable] GstAVBSrc *avbsrc; ^ mv -f .deps/libgstplugin_la-gst_avb_playbin.Tpo .deps/libgstplugin_la-gst_avb_playbin.Plo /bin/bash ../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-avb.lo -MD -MP -MF .deps/libgstplugin_la-avb.Tpo -c -o libgstplugin_la-avb.lotest -f '../../../common/avb.c' || echo './'../../../common/avb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-avb.lo -MD -MP -MF .deps/libgstplugin_la-avb.Tpo -c ../../../common/avb.c -fPIC -DPIC -o .libs/libgstplugin_la-avb.o mv -f .deps/libgstplugin_la-avb.Tpo .deps/libgstplugin_la-avb.Plo /bin/bash ../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-gst_app_src.lo -MD -MP -MF .deps/libgstplugin_la-gst_app_src.Tpo -c -o libgstplugin_la-gst_app_src.lotest -f 'gst_app_src.c' || echo './'gst_app_src.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pcadmin/Downloads/AVB_fresh/lib/igb -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -MT libgstplugin_la-gst_app_src.lo -MD -MP -MF .deps/libgstplugin_la-gst_app_src.Tpo -c gst_app_src.c -fPIC -DPIC -o .libs/libgstplugin_la-gst_app_src.o mv -f .deps/libgstplugin_la-gst_app_src.Tpo .deps/libgstplugin_la-gst_app_src.Plo /bin/bash ../libtool --tag=CC --tag=disable-static --mode=link gcc -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Wall -g -O2 -Wall -module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* -L/home/pcadmin/Downloads/AVB_fresh/lib/igb -L/home/pcadmin/Downloads/AVB_fresh/lib/igb -o libgstplugin.la -rpath /usr/local/lib/gstreamer-1.0 libgstplugin_la-gst_avb_playbin.lo libgstplugin_la-avb.lo libgstplugin_la-gst_app_src.lo -lgstbase-1.0 -lgstcontroller-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -ligb -lpci -lrt -lpthread -lm -lgstapp-1.0 libtool: link: /usr/bin/nm -B .libs/libgstplugin_la-gst_avb_playbin.o .libs/libgstplugin_la-avb.o .libs/libgstplugin_la-gst_app_src.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libgstplugin.exp libtool: link: /bin/grep -E -e "_*(gst_|Gst|GST_).*" ".libs/libgstplugin.exp" > ".libs/libgstplugin.expT" libtool: link: mv -f ".libs/libgstplugin.expT" ".libs/libgstplugin.exp" libtool: link: echo "{ global:" > .libs/libgstplugin.ver libtool: link: cat .libs/libgstplugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgstplugin.ver libtool: link: echo "local: *; };" >> .libs/libgstplugin.ver libtool: link: gcc -shared -fPIC -DPIC .libs/libgstplugin_la-gst_avb_playbin.o .libs/libgstplugin_la-avb.o .libs/libgstplugin_la-gst_app_src.o -L/home/pcadmin/Downloads/AVB_fresh/lib/igb -lgstbase-1.0 -lgstcontroller-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -ligb -lpci -lrt -lpthread -lm -lgstapp-1.0 -pthread -O2 -pthread -Wl,-soname -Wl,libgstplugin.so -Wl,-version-script -Wl,.libs/libgstplugin.ver -o .libs/libgstplugin.so libtool: link: ( cd ".libs" && rm -f "libgstplugin.la" && ln -s "../libgstplugin.la" "libgstplugin.la" ) make[2]: Leaving directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src'
make[2]: Entering directory /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin' make[2]: Leaving directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin'
make[1]: Leaving directory /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin' autoreconf: Leaving directory.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... yes
checking to see if compiler understands -Wall... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Now type 'make' to compile this module.

4)make

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ make
make all-recursive
make[1]: Entering directory /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin' Making all in src make[2]: Entering directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src'
make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src'
make[2]: Entering directory /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin' make[2]: Leaving directory/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin'
make[1]: Leaving directory `/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin'

5)xport GST_PLUGIN_PATH=/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ export GST_PLUGIN_PATH=/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

6)gst-inspect-1.0 avbplaybin

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ gst-inspect-1.0 avbplaybin
Factory Details:
Rank none (0)
Long-name AVB packet receiver
Klass Source/Network
Description Receive data over the network via Ethernet AVB
Author Symphony-Teleca

Plugin Details:
Name avbplaybin
Description Ethernet AVB Source Element
Filename /home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src/.libs/libgstplugin.so
Version 1.0.0
License LGPL
Source module my-plugin-package
Binary package GStreamer
Origin URL http://gstreamer.net/

GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----GstAVBSrc

Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
ANY

Element Flags:
no flags set

Element Implementation:
Has change_state() function: gst_base_src_change_state

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
SRC: 'src'
Implementation:
Has getrangefunc(): gst_base_src_getrange
Has custom eventfunc(): gst_base_src_event
Has custom queryfunc(): gst_base_src_query
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'src'

Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "avbsrc0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
blocksize : Size in bytes to read per buffer (-1 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4096
num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1
typefind : Run typefind before negotiating
flags: readable, writable
Boolean. Default: false
do-timestamp : Apply current stream time to buffers
flags: readable, writable
Boolean. Default: false
interface : The Interface Name b/w sink and source
flags: readable, writable
String. Default: null
talkerip : The IP address of a talker
flags: readable, writable
String. Default: null
port : The port to receive the packets from, 0=allocate
flags: readable, writable
Integer. Range: 0 - 65535 Default: 0

7)gst-launch-1.0 avbplaybin talkerip=192.168.35.48 port=7600 interface=eth2

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ gst-launch-1.0 avbplaybin talkerip=192.168.35.48 port=7600 interface=eth2
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
attaching to 0000:03:00.0
attach failed! (Permission denied)
connect failed (Permission denied) - are you running as root?

Talker side(without SUDO)

1)Go to folder: cd /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src
and in Makefile.am file set
libgstplugin_la_SOURCES = gstavbsink.c gstavbsink.h ../../../common/avb.c ../../../common/avb.h ../../../../lib/igb/igb.h

2)LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./configure

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... yes
checking to see if compiler understands -Wall... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

3)LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./autogen.sh

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./autogen.sh
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in.'.
libtoolize: copying file ./ltmain.sh' libtoolize: Consider addingAC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing src/Makefile.am:23: warning: source file '../../../common/avb.c' is in a subdirectory, src/Makefile.am:23: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. autoreconf: running: ./config.status --recheck running CONFIG_SHELL=/bin/bash /bin/bash ./configure LDFLAGS=-L/home/pcadmin/avb/avb_codeflow/lib/igb LIBS=-ligb -lpci -lrt -lpthread -lm CPPFLAGS=-I/home/pcadmin/avb/avb_codeflow/lib/igb --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes checking to see if compiler understands -Wall... yes checking that generated files are newer than configure... done configure: creating ./config.status autoreconf: running: ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands autoreconf: running: make make all-recursive make[1]: Entering directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin'
Making all in src
make[2]: Entering directory /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src' make[2]: Nothing to be done forall'.
make[2]: Leaving directory /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src' make[2]: Entering directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin'
make[2]: Leaving directory /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin' make[1]: Leaving directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GST... yes
checking to see if compiler understands -Wall... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Now type 'make' to compile this module.
4)make

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# make
make all-recursive
make[1]: Entering directory /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin' Making all in src make[2]: Entering directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src'
make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src'
make[2]: Entering directory /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin' make[2]: Leaving directory/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin'
make[1]: Leaving directory `/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin'

  1. export GST_PLUGIN_PATH=/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# export GST_PLUGIN_PATH=/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src/.libs
root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin#

6)Check weather gstreamer has installed the plugin or not:
gst-inspect-1.0 avbsink

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# gst-inspect-1.0 avbsink
Factory Details:
Rank none (0)
Long-name AVB packet sender
Klass Sink/Network
Description Send data over the network via AVB
Author Symphony-Teleca

Plugin Details:
Name avbsink
Description Ethernet AVB Sink Element
Filename /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src/.libs/libgstplugin.so
Version 1.0.0
License LGPL
Source module my-plugin-package
Binary package GStreamer
Origin URL http://gstreamer.net/

GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseSink
+----GstAvbSink

Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
ANY

Element Flags:
no flags set

Element Implementation:
Has change_state() function: gst_base_sink_change_state

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): gst_base_sink_chain
Has custom eventfunc(): gst_base_sink_event
Has custom queryfunc(): gst_base_sink_sink_query
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'sink'

Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "avbsink0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
sync : Sync on the clock
flags: readable, writable
Boolean. Default: true
max-lateness : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
flags: readable, writable
Integer64. Range: -1 - 9223372036854775807 Default: -1
qos : Generate Quality-of-Service events upstream
flags: readable, writable
Boolean. Default: false
async : Go asynchronously to PAUSED
flags: readable, writable
Boolean. Default: true
ts-offset : Timestamp offset in nanoseconds
flags: readable, writable
Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0
enable-last-sample : Enable the last-sample property
flags: readable, writable
Boolean. Default: true
last-sample : The last sample received in the sink
flags: readable
Boxed pointer of type "GstSample"
blocksize : Size in bytes to pull per buffer (0 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4096
render-delay : Additional render delay of the sink in nanoseconds
flags: readable, writable
Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
throttle-time : The time to keep between rendered buffers (0 = disabled)
flags: readable, writable
Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
max-bitrate : The maximum bits per second to render (0 = disabled)
flags: readable, writable
Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
interface : Ethernet AVB Interface
flags: readable, writable
String. Default: null
root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin#

  1. To launch commands using gst-launch:

After following above steps
gst-launch-1.0 filesrc location=test.mp4 blocksize=1024 ! avbsink interface=eth2

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# gst-launch-1.0 filesrc location=/home/pcadmin/RIDIMA.mp4 blocksize=1024 ! avbsink interface=eth2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
attaching to 0000:03:00.0
attach failed! (No such file or directory)
connect failed (No such file or directory) - are you running as root?


we try to execute command in then sudo mode but it is not able to detect the avbsink avbplaybin

LISTENER side (WITH SUDO)
1)Go to folder: cd /Open-AVB-master/examples/gstreamer-avb-plugins/gst-plugin/src

and in Makefile.am file set
libgstplugin_la_SOURCES = gst_avb_playbin.c gst_avb_playbin.h ../../../common/avb.c ../../../common/avb.h ../../../../lib/igb/igb.h gst_app_src.c

  1. sudo LDFLAGS='-L/home/pcadmin/Downloads/AVB/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./configure

3)sudo LDFLAGS='-L/home/pcadmin/Downloads/AVB_fresh/lib/igb' CPPFLAGS='-I/home/pcadmin/Downloads/AVB_fresh/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm -lgstapp-1.0' ./autogen.sh

Now type 'make' to compile this module.

4)sudo make

5)export GST_PLUGIN_PATH=/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ export GST_PLUGIN_PATH=/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

6)sudo gst-inspect-1.0 avbplaybin

pcadmin@EMMYS1776:~/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin$ sudo gst-inspect-1.0 avbplaybin
No such element or plugin 'avbplaybin'

Talker side(with SUDO)

1)Go to folder: cd /home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src
and in Makefile.am file set
libgstplugin_la_SOURCES = gstavbsink.c gstavbsink.h ../../../common/avb.c ../../../common/avb.h ../../../../lib/igb/igb.h

2)sudo LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./configure

3)sudo LDFLAGS='-L/home/pcadmin/avb/avb_codeflow/lib/igb' CPPFLAGS='-I/home/pcadmin/avb/avb_codeflow/lib/igb' LIBS='-ligb -lpci -lrt -lpthread -lm' ./autogen.sh

Now type 'make' to compile this module.

4)sudo make

  1. export GST_PLUGIN_PATH=/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin/src/.libs

6)Check weather gstreamer has installed the plugin or not:
gst-inspect-1.0 avbsink

root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin# sudo gst-inspect-1.0 avbsinkNo such element or plugin 'avbsink'
root@pcadmin-OptiPlex-7010:/home/pcadmin/avb/avb_codeflow/examples/gstreamer-avb-plugins/gst-plugin#

kindly help us what is missing or what need to be fixed in it.

Thanks and Regards
Rohan

from openavnu.

rohan-lt avatar rohan-lt commented on August 15, 2024

Hi all

the above mentioned problem is resolved using sudo -i.
talker is able to transmit the data using avbsink.

but on listener side we are using avbplaybin and it is not recieving any file, AS code is running but it is stuck at set state returned 2.

root@EMMYS1776:/home/pcadmin/Downloads/AVB_fresh/examples/gstreamer-avb-plugins/gst-plugin# gst-launch-1.0 avbplaybin talkerip=192.168.35.48 port=7600 interface=eth2
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
attaching to 0000:03:00.0
set state returned 2

kindly help us what is missing or what need to be fixed in it.

Thnaks & Regards
Rohan Gupta

from openavnu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.