找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1091|回复: 4

编译 带usb的padavan 出错! 三个文件都改设置了!! 编译不成功!

[复制链接]
发表于 2018-12-8 12:53 | 显示全部楼层 |阅读模式
本帖最后由 moleboy 于 2018-12-8 15:27 编辑

/opt/rt-n56u/trunk/configs/templates/k2P_nanousb.config
### Enable USB support
CONFIG_FIRMWARE_ENABLE_USB=y

/opt/rt-n56u/trunk/configs/boards/K2P/kernel-3.4.x.config

CONFIG_USB_ARCH_HAS_OHCI=y

CONFIG_USB_ARCH_HAS_EHCI=y

CONFIG_USB_ARCH_HAS_XHCI=y

CONFIG_USB_SUPPORT =y

/opt/rt-n56u/trunk/configs/boards/K2P/board.mk
CFLAGS += -DBOARD_K2P
BOARD_NUM_USB_PORTS=1


终端会提示一堆和usb相关的 n/m/y (no/??/yes)
这个中间的m是什么意思?
编译出错
开启usb 就编译不成功。。
/opt/rt-n56u/trunk/user/wireless_tools/libiw.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
web_ex.o.data.rel+0x40c): undefined reference to `ej_get_usb_ports_info'
collect2: ld returned 1 exit status
Makefile:58: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/httpd'
Makefile:226: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:209: recipe for target 'user_only' failed
make: *** [user_only] Error 2
我的恩山、我的无线 The best wifi forum is right here.
发表于 2018-12-8 16:02 | 显示全部楼层
有现成的,你非要去折腾什么劲。有能力去解决下padavan不能多拨的问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-8 16:08 | 显示全部楼层
我是小白 只有先把别人的固件编译使用成功 才能自己研究别的!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-8 17:37 | 显示全部楼层
求大神指点
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-14 19:45 | 显示全部楼层
求大神指点
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 06:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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