<?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: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268727#M28461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I have solved the issue, but I don't entirely understand it.To make a long story short (then I'll tell the long one) the solution was to go back to an earlier libusb.spec file and rebuild libusb. Below is a diff for the spec file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt; diff dist/lfs-5.1/libusb/libusb.spec.orig dist/lfs-5.1/libusb/libusb.spec&lt;/P&gt;
&lt;P&gt;20d19&lt;/P&gt;
&lt;P&gt;&amp;lt; #libtoolize --copy --force&lt;/P&gt;
&lt;P&gt;23a23,25&lt;/P&gt;
&lt;P&gt;&amp;gt; make distclean || true&lt;/P&gt;
&lt;P&gt;&amp;gt; libtoolize --copy --force&lt;/P&gt;
&lt;P&gt;&amp;gt; #autoreconf&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the long story... I had also been building a BSP for the G5/gcore6 iMX6Q board using a slightly older version of the 3.0.35 LTIB (I think it was L3.0.35_1.1.0_121218). So, I tried adding openobex there and it worked. After some experimenting, I found that the Sabre openobex build would work if I used the libusb libraries from the G5 RFS. So I rebuilt the libusb on both platforms and found that output messages were different. The libusb source/patches were identical, but I found the above change in the spec file. I copied it over and viola -- everything built.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From looking at the build messages, it appears that there was moving/copying of *.o and *.lo files (the bookkeeping I was trying to follow). My guess is that in the erroneous version, some non-PIC objects got included in the library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now my question is why was the change introduced to the presumably newer spec file. What problem did it solve that I will encounter later?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 12:40:06 GMT</pubDate>
    <dc:creator>lancejump</dc:creator>
    <dc:date>2013-10-09T12:40:06Z</dc:date>
    <item>
      <title>openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268720#M28454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When building openobex for iMX6 in LTIB 9.1.1, it fails to link due to "relocation R_ARM_MOVW_ABS_NC" error. I modified the openobex build to include "-fPIC" as suggested in this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/308213"&gt;Ltib libmpeg2 build failed&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I still get the error (see below). It was suggested that the library should be built with -fPIC:&lt;/P&gt;&lt;P&gt;&lt;A href="http://communities.mentor.com/community/cs/archives/arm-gnu/msg02855.html" title="http://communities.mentor.com/community/cs/archives/arm-gnu/msg02855.html"&gt;[arm-gnu] Re:Re: [arm-gnu] R_ARM_MOVW_ABS_NC relocation error&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, it is libusb, but it appears that it is already being done that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Processing: openobex&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/ljump/TST/iMX6/boundary/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ljump/TST/iMX6/boundary/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ljump/TST/iMX6/boundary/ltib/tmp' --define '_rpmdir /home/ljump/TST/iMX6/boundary/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/ljump/TST/iMX6/boundary/ltib/dist/lfs-5.1/openobex/openobex.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/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.63566&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd openobex-1.2&lt;/P&gt;
&lt;P&gt;+ '[' -z '' ']'&lt;/P&gt;
&lt;P&gt;+ KERNELDIR=/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/../linux&lt;/P&gt;
&lt;P&gt;+ KBUILD_OUTPUT=/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/../linux&lt;/P&gt;
&lt;P&gt;+ ./configure --host=arm-linux --prefix=/usr --enable-apps -C --libdir=/home/ljump/TST/iMX6/boundary/ltib/rootfs//usr&lt;/P&gt;
&lt;P&gt;configure: WARNING: If you wanted to set the --build type, don't use --host.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If a cross compiler is detected then cross compile mode will be used.&lt;/P&gt;
&lt;P&gt;configure: loading cache config.cache&lt;/P&gt;
&lt;P&gt;checking for a BSD-compatible install... (cached) /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... (cached) gawk&lt;/P&gt;
&lt;P&gt;checking whether make sets $(MAKE)... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for arm-linux-strip... (cached) 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 for arm-linux-gcc... (cached) 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... (cached) o&lt;/P&gt;
&lt;P&gt;checking whether we are using the GNU C compiler... (cached) yes&lt;/P&gt;
&lt;P&gt;checking whether gcc accepts -g... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for gcc option to accept ANSI C... (cached) 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... (cached) gcc3&lt;/P&gt;
&lt;P&gt;checking whether gcc accepts -fPIE... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;/P&gt;
&lt;P&gt;checking build system type... (cached) i686-pc-linux-gnu&lt;/P&gt;
&lt;P&gt;checking host system type... (cached) arm-unknown-linux-gnu&lt;/P&gt;
&lt;P&gt;checking for a sed that does not truncate output... (cached) /bin/sed&lt;/P&gt;
&lt;P&gt;checking for egrep... (cached) grep -E&lt;/P&gt;
&lt;P&gt;checking for ld used by gcc... (cached) ld&lt;/P&gt;
&lt;P&gt;checking if the linker (ld) is GNU ld... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for ld option to reload object files... (cached) -r&lt;/P&gt;
&lt;P&gt;checking for BSD-compatible nm... (cached) /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... (cached) pass_all&lt;/P&gt;
&lt;P&gt;checking how to run the C preprocessor... (cached) gcc -E&lt;/P&gt;
&lt;P&gt;checking for ANSI C header files... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for sys/types.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for sys/stat.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for stdlib.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for string.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for memory.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for strings.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for inttypes.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for stdint.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for unistd.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for dlfcn.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking the maximum length of command line arguments... (cached) 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... (cached) ok&lt;/P&gt;
&lt;P&gt;checking for objdir... (cached) .libs&lt;/P&gt;
&lt;P&gt;checking for arm-linux-ar... (cached) ar&lt;/P&gt;
&lt;P&gt;checking for arm-linux-ranlib... (cached) 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... (cached) 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... (cached) 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;checking for IrDA support... yes&lt;/P&gt;
&lt;P&gt;checking for bluetooth/bluetooth.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for hci_open_dev in -lbluetooth... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for sdp_connect in -lbluetooth... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for usb.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for usb_open in -lusb... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for usb_get_busses in -lusb... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for usb_interrupt_read in -lusb... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for /usr/lib/pkgconfig/libusb.pc... (cached) no&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 include/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating lib/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating apps/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating ircp/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating doc/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating openobex.pc&lt;/P&gt;
&lt;P&gt;config.status: creating config.h&lt;/P&gt;
&lt;P&gt;config.status: config.h is unchanged&lt;/P&gt;
&lt;P&gt;config.status: executing depfiles commands&lt;/P&gt;
&lt;P&gt;+ '[' arm-none-linux-gnueabi- = arm-none-linux-gnueabi- ']'&lt;/P&gt;
&lt;P&gt;+ sed -i 's,SUBDIRS = include lib apps ircp doc,SUBDIRS = include lib apps doc,' Makefile&lt;/P&gt;
&lt;P&gt;+ sed -i 's,CFLAGS = -Wall -O2 -D_FORTIFY_SOURCE=2,CFLAGS = -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2,' Makefile&lt;/P&gt;
&lt;P&gt;+ sed -i 's,CFLAGS = -Wall -O2 -D_FORTIFY_SOURCE=2,CFLAGS = -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2,' lib/Makefile&lt;/P&gt;
&lt;P&gt;+ make&lt;/P&gt;
&lt;P&gt;make&amp;nbsp; all-recursive&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2'&lt;/P&gt;
&lt;P&gt;Making all in include&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/include'&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/include'&lt;/P&gt;
&lt;P&gt;Making all in lib&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/lib'&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF ".deps/obex.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex.lo `test -f 'obex.c' || echo './'`obex.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex.Tpo" ".deps/obex.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_main.lo -MD -MP -MF ".deps/obex_main.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_main.lo `test -f 'obex_main.c' || echo './'`obex_main.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_main.Tpo" ".deps/obex_main.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_main.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_connect.lo -MD -MP -MF ".deps/obex_connect.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_connect.lo `test -f 'obex_connect.c' || echo './'`obex_connect.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_connect.Tpo" ".deps/obex_connect.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_connect.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_header.lo -MD -MP -MF ".deps/obex_header.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_header.lo `test -f 'obex_header.c' || echo './'`obex_header.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_header.Tpo" ".deps/obex_header.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_header.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_object.lo -MD -MP -MF ".deps/obex_object.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_object.lo `test -f 'obex_object.c' || echo './'`obex_object.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_object.Tpo" ".deps/obex_object.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_object.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_transport.lo -MD -MP -MF ".deps/obex_transport.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_transport.lo `test -f 'obex_transport.c' || echo './'`obex_transport.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_transport.Tpo" ".deps/obex_transport.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_transport.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_server.lo -MD -MP -MF ".deps/obex_server.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_server.lo `test -f 'obex_server.c' || echo './'`obex_server.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_server.Tpo" ".deps/obex_server.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_server.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_client.lo -MD -MP -MF ".deps/obex_client.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o obex_client.lo `test -f 'obex_client.c' || echo './'`obex_client.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/obex_client.Tpo" ".deps/obex_client.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/obex_client.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF .deps/obex.Tpo -c obex.c&amp;nbsp; -fPIC -DPIC -o .libs/obex.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_main.lo -MD -MP -MF .deps/obex_main.Tpo -c obex_main.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_main.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_server.lo -MD -MP -MF .deps/obex_server.Tpo -c obex_server.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_server.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_connect.lo -MD -MP -MF .deps/obex_connect.Tpo -c obex_connect.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_connect.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_object.lo -MD -MP -MF .deps/obex_object.Tpo -c obex_object.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_object.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_header.lo -MD -MP -MF .deps/obex_header.Tpo -c obex_header.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_header.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_main.lo -MD -MP -MF .deps/obex_main.Tpo -c obex_main.c -o obex_main.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex.lo -MD -MP -MF .deps/obex.Tpo -c obex.c -o obex.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_client.lo -MD -MP -MF .deps/obex_client.Tpo -c obex_client.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_client.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_transport.lo -MD -MP -MF .deps/obex_transport.Tpo -c obex_transport.c&amp;nbsp; -fPIC -DPIC -o .libs/obex_transport.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_server.lo -MD -MP -MF .deps/obex_server.Tpo -c obex_server.c -o obex_server.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;obex_connect.c: In function 'obex_parse_connect_header':&lt;/P&gt;
&lt;P&gt;obex_connect.c:82:11: warning: variable 'length' set but not used [-Wunused-but-set-variable]&lt;/P&gt;
&lt;P&gt;obex_connect.c:79:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable]&lt;/P&gt;
&lt;P&gt;obex_connect.c:78:10: warning: variable 'version' set but not used [-Wunused-but-set-variable]&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_connect.lo -MD -MP -MF .deps/obex_connect.Tpo -c obex_connect.c -o obex_connect.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_header.lo -MD -MP -MF .deps/obex_header.Tpo -c obex_header.c -o obex_header.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_object.lo -MD -MP -MF .deps/obex_object.Tpo -c obex_object.c -o obex_object.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT irobex.lo -MD -MP -MF ".deps/irobex.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o irobex.lo `test -f 'irobex.c' || echo './'`irobex.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/irobex.Tpo" ".deps/irobex.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/irobex.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT inobex.lo -MD -MP -MF ".deps/inobex.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o inobex.lo `test -f 'inobex.c' || echo './'`inobex.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/inobex.Tpo" ".deps/inobex.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/inobex.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_transport.lo -MD -MP -MF .deps/obex_transport.Tpo -c obex_transport.c -o obex_transport.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT obex_client.lo -MD -MP -MF .deps/obex_client.Tpo -c obex_client.c -o obex_client.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT btobex.lo -MD -MP -MF ".deps/btobex.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o btobex.lo `test -f 'btobex.c' || echo './'`btobex.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/btobex.Tpo" ".deps/btobex.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/btobex.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include&amp;nbsp;&amp;nbsp;&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT usbobex.lo -MD -MP -MF ".deps/usbobex.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o usbobex.lo `test -f 'usbobex.c' || echo './'`usbobex.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/usbobex.Tpo" ".deps/usbobex.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/usbobex.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT inobex.lo -MD -MP -MF .deps/inobex.Tpo -c inobex.c&amp;nbsp; -fPIC -DPIC -o .libs/inobex.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT irobex.lo -MD -MP -MF .deps/irobex.Tpo -c irobex.c&amp;nbsp; -fPIC -DPIC -o .libs/irobex.o&lt;/P&gt;
&lt;P&gt;inobex.c: In function 'inobex_connect_request':&lt;/P&gt;
&lt;P&gt;inobex.c:145:17: warning: variable 'addr' set but not used [-Wunused-but-set-variable]&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT inobex.lo -MD -MP -MF .deps/inobex.Tpo -c inobex.c -o inobex.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT btobex.lo -MD -MP -MF .deps/btobex.Tpo -c btobex.c&amp;nbsp; -fPIC -DPIC -o .libs/btobex.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT irobex.lo -MD -MP -MF .deps/irobex.Tpo -c irobex.c -o irobex.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT usbobex.lo -MD -MP -MF .deps/usbobex.Tpo -c usbobex.c&amp;nbsp; -fPIC -DPIC -o .libs/usbobex.o&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT btobex.lo -MD -MP -MF .deps/btobex.Tpo -c btobex.c -o btobex.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt; gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2 -MT usbobex.lo -MD -MP -MF .deps/usbobex.Tpo -c usbobex.c -o usbobex.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;/bin/sh ../libtool --mode=link gcc&amp;nbsp; -Wall -O2 -fPIC -D_FORTIFY_SOURCE=2&amp;nbsp;&amp;nbsp; -o libopenobex.la -rpath /home/ljump/TST/iMX6/boundary/ltib/rootfs//usr -version-info 3:0:2 -export-symbols ../lib/obex.sym obex.lo obex_main.lo obex_connect.lo obex_header.lo obex_object.lo obex_transport.lo obex_server.lo obex_client.lo irobex.lo inobex.lo btobex.lo netbuf.lo usbobex.lo -lusb&lt;/P&gt;
&lt;P&gt;rm -fr&amp;nbsp; .libs/libopenobex.ver&lt;/P&gt;
&lt;P&gt;echo "{ global:" &amp;gt; .libs/libopenobex.ver&lt;/P&gt;
&lt;P&gt; cat ../lib/obex.sym | sed -e "s/\(.*\)/\1;/" &amp;gt;&amp;gt; .libs/libopenobex.ver&lt;/P&gt;
&lt;P&gt; echo "local: *; };" &amp;gt;&amp;gt; .libs/libopenobex.ver&lt;/P&gt;
&lt;P&gt; gcc -shared&amp;nbsp; .libs/obex.o .libs/obex_main.o .libs/obex_connect.o .libs/obex_header.o .libs/obex_object.o .libs/obex_transport.o .libs/obex_server.o .libs/obex_client.o .libs/irobex.o .libs/inobex.o .libs/btobex.o .libs/netbuf.o .libs/usbobex.o&amp;nbsp; -lusb&amp;nbsp; -Wl,-soname -Wl,libopenobex.so.1 -Wl,-version-script -Wl,.libs/libopenobex.ver -o .libs/libopenobex.so.1.2.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: /home/ljump/TST/iMX6/boundary/ltib/rootfs/usr/lib//libusb.a(usb.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;/home/ljump/TST/iMX6/boundary/ltib/rootfs/usr/lib//libusb.a: 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]: *** [libopenobex.la] Error 1&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2/lib'&lt;/P&gt;
&lt;P&gt;make[1]: *** [all-recursive] Error 1&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/openobex-1.2'&lt;/P&gt;
&lt;P&gt;make: *** [all] Error 2&lt;/P&gt;
&lt;P&gt;error: Bad exit status from /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.63566 (%build)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;Has anyone gotten this to build?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 11:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268720#M28454</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-08T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268721#M28455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; LTIB 9.1.1? That is not a correct version. I just tried latest release (/L3.0.35_4.1.0_130816), I did 'prep and scbuild' and I did not observe the error. Can you try on latest release? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268721#M28455</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-08T14:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268722#M28456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leonardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, that was the version returned from "./ltib --version":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ltib 9.1.1 ($Revision: 1.445.6.1 $)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not exactly sure how one properly queries the version number, but what I used is from this tar file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L3.0.35_4.0.0_130424_source.tar.gz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is somewhat disruptive to change, but I can do so if you think the problem was fixed between 4.0.0 and 4.1.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268722#M28456</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-08T15:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268723#M28457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I see, sorry, my mistake.I got the same version as yours. One thing is LTIB, the building framework, and other thing are the bunch of specs needed as input which some of them change from version A to version B. I do not think moving to 4.1.0 will correct the issue but you may give it a try. I just tried 4.0.0 and it also built fine. So it may be the host system. Are you using Ubuntu? which version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:18:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268723#M28457</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-08T15:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268724#M28458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo, I am building on Xubuntu 12.04/32 bit. I applied a number of patches and everything was building fine until I enabled openobex. From the looks of the report and other similar threads, the problem is likely with the target build and libraries rather than the host system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said that it built for you in 4.0.0, so I do suspect something in my setup, although others have had similar issues. Also, that makes me wonder if I need to test 4.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the build "semi-scripted" so I will try it again from the start while I wait for 4.1.0 to download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268724#M28458</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-08T15:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268725#M28459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I rebuilt the 4.0.0 from scratch and got the same error. I actually built it without openobex, which succeeds and then configure in the openobex package and it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when I say "from scratch," I mean I delete everything including /opt/freescale and start again with configuration files I maintain for the kernel and LTIB -- that is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./ltib -b --preconfig config/platform/imx/defconfig --leavesrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I ran the same thing with 4.1.0 and got exactly the same results. I also looked at the packages and spec files that changed and none of the changes included libusb or openobex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also looked at the transcript of the build process and found a few suspicious items. One was this line during openobex build:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;checking for usb_interrupt_read in -lusb... yes&lt;/P&gt;
&lt;P&gt;checking for /usr/lib/pkgconfig/libusb.pc... configure: error: cannot check for file existence when cross compiling&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;no&lt;/P&gt;
&lt;P&gt;updating cache config.cache&lt;/P&gt;
&lt;P&gt;configure: creating ./config.status&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;It appears to be checking the build host rather than the target RFS. You can somewhat see this in context (but without the error) in the original post. (I think I am somewhat misinterpreting this message because I see other instances that look this way, but the files are properly located in the target rootfs.) However, for libusb, the file is not in the target RFS. Shouldn't it be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when building libusb, it appears to use a mixture of -fPIC and unspecified PIC compiles.I can't quite follow the bookkeeping on this, but it appears that the last compilation of usb.c (the specific one openobex complains about) is without -fPIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Processing: libusb&lt;/P&gt;
&lt;P&gt;====================&lt;/P&gt;
&lt;P&gt;Build path taken because: no prebuilt rpm,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;rpmbuild --dbpath /home/ljump/TST/iMX6/boundary/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ljump/TST/iMX6/boundary/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ljump/TST/iMX6/boundary/ltib/tmp' --define '_rpmdir /home/ljump/TST/iMX6/boundary/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb&amp;nbsp; /home/ljump/TST/iMX6/boundary/ltib/dist/lfs-5.1/libusb/libusb.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(%prep): /bin/sh -e /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.10791&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ rm -rf libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ /bin/gzip -dc /home/ljump/TST/iMX6/boundary/ltib/rpm/SOURCES/libusb-0.1.8.tar.gz&lt;/P&gt;
&lt;P&gt;+ tar -xvvf -&lt;/P&gt;
&lt;P&gt;drwxrwxrwx 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2004-02-11 08:27 libusb-0.1.8/&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1911 2004-02-11 08:27 libusb-0.1.8/README&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27314 2004-02-11 08:27 libusb-0.1.8/Makefile.in&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 710215 2004-02-11 08:27 libusb-0.1.8/configure&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80 2004-01-27 14:36 libusb-0.1.8/AUTHORS&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26428 2004-01-27 14:36 libusb-0.1.8/COPYING&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 189 2004-01-27 14:36 libusb-0.1.8/ChangeLog&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2063 2004-01-27 14:36 libusb-0.1.8/INSTALL.libusb.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1338 2004-01-27 14:36 libusb-0.1.8/Makefile.am&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 2004-01-27 14:36 libusb-0.1.8/NEWS&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1922 2004-01-27 14:36 libusb-0.1.8/README.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 244630 2004-02-11 08:27 libusb-0.1.8/aclocal.m4&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 38504 2004-01-27 14:36 libusb-0.1.8/config.guess&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2282 2004-02-11 08:27 libusb-0.1.8/config.h.in&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28224 2004-01-27 14:36 libusb-0.1.8/config.sub&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6531 2004-02-11 08:27 libusb-0.1.8/configure.in&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12117 2004-01-27 14:36 libusb-0.1.8/depcomp&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5598 2004-01-27 14:36 libusb-0.1.8/install-sh&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1267 2004-01-27 14:36 libusb-0.1.8/libusb-config.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1244 2004-01-27 14:36 libusb-0.1.8/libusb.spec.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 141554 2004-01-27 14:36 libusb-0.1.8/ltmain.sh&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6472 2004-01-27 14:36 libusb-0.1.8/missing&lt;/P&gt;
&lt;P&gt;-rwxr-xr-x 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 722 2004-01-27 14:36 libusb-0.1.8/mkinstalldirs&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7995 2004-01-27 14:36 libusb-0.1.8/usb.h.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6220 2004-01-27 14:36 libusb-0.1.8/usb.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1268 2004-01-27 14:36 libusb-0.1.8/usbi.h&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 759 2004-01-27 14:36 libusb-0.1.8/error.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 716 2004-01-27 14:36 libusb-0.1.8/error.h&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13760 2004-01-27 14:36 libusb-0.1.8/descriptors.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16797 2004-01-27 14:36 libusb-0.1.8/bsd.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15854 2004-02-11 08:25 libusb-0.1.8/linux.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2764 2004-01-27 14:36 libusb-0.1.8/linux.h&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 34451 2004-01-27 14:36 libusb-0.1.8/darwin.c&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2248 2004-01-27 14:36 libusb-0.1.8/LICENSE&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1240 2004-02-11 08:27 libusb-0.1.8/libusb.spec&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2041 2004-02-11 08:27 libusb-0.1.8/INSTALL.libusb&lt;/P&gt;
&lt;P&gt;drwxrwxrwx 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2004-02-11 08:27 libusb-0.1.8/tests/&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13395 2004-02-11 08:27 libusb-0.1.8/tests/Makefile.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 114 2004-01-27 14:36 libusb-0.1.8/tests/Makefile.am&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3655 2004-01-27 14:36 libusb-0.1.8/tests/testlibusb.c&lt;/P&gt;
&lt;P&gt;drwxrwxrwx 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2004-02-11 08:27 libusb-0.1.8/doc/&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9024 2004-02-11 08:27 libusb-0.1.8/doc/Makefile.in&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 812 2004-01-27 14:36 libusb-0.1.8/doc/Makefile.am&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2155 2004-01-27 14:36 libusb-0.1.8/doc/manual.sgml&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1901 2004-01-27 14:36 libusb-0.1.8/doc/api.sgml&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2790 2004-01-27 14:36 libusb-0.1.8/doc/examples.sgml&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25786 2004-01-27 14:36 libusb-0.1.8/doc/functions.sgml&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1591 2004-01-27 14:36 libusb-0.1.8/doc/intro.sgml&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 500/500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3706 2004-01-27 14:36 libusb-0.1.8/doc/website.dsl&lt;/P&gt;
&lt;P&gt;+ STATUS=0&lt;/P&gt;
&lt;P&gt;+ '[' 0 -ne 0 ']'&lt;/P&gt;
&lt;P&gt;+ cd libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ exit 0&lt;/P&gt;
&lt;P&gt;Executing(%build): /bin/sh -e /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.10791&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ ENDIAN=little&lt;/P&gt;
&lt;P&gt;+ case $ENDIAN in&lt;/P&gt;
&lt;P&gt;+ conf_opts=ac_cv_c_bigendian=no&lt;/P&gt;
&lt;P&gt;+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu --disable-build-docs ac_cv_c_bigendian=no&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;/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/missing: Unknown `--run' option&lt;/P&gt;
&lt;P&gt;Try `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/missing --help' for more information&lt;/P&gt;
&lt;P&gt;configure: WARNING: `missing' script is too old or missing&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 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 style of include used by make... 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... 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 dependency style of gcc... gcc3&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 egrep... grep -E&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... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )&lt;/P&gt;
&lt;P&gt;checking how to run the C preprocessor... gcc -E&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 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-fl32... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-af77... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-fort77... 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-lf95... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-g95... 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 fl32... no&lt;/P&gt;
&lt;P&gt;checking for af77... no&lt;/P&gt;
&lt;P&gt;checking for fort77... 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 lf95... no&lt;/P&gt;
&lt;P&gt;checking for g95... 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 for arm-linux-file... no&lt;/P&gt;
&lt;P&gt;checking for file... /usr/bin/file&lt;/P&gt;
&lt;P&gt;checking if gcc static flag&amp;nbsp; works... yes&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 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 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 dynamic linker characteristics... GNU/Linux ld.so&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++ 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 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 dynamic linker characteristics... GNU/Linux ld.so&lt;/P&gt;
&lt;P&gt;appending configuration tag "F77" to libtool&lt;/P&gt;
&lt;P&gt;checking whether to enable maintainer-specific portions of Makefiles... no&lt;/P&gt;
&lt;P&gt;checking for what USB OS support... Linux&lt;/P&gt;
&lt;P&gt;checking for arm-linux-gcc... (cached) gcc&lt;/P&gt;
&lt;P&gt;checking whether we are using the GNU C compiler... (cached) yes&lt;/P&gt;
&lt;P&gt;checking whether gcc accepts -g... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for gcc option to accept ANSI C... (cached) none needed&lt;/P&gt;
&lt;P&gt;checking dependency style of gcc... (cached) gcc3&lt;/P&gt;
&lt;P&gt;checking for gcc option to accept ANSI C... none needed&lt;/P&gt;
&lt;P&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;/P&gt;
&lt;P&gt;checking for ANSI C header files... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for vprintf... yes&lt;/P&gt;
&lt;P&gt;checking for _doprnt... no&lt;/P&gt;
&lt;P&gt;checking for an ANSI C-conforming const... yes&lt;/P&gt;
&lt;P&gt;checking whether byte ordering is bigendian... (cached) no&lt;/P&gt;
&lt;P&gt;checking limits.h usability... yes&lt;/P&gt;
&lt;P&gt;checking limits.h presence... yes&lt;/P&gt;
&lt;P&gt;checking for limits.h... yes&lt;/P&gt;
&lt;P&gt;checking for unistd.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking values.h usability... yes&lt;/P&gt;
&lt;P&gt;checking values.h presence... yes&lt;/P&gt;
&lt;P&gt;checking for values.h... yes&lt;/P&gt;
&lt;P&gt;checking for memmove... yes&lt;/P&gt;
&lt;P&gt;checking if we should build the documentation... no&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 doc/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating libusb.spec&lt;/P&gt;
&lt;P&gt;config.status: creating libusb-config&lt;/P&gt;
&lt;P&gt;config.status: creating tests/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating README&lt;/P&gt;
&lt;P&gt;config.status: creating INSTALL.libusb&lt;/P&gt;
&lt;P&gt;config.status: creating usb.h&lt;/P&gt;
&lt;P&gt;config.status: creating config.h&lt;/P&gt;
&lt;P&gt;config.status: executing depfiles commands&lt;/P&gt;
&lt;P&gt;config.status: executing default commands&lt;/P&gt;
&lt;P&gt;+ make&lt;/P&gt;
&lt;P&gt;make&amp;nbsp; all-recursive&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;Making all in .&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o usb.lo `test -f 'usb.c' || echo './'`usb.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/usb.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT error.lo -MD -MP -MF ".deps/error.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o error.lo `test -f 'error.c' || echo './'`error.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/error.Tpo" ".deps/error.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/error.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o descriptors.lo `test -f 'descriptors.c' || echo './'`descriptors.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/descriptors.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o linux.lo `test -f 'linux.c' || echo './'`linux.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/linux.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;mkdir .libs&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c&amp;nbsp; -fPIC -DPIC -DPIC -o error.o&lt;/P&gt;
&lt;P&gt;rm -f .libs/linux.lo&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c&amp;nbsp; -fPIC -DPIC -DPIC -o linux.o&lt;/P&gt;
&lt;P&gt;mv -f error.o .libs/error.lo&lt;/P&gt;
&lt;P&gt;rm -f .libs/descriptors.lo&lt;/P&gt;
&lt;P&gt;rm -f .libs/usb.lo&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c&amp;nbsp; -fPIC -DPIC -DPIC -o usb.o&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c&amp;nbsp; -fPIC -DPIC -DPIC -o descriptors.o&lt;/P&gt;
&lt;P&gt;mv -f linux.o .libs/linux.lo&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;mv -f .libs/error.lo error.lo&lt;/P&gt;
&lt;P&gt;mv -f usb.o .libs/usb.lo&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_get_descriptor_by_endpoint':&lt;/P&gt;
&lt;P&gt;descriptors.c:15:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_get_descriptor':&lt;/P&gt;
&lt;P&gt;descriptors.c:24:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_parse_endpoint':&lt;/P&gt;
&lt;P&gt;descriptors.c:58:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_parse_interface':&lt;/P&gt;
&lt;P&gt;descriptors.c:144:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c:221:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_parse_configuration':&lt;/P&gt;
&lt;P&gt;descriptors.c:258:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c:277:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]&lt;/P&gt;
&lt;P&gt;descriptors.c: In function 'usb_fetch_and_parse_descriptors':&lt;/P&gt;
&lt;P&gt;descriptors.c:418:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]&lt;/P&gt;
&lt;P&gt;mv -f descriptors.o .libs/descriptors.lo&lt;/P&gt;
&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I. -I. -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/P&gt;
&lt;P&gt;mv -f .libs/usb.lo usb.lo&lt;/P&gt;
&lt;P&gt;mv -f .libs/descriptors.lo descriptors.lo&lt;/P&gt;
&lt;P&gt;mv -f .libs/linux.lo linux.lo&lt;/P&gt;
&lt;P&gt;/bin/sh ./libtool --mode=link gcc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -o libusb.la -rpath /usr/lib -version-info 8:0:4 -release 0.1 -export-dynamic&amp;nbsp; usb.lo error.lo descriptors.lo linux.lo&lt;/P&gt;
&lt;P&gt;rm -fr .libs/libusb.la .libs/libusb.* .libs/libusb-0.1.*&lt;/P&gt;
&lt;P&gt;gcc -shared&amp;nbsp; usb.lo error.lo descriptors.lo linux.lo&amp;nbsp;&amp;nbsp; -Wl,-soname -Wl,libusb-0.1.4 -o .libs/libusb-0.1.4.4.0&lt;/P&gt;
&lt;P&gt;(cd .libs &amp;amp;&amp;amp; rm -f libusb-0.1.4 &amp;amp;&amp;amp; ln -s libusb-0.1.4.4.0 libusb-0.1.4)&lt;/P&gt;
&lt;P&gt;(cd .libs &amp;amp;&amp;amp; rm -f libusb &amp;amp;&amp;amp; ln -s libusb-0.1.4.4.0 libusb)&lt;/P&gt;
&lt;P&gt;ar cru .libs/libusb.a&amp;nbsp; usb.o error.o descriptors.o linux.o&lt;/P&gt;
&lt;P&gt;arm-linux-ranlib .libs/libusb.a&lt;/P&gt;
&lt;P&gt;creating libusb.la&lt;/P&gt;
&lt;P&gt;(cd .libs &amp;amp;&amp;amp; rm -f libusb.la &amp;amp;&amp;amp; ln -s ../libusb.la libusb.la)&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;Making all in tests&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..&amp;nbsp;&amp;nbsp;&amp;nbsp; -g -O2 -g -Wall -MT testlibusb.o -MD -MP -MF ".deps/testlibusb.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o testlibusb.o `test -f 'testlibusb.c' || echo './'`testlibusb.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/testlibusb.Tpo" ".deps/testlibusb.Po"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/testlibusb.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;/bin/sh ../libtool --mode=link gcc&amp;nbsp; -g -O2 -g -Wall&amp;nbsp;&amp;nbsp; -o testlibusb&amp;nbsp; testlibusb.o ../libusb.la&lt;/P&gt;
&lt;P&gt;mkdir .libs&lt;/P&gt;
&lt;P&gt;gcc -g -O2 -g -Wall -o .libs/testlibusb testlibusb.o&amp;nbsp; ../.libs/libusb&lt;/P&gt;
&lt;P&gt;creating testlibusb&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;Making all in doc&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;make[2]: Nothing to be done for `all'.&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;+ exit 0&lt;/P&gt;
&lt;P&gt;Executing(%install): /bin/sh -e /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.36681&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ rm -rf /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb&lt;/P&gt;
&lt;P&gt;+ make install DESTDIR=/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm&lt;/P&gt;
&lt;P&gt;Making install in .&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;/bin/sh ./mkinstalldirs /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/bin&lt;/P&gt;
&lt;P&gt;/bin/sh ./mkinstalldirs /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib&lt;/P&gt;
&lt;P&gt;/bin/sh ./mkinstalldirs /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/include&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale&lt;/P&gt;
&lt;P&gt;mkdir: mkdir: mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs&lt;/P&gt;
&lt;P&gt;cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb': File exists&lt;/P&gt;
&lt;P&gt;cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt': File existsmkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm&lt;/P&gt;
&lt;P&gt;mkdir: mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr&lt;/P&gt;
&lt;P&gt;mkdir: cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs': File exists&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr&lt;/P&gt;
&lt;P&gt;cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm': File exists&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr/include&lt;/P&gt;
&lt;P&gt;mkdir: mkdir: cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr': File exists&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr/bin&lt;/P&gt;
&lt;P&gt;cannot create directory `/home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr': File exists&lt;/P&gt;
&lt;P&gt;mkdir /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr/lib&lt;/P&gt;
&lt;P&gt; /usr/bin/install -c -m 644 usb.h /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/include/usb.h&lt;/P&gt;
&lt;P&gt; /bin/sh ./libtool --mode=install /usr/bin/install -c&amp;nbsp; libusb.la /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb.la&lt;/P&gt;
&lt;P&gt; /usr/bin/install -c libusb-config /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/bin/libusb-config&lt;/P&gt;
&lt;P&gt;/usr/bin/install -c .libs/libusb-0.1.4.4.0 /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb-0.1.4.4.0&lt;/P&gt;
&lt;P&gt;(cd /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib &amp;amp;&amp;amp; rm -f libusb-0.1.4 &amp;amp;&amp;amp; ln -s libusb-0.1.4.4.0 libusb-0.1.4)&lt;/P&gt;
&lt;P&gt;(cd /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib &amp;amp;&amp;amp; rm -f libusb &amp;amp;&amp;amp; ln -s libusb-0.1.4.4.0 libusb)&lt;/P&gt;
&lt;P&gt;/usr/bin/install -c .libs/libusb.lai /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb.la&lt;/P&gt;
&lt;P&gt;/usr/bin/install -c .libs/libusb.a /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb.a&lt;/P&gt;
&lt;P&gt;arm-linux-ranlib /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb.a&lt;/P&gt;
&lt;P&gt;chmod 644 /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm/usr/lib/libusb.a&lt;/P&gt;
&lt;P&gt;libtool: install: warning: remember to run `libtool --finish /usr/lib'&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;Making install in tests&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;make[2]: Nothing to be done for `install-exec-am'.&lt;/P&gt;
&lt;P&gt;make[2]: Nothing to be done for `install-data-am'.&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/tests'&lt;/P&gt;
&lt;P&gt;Making install in doc&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;make[2]: Nothing to be done for `install-exec-am'.&lt;/P&gt;
&lt;P&gt;make[2]: Nothing to be done for `install-data-am'.&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/doc'&lt;/P&gt;
&lt;P&gt;+ rm -f /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb//opt/freescale/rootfs/arm//usr/lib/libusb.la&lt;/P&gt;
&lt;P&gt;+ exit 0&lt;/P&gt;
&lt;P&gt;Processing files: libusb-0.1.8-1&lt;/P&gt;
&lt;P&gt;Finding&amp;nbsp; Provides: (using /opt/freescale/ltib/usr/lib/rpm/find-provides)...&lt;/P&gt;
&lt;P&gt;Finding&amp;nbsp; Requires: (using /opt/freescale/ltib/usr/lib/rpm/find-requires)...&lt;/P&gt;
&lt;P&gt;/usr/bin/ldd: line 161: /lib64/ld-linux-x86-64.so.2: cannot execute binary file&lt;/P&gt;
&lt;P&gt;/usr/bin/ldd: line 161: /lib64/ld-linux-x86-64.so.2: cannot execute binary file&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/arm-none-linux-gnueabi-objdump: /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb/opt/freescale/rootfs/arm/usr/bin/libusb-config: File format not recognized&lt;/P&gt;
&lt;P&gt;PreReq: rpmlib(PayloadFilesHavePrefix) &amp;lt;= 4.0-1 rpmlib(CompressedFileNames) &amp;lt;= 3.0.4-1&lt;/P&gt;
&lt;P&gt;Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) &amp;lt;= 4.0-1 rpmlib(CompressedFileNames) &amp;lt;= 3.0.4-1&lt;/P&gt;
&lt;P&gt;Requires: libc.so.6(GLIBC_2.4)&lt;/P&gt;
&lt;P&gt;Wrote: /home/ljump/TST/iMX6/boundary/ltib/rpm/RPMS/arm/libusb-0.1.8-1.arm.rpm&lt;/P&gt;
&lt;P&gt;Executing(%clean): /bin/sh -e /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.38384&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ rm -rf /home/ljump/TST/iMX6/boundary/ltib/tmp/libusb&lt;/P&gt;
&lt;P&gt;+ exit 0&lt;/P&gt;
&lt;P&gt;Build time for libusb: 8 seconds&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;sudo /opt/freescale/ltib/usr/bin/rpm --root /home/ljump/TST/iMX6/boundary/ltib/rootfs --dbpath /var/lib/rpm -e --allmatches --nodeps --define '_tmppath /tmp/ltib' libusb 2&amp;gt;/dev/null&lt;/P&gt;
&lt;P&gt;sudo /opt/freescale/ltib/usr/bin/rpm --root /home/ljump/TST/iMX6/boundary/ltib/rootfs --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs --define '_tmppath /tmp/ltib' /home/ljump/TST/iMX6/boundary/ltib/rpm/RPMS/arm/libusb-0.1.8-1.arm.rpm&lt;/P&gt;
&lt;P&gt;error: failed to stat /home/ljump/.gvfs: Permission denied&lt;/P&gt;
&lt;P&gt;Preparing...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ########################################### [100%]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; 1:libusb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ########################################### [100%]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Processing: usbutils&lt;/P&gt;
&lt;P&gt;======================&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a tool to determine if the final libusb library contains non PIC symbol linkage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the same toolchain (gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the transcript for your build (especially of libusb and openobex)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 18:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268725#M28459</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-08T18:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268726#M28460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answering my own question about the tool, I used readelf to look at libusb. It has the offending symbol types:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;ljump@ubuntu:~/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8$ readelf -a rootfs/usr/lib/libusb.a | grep R_ARM_MOV&lt;/P&gt;
&lt;P&gt;00000018&amp;nbsp; 0000062b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;0000001c&amp;nbsp; 0000062c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;000000f8&amp;nbsp; 0000062b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;000000fc&amp;nbsp; 0000062c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;00000158&amp;nbsp; 0000062b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;0000015c&amp;nbsp; 0000062c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;00000170&amp;nbsp; 0000062b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;00000174&amp;nbsp; 0000062c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;000005f8&amp;nbsp; 0000062b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;000005fc&amp;nbsp; 0000062c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; .LANCHOR0&lt;/P&gt;
&lt;P&gt;00000228&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;0000022c&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;0000025c&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000260&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000003c4&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000003c8&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000490&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000494&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000005bc&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000005c0&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000734&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000738&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000007fc&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000800&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000c04&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000c08&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000ccc&amp;nbsp; 0000162b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000cd0&amp;nbsp; 0000162c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000e80&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000e84&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000f00&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000f04&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000f84&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00000f88&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001054&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001058&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001094&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001098&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001130&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001134&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;0000115c&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001160&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;00001198&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;0000119c&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000011bc&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000011c0&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000011d8&amp;nbsp; 0000402b R_ARM_MOVW_ABS_NC 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;000011dc&amp;nbsp; 0000402c R_ARM_MOVT_ABS&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp; stderr&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also found these in descriptors.o,&amp;nbsp; linux.o and usb.o in the libusb build directory. None of the .lo files had them. So, maybe there was an error in the final link of libusb?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 19:54:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268726#M28460</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-08T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268727#M28461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I have solved the issue, but I don't entirely understand it.To make a long story short (then I'll tell the long one) the solution was to go back to an earlier libusb.spec file and rebuild libusb. Below is a diff for the spec file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt; diff dist/lfs-5.1/libusb/libusb.spec.orig dist/lfs-5.1/libusb/libusb.spec&lt;/P&gt;
&lt;P&gt;20d19&lt;/P&gt;
&lt;P&gt;&amp;lt; #libtoolize --copy --force&lt;/P&gt;
&lt;P&gt;23a23,25&lt;/P&gt;
&lt;P&gt;&amp;gt; make distclean || true&lt;/P&gt;
&lt;P&gt;&amp;gt; libtoolize --copy --force&lt;/P&gt;
&lt;P&gt;&amp;gt; #autoreconf&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the long story... I had also been building a BSP for the G5/gcore6 iMX6Q board using a slightly older version of the 3.0.35 LTIB (I think it was L3.0.35_1.1.0_121218). So, I tried adding openobex there and it worked. After some experimenting, I found that the Sabre openobex build would work if I used the libusb libraries from the G5 RFS. So I rebuilt the libusb on both platforms and found that output messages were different. The libusb source/patches were identical, but I found the above change in the spec file. I copied it over and viola -- everything built.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From looking at the build messages, it appears that there was moving/copying of *.o and *.lo files (the bookkeeping I was trying to follow). My guess is that in the erroneous version, some non-PIC objects got included in the library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now my question is why was the change introduced to the presumably newer spec file. What problem did it solve that I will encounter later?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268727#M28461</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-09T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268728#M28462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I'm not out of the woods yet and I may have answered another of my questions. When I did my testing in the last post, I using the /opt/freescale from the G5 build. When I switched back to the /opt/freescale from the Sabre build and I got a version mismatch error from libtool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Processing: libusb&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/ljump/TST/iMX6/boundary/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ljump/TST/iMX6/boundary/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ljump/TST/iMX6/boundary/ltib/tmp' --define '_rpmdir /home/ljump/TST/iMX6/boundary/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/ljump/TST/iMX6/boundary/ltib/dist/lfs-5.1/libusb/libusb.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/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.72397&lt;/P&gt;
&lt;P&gt;+ umask 022&lt;/P&gt;
&lt;P&gt;+ cd /home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD&lt;/P&gt;
&lt;P&gt;+ cd libusb-0.1.8&lt;/P&gt;
&lt;P&gt;+ make distclean&lt;/P&gt;
&lt;P&gt;make: *** No rule to make target `distclean'.&amp;nbsp; Stop.&lt;/P&gt;
&lt;P&gt;+ true&lt;/P&gt;
&lt;P&gt;+ libtoolize --copy --force&lt;/P&gt;
&lt;P&gt;libtoolize: putting auxiliary files in `.'.&lt;/P&gt;
&lt;P&gt;libtoolize: copying file `./ltmain.sh'&lt;/P&gt;
&lt;P&gt;libtoolize: You should add the contents of the following files to `aclocal.m4':&lt;/P&gt;
&lt;P&gt;libtoolize:&amp;nbsp;&amp;nbsp; `//opt/freescale/ltib/usr/share/aclocal/libtool.m4'&lt;/P&gt;
&lt;P&gt;libtoolize:&amp;nbsp;&amp;nbsp; `//opt/freescale/ltib/usr/share/aclocal/ltoptions.m4'&lt;/P&gt;
&lt;P&gt;libtoolize:&amp;nbsp;&amp;nbsp; `//opt/freescale/ltib/usr/share/aclocal/ltversion.m4'&lt;/P&gt;
&lt;P&gt;libtoolize:&amp;nbsp;&amp;nbsp; `//opt/freescale/ltib/usr/share/aclocal/ltsugar.m4'&lt;/P&gt;
&lt;P&gt;libtoolize:&amp;nbsp;&amp;nbsp; `//opt/freescale/ltib/usr/share/aclocal/lt~obsolete.m4'&lt;/P&gt;
&lt;P&gt;libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and&lt;/P&gt;
&lt;P&gt;libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.&lt;/P&gt;
&lt;P&gt;libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.&lt;/P&gt;
&lt;P&gt;+ ENDIAN=little&lt;/P&gt;
&lt;P&gt;+ case $ENDIAN in&lt;/P&gt;
&lt;P&gt;+ conf_opts=ac_cv_c_bigendian=no&lt;/P&gt;
&lt;P&gt;+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu --disable-build-docs ac_cv_c_bigendian=no&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;/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/missing: Unknown `--run' option&lt;/P&gt;
&lt;P&gt;Try `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8/missing --help' for more information&lt;/P&gt;
&lt;P&gt;configure: WARNING: `missing' script is too old or missing&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 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 style of include used by make... 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... 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 dependency style of gcc... gcc3&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 egrep... grep -E&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... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )&lt;/P&gt;
&lt;P&gt;checking how to run the C preprocessor... gcc -E&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 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-fl32... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-af77... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-fort77... 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-lf95... no&lt;/P&gt;
&lt;P&gt;checking for arm-linux-g95... 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 fl32... no&lt;/P&gt;
&lt;P&gt;checking for af77... no&lt;/P&gt;
&lt;P&gt;checking for fort77... 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 lf95... no&lt;/P&gt;
&lt;P&gt;checking for g95... 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 for arm-linux-file... no&lt;/P&gt;
&lt;P&gt;checking for file... /usr/bin/file&lt;/P&gt;
&lt;P&gt;checking if gcc static flag&amp;nbsp; works... yes&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 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 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 dynamic linker characteristics... GNU/Linux ld.so&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++ 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 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 dynamic linker characteristics... GNU/Linux ld.so&lt;/P&gt;
&lt;P&gt;appending configuration tag "F77" to libtool&lt;/P&gt;
&lt;P&gt;checking whether to enable maintainer-specific portions of Makefiles... no&lt;/P&gt;
&lt;P&gt;checking for what USB OS support... Linux&lt;/P&gt;
&lt;P&gt;checking for arm-linux-gcc... (cached) gcc&lt;/P&gt;
&lt;P&gt;checking whether we are using the GNU C compiler... (cached) yes&lt;/P&gt;
&lt;P&gt;checking whether gcc accepts -g... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for gcc option to accept ANSI C... (cached) none needed&lt;/P&gt;
&lt;P&gt;checking dependency style of gcc... (cached) gcc3&lt;/P&gt;
&lt;P&gt;checking for gcc option to accept ANSI C... none needed&lt;/P&gt;
&lt;P&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;/P&gt;
&lt;P&gt;checking for ANSI C header files... (cached) yes&lt;/P&gt;
&lt;P&gt;checking for vprintf... yes&lt;/P&gt;
&lt;P&gt;checking for _doprnt... no&lt;/P&gt;
&lt;P&gt;checking for an ANSI C-conforming const... yes&lt;/P&gt;
&lt;P&gt;checking whether byte ordering is bigendian... (cached) no&lt;/P&gt;
&lt;P&gt;checking limits.h usability... yes&lt;/P&gt;
&lt;P&gt;checking limits.h presence... yes&lt;/P&gt;
&lt;P&gt;checking for limits.h... yes&lt;/P&gt;
&lt;P&gt;checking for unistd.h... (cached) yes&lt;/P&gt;
&lt;P&gt;checking values.h usability... yes&lt;/P&gt;
&lt;P&gt;checking values.h presence... yes&lt;/P&gt;
&lt;P&gt;checking for values.h... yes&lt;/P&gt;
&lt;P&gt;checking for memmove... yes&lt;/P&gt;
&lt;P&gt;checking if we should build the documentation... no&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 doc/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating libusb.spec&lt;/P&gt;
&lt;P&gt;config.status: creating libusb-config&lt;/P&gt;
&lt;P&gt;config.status: creating tests/Makefile&lt;/P&gt;
&lt;P&gt;config.status: creating README&lt;/P&gt;
&lt;P&gt;config.status: creating INSTALL.libusb&lt;/P&gt;
&lt;P&gt;config.status: creating usb.h&lt;/P&gt;
&lt;P&gt;config.status: creating config.h&lt;/P&gt;
&lt;P&gt;config.status: executing depfiles commands&lt;/P&gt;
&lt;P&gt;config.status: executing default commands&lt;/P&gt;
&lt;P&gt;+ make&lt;/P&gt;
&lt;P&gt;make&amp;nbsp; all-recursive&lt;/P&gt;
&lt;P&gt;make[1]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;Making all in .&lt;/P&gt;
&lt;P&gt;make[2]: Entering directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT usb.lo -MD -MP -MF ".deps/usb.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o usb.lo `test -f 'usb.c' || echo './'`usb.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/usb.Tpo" ".deps/usb.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/usb.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT error.lo -MD -MP -MF ".deps/error.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o error.lo `test -f 'error.c' || echo './'`error.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/error.Tpo" ".deps/error.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/error.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT descriptors.lo -MD -MP -MF ".deps/descriptors.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o descriptors.lo `test -f 'descriptors.c' || echo './'`descriptors.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/descriptors.Tpo" ".deps/descriptors.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/descriptors.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -MT linux.lo -MD -MP -MF ".deps/linux.Tpo" \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -c -o linux.lo `test -f 'linux.c' || echo './'`linux.c; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else rm -f ".deps/linux.Tpo"; exit 1; \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;
&lt;P&gt;./libtool: line 469: CDPATH: command not found&lt;/P&gt;
&lt;P&gt;./libtool: line 469: CDPATH: command not found&lt;/P&gt;
&lt;P&gt;./libtool: line 469: CDPATH: command not found&lt;/P&gt;
&lt;P&gt;./libtool: line 469: CDPATH: command not found&lt;/P&gt;
&lt;P&gt;libtool: Version mismatch error.&amp;nbsp; This is libtool 2.4.2, but the&lt;/P&gt;
&lt;P&gt;libtool: definition of this LT_INIT comes from an older release.&lt;/P&gt;
&lt;P&gt;libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2&lt;/P&gt;
&lt;P&gt;libtool: and run autoconf again.&lt;/P&gt;
&lt;P&gt;libtool: Version mismatch error.&amp;nbsp; This is libtool 2.4.2, but the&lt;/P&gt;
&lt;P&gt;libtool: definition of this LT_INIT comes from an older release.&lt;/P&gt;
&lt;P&gt;libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2&lt;/P&gt;
&lt;P&gt;libtool: and run autoconf again.&lt;/P&gt;
&lt;P&gt;make[2]: *** [usb.lo] Error 1&lt;/P&gt;
&lt;P&gt;make[2]: *** Waiting for unfinished jobs....&lt;/P&gt;
&lt;P&gt;make[2]: *** [descriptors.lo] Error 1&lt;/P&gt;
&lt;P&gt;libtool: Version mismatch error.&amp;nbsp; This is libtool 2.4.2, but the&lt;/P&gt;
&lt;P&gt;libtool: definition of this LT_INIT comes from an older release.&lt;/P&gt;
&lt;P&gt;libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2&lt;/P&gt;
&lt;P&gt;libtool: and run autoconf again.&lt;/P&gt;
&lt;P&gt;libtool: Version mismatch error.&amp;nbsp; This is libtool 2.4.2, but the&lt;/P&gt;
&lt;P&gt;libtool: definition of this LT_INIT comes from an older release.&lt;/P&gt;
&lt;P&gt;libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2&lt;/P&gt;
&lt;P&gt;libtool: and run autoconf again.&lt;/P&gt;
&lt;P&gt;make[2]: *** [linux.lo] Error 1&lt;/P&gt;
&lt;P&gt;make[2]: *** [error.lo] Error 1&lt;/P&gt;
&lt;P&gt;make[2]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;make[1]: *** [all-recursive] Error 1&lt;/P&gt;
&lt;P&gt;make[1]: Leaving directory `/home/ljump/TST/iMX6/boundary/ltib/rpm/BUILD/libusb-0.1.8'&lt;/P&gt;
&lt;P&gt;make: *** [all] Error 2&lt;/P&gt;
&lt;P&gt;error: Bad exit status from /home/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.72397 (%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/ljump/TST/iMX6/boundary/ltib/tmp/rpm-tmp.72397 (%build)&lt;/P&gt;
&lt;P&gt;Build time for libusb: 5 seconds&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Failed building libusb&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this may be why the libusb.spec file had to change with the new LTIB. It also highlights one of the issues with a global /opt/freescale, but that's another matter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I forgot to mention that when I initially added openobex to the G5, it did not try to link with libusb, so it wouldn't have shown the error in any case. I had to add the Bluez packages to make it use libusb. This may be one reason why it worked so easily for you, Leo. If you get a chance, can you try it including Bluez and try rebuilding libusb?&amp;nbsp; It would be great if you could post the build messages so I can compare them to mine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 13:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268728#M28462</guid>
      <dc:creator>lancejump</dc:creator>
      <dc:date>2013-10-09T13:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268729#M28463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad you move forward. I will try your last suggestion when I have some time. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268729#M28463</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-11T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268730#M28464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel &lt;/P&gt;&lt;P&gt;free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 07:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268730#M28464</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-21T07:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: openobex link with libusb fails: relocation R_ARM_MOVW_ABS_NC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268731#M28465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lance&lt;/P&gt;&lt;P&gt;This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.&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, 26 Feb 2014 09:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openobex-link-with-libusb-fails-relocation-R-ARM-MOVW-ABS-NC/m-p/268731#M28465</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-26T09:27:59Z</dc:date>
    </item>
  </channel>
</rss>

