[yocto] Problem building Yocto Hello World demo on imx53QSB

Zhang, Jessica jessica.zhang at intel.com
Tue Jul 17 08:12:59 PDT 2012


Hi Giovanni,



Can you following the ADT manual and use the built 1.2.1 toolchain tar ball?  The meta-ide-support is supposed to be used under build tree instead of copied over to /opt/poky.



Cheers,

Jessica



From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Giovanni Foiani
Sent: Tuesday, July 17, 2012 2:29 AM
To: yocto at yoctoproject.org
Subject: [yocto] Problem building Yocto Hello World demo on imx53QSB



Hi,



I need to deploy a C application that I have made on a Freescale iMX53 QSB.

First I wanted to test the cross-compilation environment building the Hello World demo but I got some issues.

I made the following steps:

*       download yocto denzil
*       source oe-init-build-env
*       edit local.conf and bblayers.conf files
*       run 'bitbake meta-ide-support'
*       copied the resultant sdk in /opt/poky
*       installed Yocto Eclipse plugin
*       Configured the plugin as following

   *    toolchain root location: /opt/poky/1.2.1
   *    sysroot location: /opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi

   When I build the project I get the following error:



   Invoking autogen.sh in build directory: /home/gfoiani/workspace/idea-c-application



   Command-line environment variables:

               CFLAGS=" -g -O0  -march=armv7-a -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" CXXFLAGS=" -g -O0  -march=armv7-a -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" LDFLAGS=" --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" CPPFLAGS=" -march=armv7-a -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi"



   sh /home/gfoiani/workspace/idea-c-application/autogen.sh --with-libtool-sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=i686-linux --with-libtool-sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi

   configure.ac:24<http://configure.ac:24>: error: AC_SUBST: `idea-c-application_CFLAGS' is not a valid shell variable name

   configure.ac:24<http://configure.ac:24>: the top level

   autom4te: m4 failed with exit status: 1

   aclocal: autom4te failed with exit status: 1

   configure.ac:24<http://configure.ac:24>: error: AC_SUBST: `idea-c-application_CFLAGS' is not a valid shell variable name

   configure.ac:24<http://configure.ac:24>: the top level

   autom4te: m4 failed with exit status: 1

   configure.ac:24<http://configure.ac:24>: error: AC_SUBST: `idea-c-application_CFLAGS' is not a valid shell variable name

   configure.ac:24<http://configure.ac:24>: the top level

   autom4te: m4 failed with exit status: 1

   autoheader: '/opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/bin/autom4te' failed with exit status: 1

   configure.ac:24<http://configure.ac:24>: error: AC_SUBST: `idea-c-application_CFLAGS' is not a valid shell variable name

   configure.ac:24<http://configure.ac:24>: the top level

   autom4te: m4 failed with exit status: 1

   automake: autoconf failed with exit status: 1

   /home/gfoiani/workspace/idea-c-application/autogen.sh: line 9: ./configure: No such file or directory



   Configuration failed with error



   What Am I doing wrong?



   Thanks



   Giovanni

   --

   Dott. Ing. Giovanni Foiani

   Cell:        +39-349-3577515
   Phone:    +39-0532-97-4106
   mail:        giovanni.foiani at unife.it<mailto:giovanni.foiani at unife.it>

   CenTec - Corso Guercino, 47 - 44042 Cento (FE)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120717/f5d5c64a/attachment.html>


More information about the yocto mailing list