[meta-freescale] dora branch, imx53qsb imx-lib compilation error
Janis Coders
janis.coders at gmail.com
Mon Oct 28 08:06:36 PDT 2013
Hi, I am trying to test the new dora branch for imx53qsb and I have an
error when compiling imx-lib.
I can see that source has changed from dylan and there is a new variable
'SAH_HDR_FORCE_SEED' in the new source and
that causes the error.
Has someone tested this or have I configured something wrong?
Thank you
Log:
ERROR: Function failed: do_compile (log file is located at
/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/temp/log.do_compile.10105)
ERROR: Logfile of failure stored in:
/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/temp/log.do_compile.10105
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM=IMX51
INCLUDE=-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/drivers/mxc/security/rng/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/drivers/mxc/security/sahara2/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/include
all
| make -C hdmi-cec all
| make[1]: Entering directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/hdmi-cec'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/hdmi-cec'
| make -C ipu all
| make[1]: Entering directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/ipu'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/ipu'
| make -C pxp all
| make[1]: Entering directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/pxp'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/pxp'
| make -C rng all
| make[1]: Entering directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/rng'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/rng'
| make -C sahara2 all
| make[1]: Entering directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/sahara2'
| arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork
-mfloat-abi=softfp -mfpu=neon
--sysroot=/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb
-O2 -pipe -g -feliminate-unused-debug-types -g -Wall -W
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-fPIC -DSAHARA -DLINUX
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/drivers/mxc/security/rng/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/drivers/mxc/security/sahara2/include
-I/home/chocis/projects/testdorafreescale/build/tmp/sysroots/imx53qsb/usr/src/kernel/include
-DCONFIG_ARCH_MX5 -DCONFIG_ARCH_MX5 -c -o fsl_shw_rand.o fsl_shw_rand.c
| fsl_shw_rand.c: In function 'fsl_shw_get_random':
| fsl_shw_rand.c:77:18: error: 'SAH_HDR_FORCE_SEED' undeclared (first
use in this function)
| header = SAH_HDR_FORCE_SEED;
| ^
| fsl_shw_rand.c:77:18: note: each undeclared identifier is reported
only once for each function it appears in
| make[1]: *** [fsl_shw_rand.o] Error 1
| make[1]: Leaving directory
`/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/sahara2'
| make: *** [sahara2] Error 2
| ERROR: oe_runmake failed
| WARNING:
/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/temp/run.do_compile.10105:1
exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at
/home/chocis/projects/testdorafreescale/build/tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/temp/log.do_compile.10105)
ERROR: Task 6
(/home/chocis/projects/testdorafreescale/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_11.09.02.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 594 tasks of which 593 didn't need to be
rerun and 1 failed.
No currently running tasks (421 of 601)
Summary: 1 task failed:
/home/chocis/projects/testdorafreescale/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_11.09.02.bb,
do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
More information about the meta-freescale
mailing list