[alsa-devel] build alsa-tools using static alsa lib? linux2.6.28+marvell littleton

Daniel Mack daniel at caiaq.de
Thu Dec 17 04:31:20 CET 2009


On Thu, Dec 17, 2009 at 10:55:14AM +0800, 王剑 wrote:
> alsa-develHello everybody:
> 	
> 	i couldnot build alsa-tools, see as follows, could anybody help me, thanks!
> 
> question :
> 	
> a at a-desktop:~/NMS/kernel/2009WW21_build/src/preview-kit/alsa-tools$ make
> arm-linux-gcc -I/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//src/preview-kit/linux/include -I/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//rel/host/include -L/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//rel/host/lib -L/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//rel/target/rootfs/lib -g -Waggregate-return -Wmissing-noreturn -W -Wall -mcpu=iwmmxt -mtune=iwmmxt -mabi=aapcs-linux -I/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//rel/host/include -static -L/home/a/NMS/kernel/2009WW21/pxalinux/../../2009WW21_build//rel/host/include -lasound  control.c -o control 
> control.c: In function 'main':
> control.c:72: warning: function call has aggregate value
> /tmp/ccIFwS0o.o: In function `main':
> /home/a/NMS/kernel/2009WW21_build/src/preview-kit/alsa-tools/control.c:15: undefined reference to `snd_ctl_card_info_sizeof'

Which version is that? I suggest using Buildroot or OE to cross-compile
things unless you know what you're doing and have a good reason not to
do so :)

See

	http://buildroot.uclibc.org/
	http://wiki.openembedded.net/index.php/Main_Page

Daniel



More information about the Alsa-devel mailing list