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

Mattias Sahlén mattias.sahlen at vinnter.se
Mon Oct 28 23:42:28 PDT 2013


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

Anyone seen this before or have any clues to what the problem might be?

BR,

Mattias Sahlen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131029/155c81b1/attachment.html>


More information about the meta-freescale mailing list