This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] WL1801MOD:构建与内核版本4.9+兼容的脚本

Guru**** 2424890 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/782787/wl1801mod-build-scripts-compatibility-with-kernel-version-4-9

器件型号:WL1801MOD

大家好、我在我的客户的前半部分上发帖。 终端器件型号:WL1871Q。

我正在努力将 WL1871Q 集成到我们的制造 Linux 版本中、我在构建指南中遇到了一些问题。

我要遵循的说明如下:

http://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts

 

执行完所有步骤后、我遇到 showstopper 错误导致编译过程崩溃、并出现 以下错误:

----------------------------------------------------------------------

/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless/backport-include/linux/cred.h:7:‘:‘S:“‘nssproxy”没有名为 user_ns’的成员;您是指“utes_ns”吗?

 #define CURRENT_USER_ns()(current->nsproxy->user_ns)

                      ^μ A

include/net/SCM.h:121:39:注:在‘Current_USER_ns’宏扩展中

  struct user_namespace * current_ns = current_user_ns ();

                    ^~~~~~~~~~~~~~~μ A

scripts/Makefile.build:258:目标'/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless/net/wireless/util.o 的配方失败

maked[6]:***[/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless/net/wireless/util.o 错误1

Scripts/Makefile.build:403:目标'/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless/net/wireless 的配方失败

maked[5]:***[/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless/net/wireless 错误2.

Makefile:1405:目标'_MODULE_/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless 的配方失败

maked[4]:***[_MODULE_/home/cmartin/Projects/Jacinto/tools/wilink_toolchain/build-utilites/src/compat_wireless 错误2.

Makefile.build:6:目标'modules'的配方失败

maked[3]:***[模块]错误2.

Makefile.Real:88:目标"模块"的配方失败

maked[2]:***[模块]错误2.

Makefile:42:目标"模块"的配方失败

maked[1]:***[模块]错误2.

Makefile:32:目标'DEFAULT'的配方失败

Make:***[默认值]错误2.

***** 错误0*****

----------------------------------------------------------------------

 

googling 该错误似乎与生成脚本使用"反向端口"以及我们的内核版本为4.9+这一事实有关、这与它不兼容。  

 

我们如何才能在我们的普通 Linux 版本中启用 BT/WiFi/GPS 平台。

 

 

此致、

Martín μ A

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    劳尔
    wl8 build 实用程序支持高达 Linux 内核4.4.x 的反向端口。 这就是您看到此错误的原因。
    对于内核4.2.x、您可以使用树中的 wl8内核驱动程序

    Saurabh