<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Ltib libmpeg2 build failed</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277946#M31399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richa, please click Correct Answer/Helpful Answer, if your queston had been answerd.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 05:36:12 GMT</pubDate>
    <dc:creator>YixingKong</dc:creator>
    <dc:date>2013-07-31T05:36:12Z</dc:date>
    <item>
      <title>Ltib libmpeg2 build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277944#M31397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using imx6q sabresd board.I am having problem building ltib with libmpeg2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: libmpeg2&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;Build path taken because: directory build, build key set, no prebuilt rpm, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rpmbuild --dbpath /home/ashish/Desktop/dev_imx6/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ashish/Desktop/dev_imx6/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ashish/Desktop/dev_imx6/ltib/tmp' --define '_rpmdir /home/ashish/Desktop/dev_imx6/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/ashish/Desktop/dev_imx6/ltib/dist/lfs-5.1/libmpeg2/libmpeg2.spec&lt;/P&gt;&lt;P&gt;Building target platforms: arm&lt;/P&gt;&lt;P&gt;Building for target arm&lt;/P&gt;&lt;P&gt;Executing(%build): /bin/sh -e /home/ashish/Desktop/dev_imx6/ltib/tmp/rpm-tmp.60402&lt;/P&gt;&lt;P&gt;+ umask 022&lt;/P&gt;&lt;P&gt;+ cd /home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD&lt;/P&gt;&lt;P&gt;+ cd mpeg2dec-0.4.1&lt;/P&gt;&lt;P&gt;+ ./configure --disable-sdl --enable-shared --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu&lt;/P&gt;&lt;P&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;/P&gt;&lt;P&gt;checking whether build environment is sane... yes&lt;/P&gt;&lt;P&gt;checking for gawk... gawk&lt;/P&gt;&lt;P&gt;checking whether make sets $(MAKE)... yes&lt;/P&gt;&lt;P&gt;checking for arm-linux-strip... arm-linux-strip&lt;/P&gt;&lt;P&gt;checking whether to enable maintainer-specific portions of Makefiles... no&lt;/P&gt;&lt;P&gt;checking build system type... i686-pc-linux-gnu&lt;/P&gt;&lt;P&gt;checking host system type... arm-unknown-linux-gnu&lt;/P&gt;&lt;P&gt;checking for arm-linux-gcc... gcc&lt;/P&gt;&lt;P&gt;checking for C compiler default output file name... a.out&lt;/P&gt;&lt;P&gt;checking whether the C compiler works... yes&lt;/P&gt;&lt;P&gt;checking whether we are cross compiling... yes&lt;/P&gt;&lt;P&gt;checking for suffix of executables... &lt;/P&gt;&lt;P&gt;checking for suffix of object files... o&lt;/P&gt;&lt;P&gt;checking whether we are using the GNU C compiler... yes&lt;/P&gt;&lt;P&gt;checking whether gcc accepts -g... yes&lt;/P&gt;&lt;P&gt;checking for gcc option to accept ANSI C... none needed&lt;/P&gt;&lt;P&gt;checking for style of include used by make... GNU&lt;/P&gt;&lt;P&gt;checking dependency style of gcc... gcc3&lt;/P&gt;&lt;P&gt;checking how to run the C preprocessor... gcc -E&lt;/P&gt;&lt;P&gt;checking for egrep... grep -E&lt;/P&gt;&lt;P&gt;checking whether gcc needs -traditional... no&lt;/P&gt;&lt;P&gt;checking for ANSI C header files... yes&lt;/P&gt;&lt;P&gt;checking for sys/types.h... yes&lt;/P&gt;&lt;P&gt;checking for sys/stat.h... yes&lt;/P&gt;&lt;P&gt;checking for stdlib.h... yes&lt;/P&gt;&lt;P&gt;checking for string.h... yes&lt;/P&gt;&lt;P&gt;checking for memory.h... yes&lt;/P&gt;&lt;P&gt;checking for strings.h... yes&lt;/P&gt;&lt;P&gt;checking for inttypes.h... yes&lt;/P&gt;&lt;P&gt;checking for stdint.h... yes&lt;/P&gt;&lt;P&gt;checking for unistd.h... yes&lt;/P&gt;&lt;P&gt;checking sys/time.h usability... yes&lt;/P&gt;&lt;P&gt;checking sys/time.h presence... yes&lt;/P&gt;&lt;P&gt;checking for sys/time.h... yes&lt;/P&gt;&lt;P&gt;checking time.h usability... yes&lt;/P&gt;&lt;P&gt;checking time.h presence... yes&lt;/P&gt;&lt;P&gt;checking for time.h... yes&lt;/P&gt;&lt;P&gt;checking sys/timeb.h usability... yes&lt;/P&gt;&lt;P&gt;checking sys/timeb.h presence... yes&lt;/P&gt;&lt;P&gt;checking for sys/timeb.h... yes&lt;/P&gt;&lt;P&gt;checking io.h usability... no&lt;/P&gt;&lt;P&gt;checking io.h presence... no&lt;/P&gt;&lt;P&gt;checking for io.h... no&lt;/P&gt;&lt;P&gt;checking if gcc supports&amp;nbsp; -Wall -g -O2 flags... yes&lt;/P&gt;&lt;P&gt;checking if gcc supports&amp;nbsp; -Wall -g&amp;nbsp; -O3 flags... yes&lt;/P&gt;&lt;P&gt;checking if gcc supports&amp;nbsp; -Wall -g&amp;nbsp; -O3 -fomit-frame-pointer&amp;nbsp; flags... yes&lt;/P&gt;&lt;P&gt;checking if gcc supports&amp;nbsp; -Wall -g&amp;nbsp; -O3 -fomit-frame-pointer -fno-common&amp;nbsp; flags... yes&lt;/P&gt;&lt;P&gt;checking for a sed that does not truncate output... /bin/sed&lt;/P&gt;&lt;P&gt;checking for ld used by gcc... ld&lt;/P&gt;&lt;P&gt;checking if the linker (ld) is GNU ld... yes&lt;/P&gt;&lt;P&gt;checking for ld option to reload object files... -r&lt;/P&gt;&lt;P&gt;checking for BSD-compatible nm... /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B&lt;/P&gt;&lt;P&gt;checking whether ln -s works... yes&lt;/P&gt;&lt;P&gt;checking how to recognise dependent libraries... pass_all&lt;/P&gt;&lt;P&gt;checking dlfcn.h usability... yes&lt;/P&gt;&lt;P&gt;checking dlfcn.h presence... yes&lt;/P&gt;&lt;P&gt;checking for dlfcn.h... yes&lt;/P&gt;&lt;P&gt;checking for arm-linux-g++... g++&lt;/P&gt;&lt;P&gt;checking whether we are using the GNU C++ compiler... yes&lt;/P&gt;&lt;P&gt;checking whether g++ accepts -g... yes&lt;/P&gt;&lt;P&gt;checking dependency style of g++... gcc3&lt;/P&gt;&lt;P&gt;checking how to run the C++ preprocessor... g++ -E&lt;/P&gt;&lt;P&gt;checking for arm-linux-g77... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-f77... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-xlf... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-frt... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-pgf77... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-fort77... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-fl32... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-af77... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-f90... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-xlf90... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-pgf90... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-epcf90... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-f95... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-fort... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-xlf95... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-ifc... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-efc... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-pgf95... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-lf95... no&lt;/P&gt;&lt;P&gt;checking for arm-linux-gfortran... no&lt;/P&gt;&lt;P&gt;checking for g77... no&lt;/P&gt;&lt;P&gt;checking for f77... no&lt;/P&gt;&lt;P&gt;checking for xlf... no&lt;/P&gt;&lt;P&gt;checking for frt... no&lt;/P&gt;&lt;P&gt;checking for pgf77... no&lt;/P&gt;&lt;P&gt;checking for fort77... no&lt;/P&gt;&lt;P&gt;checking for fl32... no&lt;/P&gt;&lt;P&gt;checking for af77... no&lt;/P&gt;&lt;P&gt;checking for f90... no&lt;/P&gt;&lt;P&gt;checking for xlf90... no&lt;/P&gt;&lt;P&gt;checking for pgf90... no&lt;/P&gt;&lt;P&gt;checking for epcf90... no&lt;/P&gt;&lt;P&gt;checking for f95... no&lt;/P&gt;&lt;P&gt;checking for fort... no&lt;/P&gt;&lt;P&gt;checking for xlf95... no&lt;/P&gt;&lt;P&gt;checking for ifc... no&lt;/P&gt;&lt;P&gt;checking for efc... no&lt;/P&gt;&lt;P&gt;checking for pgf95... no&lt;/P&gt;&lt;P&gt;checking for lf95... no&lt;/P&gt;&lt;P&gt;checking for gfortran... no&lt;/P&gt;&lt;P&gt;checking whether we are using the GNU Fortran 77 compiler... no&lt;/P&gt;&lt;P&gt;checking whether&amp;nbsp; accepts -g... no&lt;/P&gt;&lt;P&gt;checking the maximum length of command line arguments... 32768&lt;/P&gt;&lt;P&gt;checking command to parse /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B output from gcc object... ok&lt;/P&gt;&lt;P&gt;checking for objdir... .libs&lt;/P&gt;&lt;P&gt;checking for arm-linux-ar... ar&lt;/P&gt;&lt;P&gt;checking for arm-linux-ranlib... arm-linux-ranlib&lt;/P&gt;&lt;P&gt;checking for arm-linux-strip... (cached) arm-linux-strip&lt;/P&gt;&lt;P&gt;checking if gcc supports -fno-rtti -fno-exceptions... no&lt;/P&gt;&lt;P&gt;checking for gcc option to produce PIC... -fPIC&lt;/P&gt;&lt;P&gt;checking if gcc PIC flag -fPIC works... yes&lt;/P&gt;&lt;P&gt;checking if gcc static flag -static works... yes&lt;/P&gt;&lt;P&gt;checking if gcc supports -c -o file.o... yes&lt;/P&gt;&lt;P&gt;checking whether the gcc linker (ld) supports shared libraries... yes&lt;/P&gt;&lt;P&gt;checking whether -lc should be explicitly linked in... no&lt;/P&gt;&lt;P&gt;checking dynamic linker characteristics... GNU/Linux ld.so&lt;/P&gt;&lt;P&gt;checking how to hardcode library paths into programs... immediate&lt;/P&gt;&lt;P&gt;checking whether stripping libraries is possible... yes&lt;/P&gt;&lt;P&gt;checking if libtool supports shared libraries... yes&lt;/P&gt;&lt;P&gt;checking whether to build shared libraries... yes&lt;/P&gt;&lt;P&gt;checking whether to build static libraries... yes&lt;/P&gt;&lt;P&gt;configure: creating libtool&lt;/P&gt;&lt;P&gt;appending configuration tag "CXX" to libtool&lt;/P&gt;&lt;P&gt;checking for ld used by g++... ld&lt;/P&gt;&lt;P&gt;checking if the linker (ld) is GNU ld... yes&lt;/P&gt;&lt;P&gt;checking whether the g++ linker (ld) supports shared libraries... yes&lt;/P&gt;&lt;P&gt;checking for g++ option to produce PIC... -fPIC&lt;/P&gt;&lt;P&gt;checking if g++ PIC flag -fPIC works... yes&lt;/P&gt;&lt;P&gt;checking if g++ static flag -static works... yes&lt;/P&gt;&lt;P&gt;checking if g++ supports -c -o file.o... yes&lt;/P&gt;&lt;P&gt;checking whether the g++ linker (ld) supports shared libraries... yes&lt;/P&gt;&lt;P&gt;checking dynamic linker characteristics... GNU/Linux ld.so&lt;/P&gt;&lt;P&gt;checking how to hardcode library paths into programs... immediate&lt;/P&gt;&lt;P&gt;appending configuration tag "F77" to libtool&lt;/P&gt;&lt;P&gt;checking whether time.h and sys/time.h may both be included... yes&lt;/P&gt;&lt;P&gt;checking for struct timeval... yes&lt;/P&gt;&lt;P&gt;checking for inttypes.h... (cached) yes&lt;/P&gt;&lt;P&gt;checking for an ANSI C-conforming const... yes&lt;/P&gt;&lt;P&gt;checking for inline... inline&lt;/P&gt;&lt;P&gt;checking for always_inline... yes&lt;/P&gt;&lt;P&gt;checking for restrict... __restrict__&lt;/P&gt;&lt;P&gt;checking for __builtin_expect... yes&lt;/P&gt;&lt;P&gt;checking whether byte ordering is bigendian... no&lt;/P&gt;&lt;P&gt;checking for working volatile... yes&lt;/P&gt;&lt;P&gt;checking for size_t... yes&lt;/P&gt;&lt;P&gt;checking return type of signal handlers... void&lt;/P&gt;&lt;P&gt;checking for special C compiler options needed for large files... no&lt;/P&gt;&lt;P&gt;checking for _FILE_OFFSET_BITS value needed for large files... 64&lt;/P&gt;&lt;P&gt;checking for _LARGE_FILES value needed for large files... no&lt;/P&gt;&lt;P&gt;checking for gettimeofday... yes&lt;/P&gt;&lt;P&gt;checking for ftime... yes&lt;/P&gt;&lt;P&gt;checking if libtool supports -prefer-non-pic flag... yes&lt;/P&gt;&lt;P&gt;checking for X... libraries /usr/lib, headers /usr/include&lt;/P&gt;&lt;P&gt;checking for dnet_ntoa in -ldnet... no&lt;/P&gt;&lt;P&gt;checking for dnet_ntoa in -ldnet_stub... no&lt;/P&gt;&lt;P&gt;checking for gethostbyname... yes&lt;/P&gt;&lt;P&gt;checking for connect... yes&lt;/P&gt;&lt;P&gt;checking for remove... yes&lt;/P&gt;&lt;P&gt;checking for shmat... yes&lt;/P&gt;&lt;P&gt;checking for IceConnectionNumber in -lICE... no&lt;/P&gt;&lt;P&gt;checking for XShmCreateImage in -lXext... no&lt;/P&gt;&lt;P&gt;checking ddraw.h usability... no&lt;/P&gt;&lt;P&gt;checking ddraw.h presence... no&lt;/P&gt;&lt;P&gt;checking for ddraw.h... no&lt;/P&gt;&lt;P&gt;checking __attribute__ ((aligned ())) support... 64&lt;/P&gt;&lt;P&gt;configure: creating ./config.status&lt;/P&gt;&lt;P&gt;config.status: creating Makefile&lt;/P&gt;&lt;P&gt;config.status: creating autotools/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating include/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating test/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating doc/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating src/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating libmpeg2/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating libmpeg2/convert/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating libvo/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating vc++/Makefile&lt;/P&gt;&lt;P&gt;config.status: creating libmpeg2/libmpeg2.pc&lt;/P&gt;&lt;P&gt;config.status: creating libmpeg2/convert/libmpeg2convert.pc&lt;/P&gt;&lt;P&gt;config.status: creating include/config.h&lt;/P&gt;&lt;P&gt;config.status: include/config.h is unchanged&lt;/P&gt;&lt;P&gt;config.status: executing depfiles commands&lt;/P&gt;&lt;P&gt;+ make&lt;/P&gt;&lt;P&gt;Making all in autotools&lt;/P&gt;&lt;P&gt;make[1]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/autotools'&lt;/P&gt;&lt;P&gt;make[1]: Nothing to be done for `all'.&lt;/P&gt;&lt;P&gt;make[1]: Leaving directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/autotools'&lt;/P&gt;&lt;P&gt;Making all in include&lt;/P&gt;&lt;P&gt;make[1]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/include'&lt;/P&gt;&lt;P&gt;make&amp;nbsp; all-am&lt;/P&gt;&lt;P&gt;make[2]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/include'&lt;/P&gt;&lt;P&gt;make[2]: Leaving directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/include'&lt;/P&gt;&lt;P&gt;make[1]: Leaving directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/include'&lt;/P&gt;&lt;P&gt;Making all in libmpeg2&lt;/P&gt;&lt;P&gt;make[1]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/libmpeg2'&lt;/P&gt;&lt;P&gt;Making all in convert&lt;/P&gt;&lt;P&gt;make[2]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/libmpeg2/convert'&lt;/P&gt;&lt;P&gt;/bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -g&amp;nbsp; -O3 -fomit-frame-pointer -fno-common -prefer-non-pic&amp;nbsp;&amp;nbsp;&amp;nbsp; -o libmpeg2convert.la -rpath /usr/lib -no-undefined rgb.lo uyvy.lo libmpeg2convertarch.la &lt;/P&gt;&lt;P&gt;gcc -shared&amp;nbsp; .libs/rgb.o .libs/uyvy.o -Wl,--whole-archive ./.libs/libmpeg2convertarch.a -Wl,--no-whole-archive&amp;nbsp;&amp;nbsp; -Wl,-soname -Wl,libmpeg2convert.so.0 -o .libs/libmpeg2convert.so.0.0.0&lt;/P&gt;&lt;P&gt;/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: .libs/rgb.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC&lt;/P&gt;&lt;P&gt;.libs/rgb.o: could not read symbols: Bad value&lt;/P&gt;&lt;P&gt;collect2: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make[2]: *** [libmpeg2convert.la] Error 1&lt;/P&gt;&lt;P&gt;make[2]: Leaving directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/libmpeg2/convert'&lt;/P&gt;&lt;P&gt;make[1]: *** [all-recursive] Error 1&lt;/P&gt;&lt;P&gt;make[1]: Leaving directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/libmpeg2'&lt;/P&gt;&lt;P&gt;make: *** [all-recursive] Error 1&lt;/P&gt;&lt;P&gt;error: Bad exit status from /home/ashish/Desktop/dev_imx6/ltib/tmp/rpm-tmp.60402 (%build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RPM build errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/ashish/Desktop/dev_imx6/ltib/tmp/rpm-tmp.60402 (%build)&lt;/P&gt;&lt;P&gt;Build time for libmpeg2: 9 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed building libmpeg2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_buildrpms() returned an error, exiting&lt;/P&gt;&lt;P&gt;traceback:&lt;/P&gt;&lt;P&gt; main:572&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started: Thu Jun&amp;nbsp; 6 10:42:22 2013&lt;/P&gt;&lt;P&gt;Ended:&amp;nbsp;&amp;nbsp; Thu Jun&amp;nbsp; 6 10:42:32 2013&lt;/P&gt;&lt;P&gt;Elapsed: 10 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These packages failed to build:&lt;/P&gt;&lt;P&gt;libmpeg2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;plz help me.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 05:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277944#M31397</guid>
      <dc:creator>richagoel</dc:creator>
      <dc:date>2013-06-06T05:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ltib libmpeg2 build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277945#M31398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the following log, Do you try to add "-fPIC" in Makefile for compile?&lt;/P&gt;&lt;P&gt;make[2]: Entering directory `/home/ashish/Desktop/dev_imx6/ltib/rpm/BUILD/mpeg2dec-0.4.1/libmpeg2/convert'&lt;/P&gt;&lt;P&gt;/bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -g&amp;nbsp; -O3 -fomit-frame-pointer -fno-common -prefer-non-pic&amp;nbsp;&amp;nbsp;&amp;nbsp; -o libmpeg2convert.la -rpath /usr/lib -no-undefined rgb.lo uyvy.lo libmpeg2convertarch.la &lt;/P&gt;&lt;P&gt;gcc -shared&amp;nbsp; .libs/rgb.o .libs/uyvy.o -Wl,--whole-archive ./.libs/libmpeg2convertarch.a -Wl,--no-whole-archive&amp;nbsp;&amp;nbsp; -Wl,-soname -Wl,libmpeg2convert.so.0 -o .libs/libmpeg2convert.so.0.0.0&lt;/P&gt;&lt;P&gt;/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: .libs/rgb.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277945#M31398</guid>
      <dc:creator>lily_zhang</dc:creator>
      <dc:date>2013-07-29T12:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ltib libmpeg2 build failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277946#M31399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richa, please click Correct Answer/Helpful Answer, if your queston had been answerd.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 05:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ltib-libmpeg2-build-failed/m-p/277946#M31399</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-07-31T05:36:12Z</dc:date>
    </item>
  </channel>
</rss>

