* Problem building Yocto Hello World demo on imx53QSB
@ 2012-07-17 9:29 Giovanni Foiani
2012-07-17 15:12 ` Zhang, Jessica
0 siblings, 1 reply; 5+ messages in thread
From: Giovanni Foiani @ 2012-07-17 9:29 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 3105 bytes --]
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@unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
[-- Attachment #2: Type: text/html, Size: 4495 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building Yocto Hello World demo on imx53QSB
2012-07-17 9:29 Problem building Yocto Hello World demo on imx53QSB Giovanni Foiani
@ 2012-07-17 15:12 ` Zhang, Jessica
2012-07-18 14:24 ` Giovanni Foiani
0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Jessica @ 2012-07-17 15:12 UTC (permalink / raw)
To: Giovanni Foiani, yocto
[-- Attachment #1: Type: text/plain, Size: 3926 bytes --]
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@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Giovanni Foiani
Sent: Tuesday, July 17, 2012 2:29 AM
To: yocto@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@unife.it<mailto:giovanni.foiani@unife.it>
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
[-- Attachment #2: Type: text/html, Size: 13046 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building Yocto Hello World demo on imx53QSB
2012-07-17 15:12 ` Zhang, Jessica
@ 2012-07-18 14:24 ` Giovanni Foiani
2012-07-18 17:11 ` Zhang, Jessica
0 siblings, 1 reply; 5+ messages in thread
From: Giovanni Foiani @ 2012-07-18 14:24 UTC (permalink / raw)
To: Zhang, Jessica; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 4881 bytes --]
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@unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
On Tue, Jul 17, 2012 at 5:12 PM, Zhang, Jessica <jessica.zhang@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@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] *On Behalf Of *Giovanni Foiani
> *Sent:* Tuesday, July 17, 2012 2:29 AM
> *To:* yocto@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@unife.it****
>
> CenTec - Corso Guercino, 47 - 44042 Cento (FE)****
>
> ** **
>
[-- Attachment #2: Type: text/html, Size: 10232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building Yocto Hello World demo on imx53QSB
2012-07-18 14:24 ` Giovanni Foiani
@ 2012-07-18 17:11 ` Zhang, Jessica
2012-07-23 7:47 ` Giovanni Foiani
0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Jessica @ 2012-07-18 17:11 UTC (permalink / raw)
To: Giovanni Foiani; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 5577 bytes --]
Please see my comments below...
From: Giovanni Foiani [mailto:fnognn@unife.it]
Sent: Wednesday, July 18, 2012 7:25 AM
To: Zhang, Jessica
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Problem building Yocto Hello World demo on imx53QSB
Hi Jessica,
downgrading from Ubuntu 11.04 (32 bit) to Ubuntu 10.04 (32 bit) and following the ADT manual procedure HelloWorld demo works.
[JZ] This I'm assuming you strictly follow the ADT manual and use the Yocto project built out toolchain, right? Why downgrade from Ubuntu 11.04 to 10.04? I don't think you need to do that unless 10.04 is what you want.
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?
[JZ] In that case, you need to build out an armv7 toolchain. The key is to add the Freescale layer and set target MACHINE appropriately. And use that toolchain for your cross development. It should work.
Thanks
Giovanni
--
Dott. Ing. Giovanni Foiani
Cell: +39-349-3577515
Phone: +39-0532-97-4106
mail: giovanni.foiani@unife.it<mailto:giovanni.foiani@unife.it>
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
On Tue, Jul 17, 2012 at 5:12 PM, Zhang, Jessica <jessica.zhang@intel.com<mailto:jessica.zhang@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@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org<mailto:yocto-bounces@yoctoproject.org>] On Behalf Of Giovanni Foiani
Sent: Tuesday, July 17, 2012 2:29 AM
To: yocto@yoctoproject.org<mailto:yocto@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<tel:%2B39-349-3577515>
Phone: +39-0532-97-4106<tel:%2B39-0532-97-4106>
mail: giovanni.foiani@unife.it<mailto:giovanni.foiani@unife.it>
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
[-- Attachment #2: Type: text/html, Size: 22585 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem building Yocto Hello World demo on imx53QSB
2012-07-18 17:11 ` Zhang, Jessica
@ 2012-07-23 7:47 ` Giovanni Foiani
0 siblings, 0 replies; 5+ messages in thread
From: Giovanni Foiani @ 2012-07-23 7:47 UTC (permalink / raw)
To: Zhang, Jessica; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 6636 bytes --]
See notes below..
thanks
Giovanni
--
Dott. Ing. Giovanni Foiani
Cell: +39-349-3577515
Phone: +39-0532-97-4106
mail: giovanni.foiani@unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
On Wed, Jul 18, 2012 at 7:11 PM, Zhang, Jessica <jessica.zhang@intel.com>wrote:
> Please see my comments below…****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Giovanni Foiani [mailto:fnognn@unife.it]
> *Sent:* Wednesday, July 18, 2012 7:25 AM
> *To:* Zhang, Jessica
> *Cc:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] Problem building Yocto Hello World demo on imx53QSB
> ****
>
> ** **
>
> Hi Jessica,****
>
> ** **
>
> downgrading from Ubuntu 11.04 (32 bit) to Ubuntu 10.04 (32 bit) and
> following the ADT manual procedure HelloWorld demo works.****
>
> [JZ] This I’m assuming you strictly follow the ADT manual and use the
> Yocto project built out toolchain, right? Why downgrade from Ubuntu 11.04
> to 10.04? I don’t think you need to do that unless 10.04 is what you want.
> ****
>
> **
>
Yocto warned me that my distribution was not supported so compatibly with
this document <https://wiki.yoctoproject.org/wiki/Distribution_Support> I
decided to downgrade to Ubuntu 10.04
**
>
> ** **
>
> 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?****
>
> [JZ] In that case, you need to build out an armv7 toolchain. The key is
> to add the Freescale layer and set target MACHINE appropriately. And use
> that toolchain for your cross development. It should work.
>
Yes adding Freescale layer and pointing to the toolchain under the build
tree it works.
My configuration are:
- Toolchain root location: /home/gfoiani/yocto/poky/build
- Sysroot location: /home/gfoiani/yocto/poky/build/tmp/sysroots/imx53qsb
> ****
>
> ** **
>
> Thanks****
>
> ** **
>
> Giovanni
> ****
>
> --
>
> Dott. Ing. Giovanni Foiani****
>
> Cell: +39-349-3577515
> Phone: +39-0532-97-4106
> mail: giovanni.foiani@unife.it****
>
> CenTec - Corso Guercino, 47 - 44042 Cento (FE)****
>
>
>
> ****
>
> On Tue, Jul 17, 2012 at 5:12 PM, Zhang, Jessica <jessica.zhang@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@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] *On Behalf Of *Giovanni Foiani
> *Sent:* Tuesday, July 17, 2012 2:29 AM
> *To:* yocto@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@unife.it****
>
> CenTec - Corso Guercino, 47 - 44042 Cento (FE)****
>
> ****
>
> ** **
>
[-- Attachment #2: Type: text/html, Size: 15418 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-23 7:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 9:29 Problem building Yocto Hello World demo on imx53QSB Giovanni Foiani
2012-07-17 15:12 ` Zhang, Jessica
2012-07-18 14:24 ` Giovanni Foiani
2012-07-18 17:11 ` Zhang, Jessica
2012-07-23 7:47 ` Giovanni Foiani
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.