找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3199|回复: 6

openwrt mtk-wifi-gpl 编译出错

[复制链接]
make[3]: Entering directory `/home/kang/5350/trunk/package/mtk-wifi-gpl-master/openwrt/mtk-wifi-gpl'
mkdir -p /home/kang/5350/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26
ln -s /home/kang/5350/trunk/package/mtk-wifi-gpl-master/openwrt/mtk-wifi-gpl/../../.git /home/kang/5350/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26
(cd /home/kang/5350/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26; git checkout .)
fatal: Not a git repository (or any of the parent directories): .git
make[3]: *** [/home/kang/5350/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26/.prepared_54514ea10cced929caa5e51907c7a162] Error 128
make[3]: Leaving directory `/home/kang/5350/trunk/package/mtk-wifi-gpl-master/openwrt/mtk-wifi-gpl'
make[2]: *** [package/mtk-wifi-gpl-master/openwrt/mtk-wifi-gpl/compile] Error 2
make[2]: Leaving directory `/home/kang/5350/trunk'
make[1]: *** [/home/kang/5350/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/kang/5350/trunk'
make: *** [world] 错误 2
kang@kang:~/5350/trunk$



哪位大神帮忙解决下呢
我的恩山、我的无线 The best wifi forum is right here.
你下载 mtk-wifi-gpl 的方式不对啊,少了.git 目录
https://github.com/openwrt/mtk-w ... fi-gpl/Makefile#L29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不要下载zip包,用git clone检出代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
非常感谢众位
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
/home/kang/7620A/tesr/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include/mac80211/net/cfg80211.h:4475:6: note: declared here
bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm,
      ^
make[5]: *** [/home/kang/7620A/tesr/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26/os/linux/../../os/linux/cfg80211/cfg80211_util.o] Error 1
make[4]: *** [_module_/home/kang/7620A/tesr/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26/os/linux] Error 2
make[4]: Leaving directory `/home/kang/7620A/tesr/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.14.18'
make[3]: *** [/home/kang/7620A/tesr/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26/.built] Error 2
make[3]: Leaving directory `/home/kang/7620A/tesr/trunk/package/mtk-wifi-gpl/openwrt/mtk-wifi-gpl'
make[2]: *** [package/mtk-wifi-gpl/openwrt/mtk-wifi-gpl/compile] Error 2
make[2]: Leaving directory `/home/kang/7620A/tesr/trunk'
make[1]: *** [/home/kang/7620A/tesr/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/kang/7620A/tesr/trunk'
make: *** [world] 错误 2


请问这种错误,谁可以帮忙看下吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
/home/kang/7620A/tesr/trunk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/mtk-wifi-gpl-2014-09-26/os/linux/../../os/linux/cfg80211/cfg80211_util.c:955:5: error: too many arguments to function 'cfg80211_rx_mgmt'
     GFP_ATOMIC);
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
求解决方法,感谢大家的支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 06:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表