完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
在ubuntu编译openwrt的时候出现很多打补丁错误,试过改了几个源文件,这几个源文件就打补丁成功了,但是还有很多文件有错,不可能要改这么多吧,有没有其他方法呢。错误时出现在编译alsa-lib-1.1.0.tar.bz2这个包时候才会有的,这个包是系统编译时候下载不了的包,我手动下载的。版本没有错。不知道有没有人遇到过。求解。以下是错误信息。
Applying ./patches/001-link_fix.patch using plaintext: patching file src/Makefile.in Hunk #1 succeeded at 421 (offset 3 lines). patching file src/pcm/scopes/Makefile.in Applying ./patches/005-fix_include_file_redirect_warnings.patch using plaintext: patching file src/seq/seq.c patching file aserver/aserver.c patching file include/asoundlib-head.h patching file include/asoundlib.h patching file include/local.h patching file src/control/control.c patching file src/control/control_shm.c patching file src/pcm/pcm.c patching file src/pcm/pcm_direct.c patching file src/pcm/pcm_mmap.c patching file src/pcm/pcm_share.c patching file src/pcm/pcm_shm.c patching file src/shmarea.c Applying ./patches/005-fix_include_file_redirect_warnings.patch~ using plaintext: patching file src/seq/seq.c Hunk #1 FAILED at 777. 1 out of 1 hunk FAILED -- saving rejects to file src/seq/seq.c.rej patching file aserver/aserver.c Hunk #1 FAILED at 20. 1 out of 1 hunk FAILED -- saving rejects to file aserver/aserver.c.rej patching file include/asoundlib-head.h Hunk #1 FAILED at 35. 1 out of 1 hunk FAILED -- saving rejects to file include/asoundlib-head.h.rej patching file include/asoundlib.h Hunk #1 FAILED at 35. 1 out of 1 hunk FAILED -- saving rejects to file include/asoundlib.h.rej patching file include/local.h Hunk #1 FAILED at 47. 1 out of 1 hunk FAILED -- saving rejects to file include/local.h.rej patching file src/control/control.c Hunk #1 FAILED at 48. 1 out of 1 hunk FAILED -- saving rejects to file src/control/control.c.rej patching file src/control/control_shm.c Hunk #1 FAILED at 27. 1 out of 1 hunk FAILED -- saving rejects to file src/control/control_shm.c.rej patching file src/pcm/pcm.c Hunk #1 FAILED at 634. 1 out of 1 hunk FAILED -- saving rejects to file src/pcm/pcm.c.rej patching file src/pcm/pcm_direct.c Hunk #1 FAILED at 30. 1 out of 1 hunk FAILED -- saving rejects to file src/pcm/pcm_direct.c.rej patching file src/pcm/pcm_mmap.c Hunk #1 FAILED at 21. 1 out of 1 hunk FAILED -- saving rejects to file src/pcm/pcm_mmap.c.rej patching file src/pcm/pcm_share.c Hunk #1 FAILED at 34. 1 out of 1 hunk FAILED -- saving rejects to file src/pcm/pcm_share.c.rej patching file src/pcm/pcm_shm.c Hunk #1 FAILED at 36. 1 out of 1 hunk FAILED -- saving rejects to file src/pcm/pcm_shm.c.rej patching file src/shmarea.c Hunk #1 FAILED at 22. 1 out of 1 hunk FAILED -- saving rejects to file src/shmarea.c.rej Patch failed! Please fix ./patches/005-fix_include_file_redirect_warnings.patch~! make[3]: *** [/home/xhg/openwrt/build_dir/target-arm_cortex-a7_musl-1.1.14_eabi/alsa-lib-1.1.0/.prepared_88617a09304c4ea5b18efd15a6d978e3] Error 1 make[3]: Leaving directory `/home/xhg/openwrt/feeds/packages/libs/alsa-lib' make[2]: *** [package/feeds/packages/alsa-lib/compile] Error 2 make[2]: Leaving directory `/home/xhg/openwrt' make[1]: *** [/home/xhg/openwrt/staging_dir/target-arm_cortex-a7_musl-1.1.14_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/xhg/openwrt' make: *** [world] 错误 2 |
|
相关推荐
1个回答
|
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
786 浏览 0 评论
4210 浏览 0 评论
如何使用python调起UDE STK5.2进行下载自动化下载呢?
2520 浏览 0 评论
开启全新AI时代 智能嵌入式系统快速发展——“第六届国产嵌入式操作系统技术与产业发展论坛”圆满结束
2926 浏览 0 评论
获奖公布!2024 RT-Thread全球巡回线下培训火热来袭!报名提问有奖!
31442 浏览 11 评论
72901 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:36 , Processed in 0.482510 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号