[meta-freescale] Build error

Gary Thomas gary at mlbassoc.com
Wed Sep 25 14:18:19 PDT 2013


Using the latest master branches, I'm getting this failure when I try to
use linux-fslc for the kernel (instead of linux-imx).

| arm-amltd-linux-gnueabi-libtool: compile:  arm-amltd-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 
--sysroot=/local/imx6_new/tmp/sysroots/sabrelite -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/local/imx6_new/tmp/sysroots/sabrelite/usr/include/alsa 
-I/local/imx6_new/tmp/sysroots/sabrelite/usr/src/kernel/include -c rate_asrcrate.c  -fPIC -DPIC -o .libs/rate_asrcrate.o
| asrc_pair.c:28:28: fatal error: linux/mxc_asrc.h: No such file or directory
| compilation terminated.
| make[2]: *** [asrc_pair.lo] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from rate_asrcrate.c:24:0:
| asrc_pair.h:28:28: fatal error: linux/mxc_asrc.h: No such file or directory
| compilation terminated.
| make[2]: *** [rate_asrcrate.lo] Error 1
| make[2]: Leaving directory `/local/imx6_new/tmp/work/sabrelite-amltd-linux-gnueabi/fsl-alsa-plugins/1.0.25-r0/fsl-alsa-plugins-1.0.25/asrc'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/local/imx6_new/tmp/work/sabrelite-amltd-linux-gnueabi/fsl-alsa-plugins/1.0.25-r0/fsl-alsa-plugins-1.0.25'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /local/imx6_new/tmp/work/sabrelite-amltd-linux-gnueabi/fsl-alsa-plugins/1.0.25-r0/temp/log.do_compile.19192)
ERROR: Task 1088 (/local/poky-cutting-edge/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb, do_compile) failed with exit code '1'

Here's my configuration:

Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "sabrelite"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.5+snapshot-20130925"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              = "cutting-edge:0fc8317c6385eb1ed69ca4522ee6424c456dbb92"
meta-oe           = "cutting-edge:2e48d58f91b859c3d7733de6070db53258c84931"
meta-amltd        = "cutting-edge:609d28fca850cf8a3648d1de3330b74b659d175b"
meta-imx6         = "cutting-edge:236cb0dfa84e4cf7cbe5c96db763dfbde7821511"
meta-fsl-arm      = "cutting-edge:561842ac3e1e9f59536dbbbc4a81876f9e0df97b"
meta-fsl-arm-extra = "cutting-edge:43aa8be9958df810d4a6d8aa763806233e45cb78"

Notes:
   * cutting-edge is my working branch which is a copy of origin/master for these trees
   * meta-amltd is my local distribution
   * sabrelite is just a clone of nitrogen6x

Any ideas how to get this built and/or suppress it since I don't
care about ALSA at the moment?  All I want to do is try using the
latest FSLC kernel...

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the meta-freescale mailing list