找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6714|回复: 15

Lede x86 编译出错,换了好几个系统都不好使

[复制链接]
make[4]: Leaving directory `/home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpa_supplicant'
export MAKEFLAGS=""; x86_64-openwrt-linux-musl-gcc -o /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpad -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2:hostapd-2018-05-21-62566bc2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto ./files/multicall.c /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/hostapd/hostapd_multi.a /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpa_supplicant/wpa_supplicant_multi.a -L/home/d/lede/staging_dir/target-x86_64_musl/usr/lib -L/home/d/lede/staging_dir/target-x86_64_musl/lib -L/home/d/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/usr/lib -L/home/d/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/lib -znow -zrelro -Wl,--gc-sections -flto=jobserver -fuse-linker-plugin -lubox -lubus
/home/d/lede/tmp/cctcGG7z.ltrans12.ltrans.o: In function `ap_sta_add':
<artificial>.text.ap_sta_add+0x19e): undefined reference to `sta_track_claim_taxonomy_info'
collect2: error: ld returned 1 exit status
make[3]: *** [/home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/.built] Error 1
make[3]: Leaving directory `/home/d/lede/package/network/services/hostapd'
time: package/network/services/hostapd/wpad-full-internal/compile#34.82#2.82#41.15
make[2]: *** [package/network/services/hostapd/compile] Error 2
make[2]: Leaving directory `/home/d/lede'
make[1]: *** [/home/d/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/d/lede'
make: *** [world] 错误 2


我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
一直fan greatwall,ping google很稳定
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

恩山不是有编译的帖子 你去下载一个

点评

就是照着帖子一步步来还是错误  详情 回复 发表于 2018-11-8 15:29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我这几天也尝试自己编译,折腾好久除了第一次成功了后面全都失败,搞不清楚问题出在哪里。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
假好人。 发表于 2018-11-8 13:37
恩山不是有编译的帖子 你去下载一个

就是照着帖子一步步来还是错误
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

获取一下最新版本 git pull
把之前的.config删除
重新make menuconfig

make clean
在重新编译一下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你使用了哪些系统?

点评

ubuntu 14 16 18 debian9 centos7  详情 回复 发表于 2018-11-29 09:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
lunksana 发表于 2018-11-28 16:22
你使用了哪些系统?

ubuntu 14 16 18 debian9 centos7

点评

依赖库是否全部安装了?是否是gcc版本的问题  详情 回复 发表于 2018-11-29 10:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ddvc 发表于 2018-11-29 09:16
ubuntu 14 16 18 debian9 centos7

依赖库是否全部安装了?是否是gcc版本的问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 basncy 于 2018-11-30 22:50 编辑

戒了戒了戒了戒了戒了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
把所有的无线网卡都去掉了?

点评

是得,我得软路由没有无线功能,全都去了,是这个原因妈  详情 回复 发表于 2018-12-3 09:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
lm317379829 发表于 2018-12-2 18:17
把所有的无线网卡都去掉了?

是得,我得软路由没有无线功能,全都去了,是这个原因妈

点评

是的,无线网卡驱动都去掉了,但hostapd-common以及wpa相关部分没有去掉,就会报错。 将Network下面的wpa相关部分以及上面的hostapd-common去掉即可。wpa部分依赖hostapd-common,所以需要先取消wpa部分,hostapd-c  详情 回复 发表于 2018-12-3 15:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ddvc 发表于 2018-12-3 09:03
是得,我得软路由没有无线功能,全都去了,是这个原因妈

是的,无线网卡驱动都去掉了,但hostapd-common以及wpa相关部分没有去掉,就会报错。
将Network下面的wpa相关部分以及上面的hostapd-common去掉即可。wpa部分依赖hostapd-common,所以需要先取消wpa部分,hostapd-common会自动取消。

点评

多谢指点,已经编译成功  详情 回复 发表于 2021-11-22 21:46
大佬!!!搞了几天了都快疯了,被你一句话解决,跪了!  详情 回复 发表于 2020-2-22 19:24
谢谢,编译成功了  详情 回复 发表于 2018-12-4 20:52

评分

参与人数 1恩山币 +1 收起 理由
shik*** + 1 原来是这样

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
lm317379829 发表于 2018-12-3 15:30
是的,无线网卡驱动都去掉了,但hostapd-common以及wpa相关部分没有去掉,就会报错。
将Network下面的wp ...

谢谢,编译成功了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

lm317379829 发表于 2018-12-3 15:30
是的,无线网卡驱动都去掉了,但hostapd-common以及wpa相关部分没有去掉,就会报错。
将Network下面的wp ...

大佬!!!搞了几天了都快疯了,被你一句话解决,跪了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 19:16

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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