android usb声卡支持,用安卓手机遥控openwrt+usb声卡播放MP3及mms网络电台

此篇博客记录了在MIPS平台的OpenWrt上使用MPD时,遇到的ffmpeg输入插件编译问题,涉及URLContext类型错误、隐式函数声明警告以及未声明的符号。开发者需注意修复类型定义和隐式函数调用,以解决编译过程中的错误。
摘要由CSDN通过智能技术生成

cc1: note: someone does not honour COPTS correctly, passed 4 times

src/input/ffmpeg_input_plugin.c:38:2: error: unknown type name 'URLContext'

src/input/ffmpeg_input_plugin.c: In function 'input_ffmpeg_init':

src/input/ffmpeg_input_plugin.c:57:2: warning: implicit declaration of function 'av_protocol_next' [-Wimplicit-function-declaration]

src/input/ffmpeg_input_plugin.c:57:36: warning: comparison between pointer and integer [enabled by default]

src/input/ffmpeg_input_plugin.c: In function 'input_ffmpeg_open':

src/input/ffmpeg_input_plugin.c:83:2: warning: implicit declaration of function 'url_open' [-Wimplicit-function-declaration]

src/input/ffmpeg_input_plugin.c:83:33: error: 'URL_RDONLY' undeclared (first use in this function)

src/input/ffmpeg_input_plugin.c:83:33: note: each undeclared identifier is reported only once for each function it appears in

src/input/ffmpeg_input_plugin.c:94:26: error: request for member 'is_streamed' in something not a structure or union

src/input/ffmpeg_input_plugin.c:95:2: warning: implicit declaration of function 'url_filesize' [-Wimplicit-function-declaration]

src/input/ffmpeg_input_plugin.c: In function 'input_ffmpeg_read':

src/input/ffmpeg_input_plugin.c:112:2: warning: implicit declaration of function 'url_read' [-Wimplicit-function-declaration]

src/input/ffmpeg_input_plugin.c: In function 'input_ffmpeg_close':

src/input/ffmpeg_input_plugin.c:131:2: warning: implicit declaration of function 'url_close' [-Wimplicit-function-declaration]

src/input/ffmpeg_input_plugin.c: In function 'input_ffmpeg_seek':

src/input/ffmpeg_input_plugin.c:149:2: warning: implicit declaration of function 'url_seek' [-Wimplicit-function-declaration]

make[5]: *** [src/input/src_mpd-ffmpeg_input_plugin.o] Error 1

make[5]: Leaving directory `/home/david/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/mpd-full/mpd-0.16.5'

make[4]: *** [all] Error 2

make[4]: Leaving directory `/home/david/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/mpd-full/mpd-0.16.5'

make[3]: *** [/home/david/openwrt/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/mpd-full/mpd-0.16.5/.built] Error 2

make[3]: Leaving directory `/home/david/openwrt/trunk/feeds/packages/sound/mpd'

make[2]: *** [package/feeds/packages/mpd/compile] Error 2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值