Hello Everybody,
I am trying to compile the latest LTIB L3.0.35_4.1.0_130816_source.tar.gz and everything works fine till I reach the gst-fsl-plugins build. As I can see, the compilation is also not throwing any error. The plugin configuration itself seems failing. Can somebody tell me what am I doing wrong? or What is it that I am missing?
Below is the log I get when I try to compile ltib using './ltib'
Processing: gst-fsl-plugins
=============================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/jci/ltib_test/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/jci/ltib_test/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/jci/ltib_test/ltib/tmp' --define '_rpmdir /home/jci/ltib_test/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/jci/ltib_test/ltib/dist/lfs-5.1/fsl-mm/gst-fsl-plugins.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/jci/ltib_test/ltib/tmp/rpm-tmp.25237
+ umask 022
+ cd /home/jci/ltib_test/ltib/rpm/BUILD
+ cd gst-fsl-plugins-3.0.7
++ which pkg-config
+ export 'PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config --static '
+ PKG_CONFIG='/opt/freescale/ltib/usr/bin/pkg-config --static '
++ sed 's,imx\([0-9]*\).*,MX\1,g'
++ echo imx6q
+ PLATFORMSHORTNAME=MX6
+ '[' xMX6 = xMX27 ']'
+ export FBHEADER_PATH=/home/jci/ltib_test/ltib/rootfs/usr/src/linux/include/
+ FBHEADER_PATH=/home/jci/ltib_test/ltib/rootfs/usr/src/linux/include/
++ sed 's,imx\([0-9]*\).*,MX\1,g'
++ echo imx6q
+ ./autogen.sh PLATFORM=MX6
+ aclocal
+ libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
+ automake -a
libs/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
libs/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libs/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
libs/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libs/Makefile.am:1: its definition is in aclocal's search path.
src/audio/aac_dec/src/Makefile.am:16: Libtool library used but `LIBTOOL' is undefined
src/audio/aac_dec/src/Makefile.am:16: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/aac_dec/src/Makefile.am:16: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/aac_dec/src/Makefile.am:16: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/aac_dec/src/Makefile.am:16: its definition is in aclocal's search path.
src/audio/aacplus_dec/src/Makefile.am:29: Libtool library used but `LIBTOOL' is undefined
src/audio/aacplus_dec/src/Makefile.am:29: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/aacplus_dec/src/Makefile.am:29: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/aacplus_dec/src/Makefile.am:29: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/aacplus_dec/src/Makefile.am:29: its definition is in aclocal's search path.
src/audio/ac3_dec/src/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/audio/ac3_dec/src/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/ac3_dec/src/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/ac3_dec/src/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/ac3_dec/src/Makefile.am:4: its definition is in aclocal's search path.
src/audio/amr_dec/src/Makefile.am:13: Libtool library used but `LIBTOOL' is undefined
src/audio/amr_dec/src/Makefile.am:13: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/amr_dec/src/Makefile.am:13: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/amr_dec/src/Makefile.am:13: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/amr_dec/src/Makefile.am:13: its definition is in aclocal's search path.
src/audio/amr_enc/src/Makefile.am:13: Libtool library used but `LIBTOOL' is undefined
src/audio/amr_enc/src/Makefile.am:13: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/amr_enc/src/Makefile.am:13: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/amr_enc/src/Makefile.am:13: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/amr_enc/src/Makefile.am:13: its definition is in aclocal's search path.
src/audio/audio_pp/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/audio/audio_pp/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/audio_pp/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/audio_pp/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/audio_pp/src/Makefile.am:1: its definition is in aclocal's search path.
src/audio/beep/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/audio/beep/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/beep/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/beep/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/beep/src/Makefile.am:2: its definition is in aclocal's search path.
src/audio/down_mix/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/audio/down_mix/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/down_mix/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/down_mix/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/down_mix/src/Makefile.am:1: its definition is in aclocal's search path.
src/audio/mp3_dec/src/Makefile.am:20: Libtool library used but `LIBTOOL' is undefined
src/audio/mp3_dec/src/Makefile.am:20: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/mp3_dec/src/Makefile.am:20: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/mp3_dec/src/Makefile.am:20: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/mp3_dec/src/Makefile.am:20: its definition is in aclocal's search path.
src/audio/mp3_enc/src/Makefile.am:19: Libtool library used but `LIBTOOL' is undefined
src/audio/mp3_enc/src/Makefile.am:19: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/mp3_enc/src/Makefile.am:19: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/mp3_enc/src/Makefile.am:19: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/mp3_enc/src/Makefile.am:19: its definition is in aclocal's search path.
src/audio/spdif_rx/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/audio/spdif_rx/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/spdif_rx/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/spdif_rx/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/spdif_rx/src/Makefile.am:1: its definition is in aclocal's search path.
src/audio/spdif_tx/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/audio/spdif_tx/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/spdif_tx/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/spdif_tx/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/spdif_tx/src/Makefile.am:1: its definition is in aclocal's search path.
src/audio/vorbis_dec/src/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/audio/vorbis_dec/src/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/vorbis_dec/src/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/vorbis_dec/src/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/vorbis_dec/src/Makefile.am:4: its definition is in aclocal's search path.
src/audio/wma10_dec/src/Makefile.am:19: Libtool library used but `LIBTOOL' is undefined
src/audio/wma10_dec/src/Makefile.am:19: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/wma10_dec/src/Makefile.am:19: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/wma10_dec/src/Makefile.am:19: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/wma10_dec/src/Makefile.am:19: its definition is in aclocal's search path.
src/audio/wma8_enc/src/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
src/audio/wma8_enc/src/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/audio/wma8_enc/src/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again.
src/audio/wma8_enc/src/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/audio/wma8_enc/src/Makefile.am:5: its definition is in aclocal's search path.
src/misc/i_sink/src/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
src/misc/i_sink/src/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/misc/i_sink/src/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
src/misc/i_sink/src/Makefile.am:6: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/misc/i_sink/src/Makefile.am:6: its definition is in aclocal's search path.
src/misc/v4l_sink/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/misc/v4l_sink/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/misc/v4l_sink/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/misc/v4l_sink/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/misc/v4l_sink/src/Makefile.am:1: its definition is in aclocal's search path.
src/misc/v4l_source/src/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/misc/v4l_source/src/Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/misc/v4l_source/src/Makefile.am:7: to `configure.ac' and run `aclocal' and `autoconf' again.
src/misc/v4l_source/src/Makefile.am:7: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/misc/v4l_source/src/Makefile.am:7: its definition is in aclocal's search path.
src/parser/aiur/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/parser/aiur/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/parser/aiur/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/parser/aiur/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/parser/aiur/src/Makefile.am:2: its definition is in aclocal's search path.
src/video/deinterlace/src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/video/deinterlace/src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/deinterlace/src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/deinterlace/src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/deinterlace/src/Makefile.am:1: its definition is in aclocal's search path.
src/video/h264_dec/src/Makefile.am:21: Libtool library used but `LIBTOOL' is undefined
src/video/h264_dec/src/Makefile.am:21: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/h264_dec/src/Makefile.am:21: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/h264_dec/src/Makefile.am:21: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/h264_dec/src/Makefile.am:21: its definition is in aclocal's search path.
src/video/ipu_csc/src/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
src/video/ipu_csc/src/Makefile.am:6: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/ipu_csc/src/Makefile.am:6: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/ipu_csc/src/Makefile.am:6: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/ipu_csc/src/Makefile.am:6: its definition is in aclocal's search path.
src/video/mpeg2_dec/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/video/mpeg2_dec/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/mpeg2_dec/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/mpeg2_dec/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/mpeg2_dec/src/Makefile.am:2: its definition is in aclocal's search path.
src/video/mpeg4asp_dec/src/Makefile.am:21: Libtool library used but `LIBTOOL' is undefined
src/video/mpeg4asp_dec/src/Makefile.am:21: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/mpeg4asp_dec/src/Makefile.am:21: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/mpeg4asp_dec/src/Makefile.am:21: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/mpeg4asp_dec/src/Makefile.am:21: its definition is in aclocal's search path.
src/video/vpu/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/video/vpu/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/vpu/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/vpu/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/vpu/src/Makefile.am:2: its definition is in aclocal's search path.
src/video/vpu_dec.full/src/Makefile.am:21: Libtool library used but `LIBTOOL' is undefined
src/video/vpu_dec.full/src/Makefile.am:21: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/vpu_dec.full/src/Makefile.am:21: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/vpu_dec.full/src/Makefile.am:21: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/vpu_dec.full/src/Makefile.am:21: its definition is in aclocal's search path.
src/video/vpu_enc/src/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/video/vpu_enc/src/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/vpu_enc/src/Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/vpu_enc/src/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/vpu_enc/src/Makefile.am:4: its definition is in aclocal's search path.
src/video/wmv9mp_dec/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/video/wmv9mp_dec/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/wmv9mp_dec/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/wmv9mp_dec/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/wmv9mp_dec/src/Makefile.am:2: its definition is in aclocal's search path.
src/video/wmv_dec/src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/video/wmv_dec/src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/video/wmv_dec/src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/video/wmv_dec/src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/video/wmv_dec/src/Makefile.am:2: its definition is in aclocal's search path.
tools/gplay/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
tools/gplay/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
tools/gplay/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
tools/gplay/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
tools/gplay/Makefile.am:1: its definition is in aclocal's search path.
Makefile.am:972: `%'-style pattern rules are a GNU make extension
+ exit 1
error: Bad exit status from /home/jci/ltib_test/ltib/tmp/rpm-tmp.25237 (%build)
RPM build errors:
Bad exit status from /home/jci/ltib_test/ltib/tmp/rpm-tmp.25237 (%build)
Build time for gst-fsl-plugins: 12 seconds
Failed building gst-fsl-plugins
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Mon Nov 25 10:50:06 2013
Ended: Mon Nov 25 10:50:55 2013
Elapsed: 49 seconds
These packages failed to build:
gst-fsl-plugins
Build Failed
Exiting on error or interrupt
已解决! 转到解答。
Hi,
Solved the issue. libtool was missing from my system. Had to install it and got everything working again
$ sudo apt-get install libtool
did the trick.
Thanks & Regards,
- Ketan
Hi Ketan,
I see you have solved your problem, would you please click Corect Answer/Helpful Answer. We would assume your issue/question got answered if no response from you in 3 days and close the DI. Thanks a lot.
Any other questions will be welcome~~
Best Regards
Dan