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.foi...@unife.it CenTec - Corso Guercino, 47 - 44042 Cento (FE)
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto