Not able to compile my plugin when using gstvideo-1.0 libs while compiling ?

ssshukla26 ssshukla26 at gmail.com
Mon Feb 1 04:45:55 PST 2016


Hi,

I have done following steps on my *desktop* and all of 'em worked, but the
same steps aren't working on my *hardware*. Please suggest what am I
missing? I am compiling for *GstVideoEncoder* class.

*/STEPS/*
1) git clone git://anongit.freedesktop.org/gstreamer/gst-template.git
hw_encoder_plugin/
2) export LD_LIBRARY_PATH=/usr/local/lib/
3) export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0/
4) *LIBS=-lgstvideo-1.0 ./autogen.sh*
5) make

But in 4th step on my hardware I got the following *error*,

/home/linaro/hw_encoder_plugin/gst-plugin# *LIBS=-lgstvideo-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 adding `AC_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
autoreconf: running: ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --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... no
*configure: error: in `/home/linaro/hw_encoder_plugin/gst-plugin':
configure: error: C compiler cannot create executables
See `config.log' for more details
autoreconf: ./config.status failed with exit status: 77
autogen.sh failed*

----------------------------------------------------------------------------------------------------------------------

In 4th step if I only execute "*./autogen.sh*" on my *hardware*, its
compiling successfully. Please help. 





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Not-able-to-compile-my-plugin-when-using-gstvideo-1-0-libs-while-compiling-tp4675579.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list