wandboard dual w/imx6dl - error compiling libfslvpuwrap in ltib 4.1.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

wandboard dual w/imx6dl - error compiling libfslvpuwrap in ltib 4.1.0

1,158 Views
geekay
Contributor I

while building rootfs with ltib i've encountered a lot of little troubles. finally, i surrender. here's the output:

________________________________________________________________________

Processing: libfslvpuwrap

===========================

Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/geekay/devel/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/geekay/devel/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/geekay/devel/ltib/tmp' --define '_rpmdir /home/geekay/devel/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/geekay/devel/ltib/dist/lfs-5.1/fsl-mm/libfslvpuwrap.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /home/geekay/devel/ltib/tmp/rpm-tmp.62833

+ umask 022

+ cd /home/geekay/devel/ltib/rpm/BUILD

+ cd libfslvpuwrap-1.0.35

+ which pkg-config

+ export PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config --static

+ ./configure --prefix=/usr --host=arm-linux --build=x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for arm-linux-strip... arm-linux-strip

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking pkg-config is at least version 0.9.0... yes

checking for style of include used by make... GNU

checking for arm-linux-gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... yes

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for library containing strerror... none required

checking for arm-linux-gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for arm-linux-gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking build system type... x86_64-unknown-linux-gnu

checking host system type... arm-unknown-linux-gnu

checking how to print strings... printf

checking for a sed that does not truncate output... /bin/sed

checking for fgrep... /bin/grep -F

checking for ld used by gcc... ld

checking if the linker (ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B

checking the name lister (/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop

checking for ld option to reload object files... -r

checking for arm-linux-objdump... arm-linux-objdump

checking how to recognize dependent libraries... pass_all

checking for arm-linux-dlltool... no

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for arm-linux-ar... ar

checking for archiver @FILE support... @

checking for arm-linux-strip... (cached) arm-linux-strip

checking for arm-linux-ranlib... arm-linux-ranlib

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

checking for sysroot... no

checking for arm-linux-mt... no

checking for mt... mt

configure: WARNING: using cross tools not prefixed with host triplet

checking if mt is a manifest tool... no

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking vpu_lib.h usability... no

checking vpu_lib.h presence... no

checking for vpu_lib.h... no

configure: error: lib_vpu is required, consider installing imx-lib

error: Bad exit status from /home/geekay/devel/ltib/tmp/rpm-tmp.62833 (%build)

RPM build errors:

  Bad exit status from /home/geekay/devel/ltib/tmp/rpm-tmp.62833 (%build)

Build time for libfslvpuwrap: 3 seconds

Failed building libfslvpuwrap

____________________________________________________________________________________________

what am i doing wrong? didn't find much in the internet about this problem

i use kernel 3.0.35 from wandboard and build rootfs with ltib 4.1.0. the host system is debian 7.1

Labels (3)
0 Kudos
5 Replies

773 Views
YixingKong
Senior Contributor IV

Konstantin

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel

free to reply with an update to this discussion.

Thanks,
Yixing

0 Kudos

773 Views
alexandreschneg
Contributor I

Hello,

I've got the same issue. Did you find a workaround ?

Regards
Alexandre Schnegg

0 Kudos

773 Views
LeonardoSandova
Specialist I

Make sure you have the packate imx-lib selected, under the package list, on the ltib's menuconfig.

0 Kudos

773 Views
geekay
Contributor I

it's selected, compiled and packed in /opt/freescale/pkgs. how ca i make myself sure that ltib is linking the library?

0 Kudos

773 Views
LeonardoSandova
Specialist I

Not sure what is going on. Are you having the same problem or a linking problem? Can you please start with a FSL GNOME package profile? (./ltib -m selectype).

0 Kudos