AnsweredAssumed Answered

Configure fails for nativesdk-alsa-lib.

Question asked by Bryan Prather on Aug 20, 2014

I get the following errors when building meta-toolchain-qt5 with the latest from https://github.com/mahyar-ym/boundary-community-bsp-base

meta-qt5 is using qt 5.3.

I've attached the files bblayers.conf and local.confg.

 

Copyright (C) 2014 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

 

configure:3475: $? = 0

configure:3464: i686-pokysdk-linux-gcc -march=i686 --sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux -v >&5

Using built-in specs.

COLLECT_GCC=i686-pokysdk-linux-gcc

COLLECT_LTO_WRAPPER=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/lto-wrapper

Target: i686-pokysdk-linux

Configured with: /home/opti/sandbox/mahyar-ym/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/configure --build=x86_64-linux --host=x86_64-linux --target=i686-pokysdk-linux --prefix=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr --exec_prefix=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr --bindir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/bin/i686-pokysdk-linux --sbindir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/bin/i686-pokysdk-linux --libexecdir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux --datadir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/share --sysconfdir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/etc --sharedstatedir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/com --localstatedir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/var --libdir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/lib/i686-pokysdk-linux --includedir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/include --oldincludedir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/include --infodir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/share/info --mandir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux --enable-clocale=generic --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=i686-pokysdk-linux- --without-local-prefix --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-gxx-include-dir=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/i686-nativesdk-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/include/c++/4.9.1 --with-sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/i686-nativesdk-pokysdk-linux --with-build-sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/i686-nativesdk-pokysdk-linux --enable-poison-system-directories --with-mpfr=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr --with-system-zlib --disable-nls --enable-__cxa_atexit

Thread model: posix

gcc version 4.9.1 (GCC)

configure:3475: $? = 0

configure:3464: i686-pokysdk-linux-gcc -march=i686 --sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux -V >&5

i686-pokysdk-linux-gcc: error: unrecognized command line option '-V'

i686-pokysdk-linux-gcc: fatal error: no input files

compilation terminated.

configure:3475: $? = 1

configure:3464: i686-pokysdk-linux-gcc -march=i686 --sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux -qversion >&5

i686-pokysdk-linux-gcc: error: unrecognized command line option '-qversion'

i686-pokysdk-linux-gcc: fatal error: no input files

compilation terminated.

configure:3475: $? = 1

configure:3495: checking whether the C compiler works

configure:3517: i686-pokysdk-linux-gcc -march=i686 --sysroot=/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux -isystem/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/include -O2 -pipe -D_GNU_SOURCE -isystem/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/include -L/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/lib -Wl,-rpath-link,/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/lib -Wl,-rpath,/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/lib -Wl,-O1 -L/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/lib -Wl,-rpath-link,/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/cortexa9hf-vfp-neon-mx6-pokysdk-linux/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/lib -Wl,-rpath,/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/lib -Wl,-O1 conftest.c  >&5

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find crt1.o: No such file or directory

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find crti.o: No such file or directory

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find crtbegin.o: No such file or directory

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find -lgcc

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find -lgcc_s

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find -lc

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find -lgcc

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find -lgcc_s

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find crtend.o: No such file or directory

/home/opti/sandbox/mahyar-ym/build/tmp/sysroots/x86_64-linux/usr/libexec/i686-pokysdk-linux/gcc/i686-pokysdk-linux/4.9.1/ld: cannot find crtn.o: No such file or directory

collect2: error: ld returned 1 exit status

configure:3521: $? = 1

configure:3559: result: no

configure: failed program was:

| /* confdefs.h */

| #define PACKAGE_NAME ""

| #define PACKAGE_TARNAME ""

| #define PACKAGE_VERSION ""

| #define PACKAGE_STRING ""

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE_URL ""

| #define PACKAGE "alsa-lib"

| #define VERSION "1.0.27.2"

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:3564: error: in `/home/opti/sandbox/mahyar-ym/build/tmp/work/cortexa9hf-vfp-neon-mx6-pokysdk-linux/nativesdk-alsa-lib/1.0.27.2-r0/build':

configure:3566: error: C compiler cannot create executables

Original Attachment has been moved to: local.conf.zip

Original Attachment has been moved to: bblayers.conf.zip

Outcomes