* Build error fsl-alsa-plugins
@ 2013-10-29 6:42 Mattias Sahlén
2013-10-29 10:25 ` Daiane Angolini
0 siblings, 1 reply; 2+ messages in thread
From: Mattias Sahlén @ 2013-10-29 6:42 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2862 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build error fsl-alsa-plugins
2013-10-29 6:42 Build error fsl-alsa-plugins Mattias Sahlén
@ 2013-10-29 10:25 ` Daiane Angolini
0 siblings, 0 replies; 2+ messages in thread
From: Daiane Angolini @ 2013-10-29 10:25 UTC (permalink / raw)
To: Mattias Sahlén, meta-freescale
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
--
Daiane
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-29 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-29 6:42 Build error fsl-alsa-plugins Mattias Sahlén
2013-10-29 10:25 ` Daiane Angolini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.