[OpenWrt-Devel] Problems with ffmpeg and alsa-lib

Ted Hess thess at kitschensync.net
Mon Oct 13 17:48:59 EDT 2014


1 - I will see what I can do to make alsa-lib optional for various configs.

2 - Building alsa-lib has no dependency on the host system's audio setup. 
The problem you are seeing is indeed a problem with your build environment, 
and what tools you have installed. More information is needed about our 
build system and target config before I can help you.

/ted

-----Original Message----- 
From: Bruno Randolf
Sent: Monday, October 13, 2014 9:23 AM
To: thess at kitschensync.net
Cc: OpenWrt Devel List
Subject: Problems with ffmpeg and alsa-lib

Hello,

I have two problems with libffmpeg and alsa-lib, both in trunk and BB:

1) Is that libffmpeg always selects alsa-lib, even when I only select
libffmpeg-mini. According to the Makefile only libffmpeg-full is
supposed to depend on alsa-lib. If i remove that dependency from
libffmpeg-full in the Makefile I can compile all variants... What's
wrong here? and is the alsa-lib dependency really needed?

2) I can not compile alsa-lib on my platforms (ar71xx and au1000 - both
don't have a sound card), it fails with the following error:

checking for mips-openwrt-linux-gcc... gcc
checking whether the C compiler works... no
configure: error: in
`/home/br1/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/alsa-lib-1.0.28':
configure: error: C compiler cannot create executables

This does not look related to having a sound card or not :(

In the meanwhile I have solved the problems by removing the alsa-lib
dependency... Any ideas for a real fix?

bruno 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list