[yocto] Problem building Yocto Hello World demo on imx53QSB

Giovanni Foiani fnognn at unife.it
Wed Jul 18 07:24:34 PDT 2012


Hi Jessica,

downgrading from Ubuntu 11.04 (32 bit) to Ubuntu 10.04 (32 bit) and
following the ADT manual procedure HelloWorld demo works.
I noticed that ADT creates an armv5 tool chain instead building the
toolchain using Freescale layer (because I need to deploy the application
on a iMX53QSB) it creates an armv7 tool chain (that is the right processor
architecture).
Can this create problems?

Thanks

Giovanni
--

Dott. Ing. Giovanni Foiani

Cell:        +39-349-3577515
Phone:    +39-0532-97-4106
mail:        giovanni.foiani at unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)



On Tue, Jul 17, 2012 at 5:12 PM, Zhang, Jessica <jessica.zhang at intel.com>wrote:

>  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: error: AC_SUBST: `idea-c-application_CFLAGS' is not a
> valid shell variable name*****
>
> *configure.ac:24: the top level*****
>
> *autom4te: m4 failed with exit status: 1*****
>
> *aclocal: autom4te failed with exit status: 1*****
>
> *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a
> valid shell variable name*****
>
> *configure.ac:24: the top level*****
>
> *autom4te: m4 failed with exit status: 1*****
>
> *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a
> valid shell variable name*****
>
> *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: error: AC_SUBST: `idea-c-application_CFLAGS' is not a
> valid shell variable name*****
>
> *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****
>
> CenTec - Corso Guercino, 47 - 44042 Cento (FE)****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120718/28ff820f/attachment.html>


More information about the yocto mailing list