[meta-freescale] Build error fsl-alsa-plugins

Daiane Angolini daiane.angolini at freescale.com
Tue Oct 29 03:25:51 PDT 2013


On 10/29/2013 04:42 AM, Mattias Sahlén wrote:
> Hello list, I tried to build a new image for our custom board(based on
> sabre-sd) using the new dora branch.
> I ran into problems with fsl-alsa-plugins:
>
> | arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc
> -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a9
> --sysroot=/home/vinnteradm/firectrl/yocto-experimental/build/tmp/sysroots/imx6qsabresd
> -DHAVE_CONFIG_H -I. -I.. -Wall -g
> -I/home/vinnteradm/firectrl/yocto-experimental/build/tmp/sysroots/imx6qsabresd/usr/include/alsa
> -I/home/vinnteradm/firectrl/yocto-experimental/build/tmp/sysroots/imx6qsabresd/usr/src/kernel/include
> -c asrc_pair.c  -fPIC -DPIC -o .libs/asrc_pair.o
> | asrc_pair.c: In function 'asrc_pair_convert_s16':
> | asrc_pair.c:292:32: error: storage size of 'buf_info' isn't known
> |      struct asrc_convert_buffer buf_info;
> |                                 ^
> | asrc_pair.c:314:36: error: 'ASRC_CONVERT' undeclared (first use in
> this function)
> |          if ((err = ioctl(pair->fd, ASRC_CONVERT, &buf_info)) < 0)
> |                                     ^
> | asrc_pair.c:314:36: note: each undeclared identifier is reported only
> once for each function it appears in
> | asrc_pair.c:293:9: warning: variable 'err' set but not used
> [-Wunused-but-set-variable]
> |      int err;
> |          ^
> | asrc_pair.c:292:32: warning: unused variable 'buf_info'
> [-Wunused-variable]
> |      struct asrc_convert_buffer buf_info;
> |                                 ^
> | make[2]: *** [asrc_pair.lo] Error 1

It looks like kernel mismatch for me


>
> Anyone seen this before or have any clues to what the problem might be?
>
> BR,
>
> Mattias Sahlen
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane




More information about the meta-freescale mailing list