linux - 为 Wilink8 模块构建内核时出现问题

标签 linux makefile build linux-kernel embedded-linux

我正在尝试将 Wilink8 WiFi 模块与 ZedBoard(Xilinx 的 Zync 系列 SoC) 集成,当我尝试编译我的 linux- 内核以创建 uImage ,我收到以下错误:

In file included from drivers/net/wireless/ti/wlcore/main.c:43:0:
drivers/net/wireless/ti/wlcore/version.h:1:39: error: macro "__TIMESTAMP__" might prevent reproducible builds [-Werror=date-time]static const char *wlcore_timestamp = __TIMESTAMP__;

drivers/net/wireless/ti/wlcore/main.c:5911:2: warning: initialization from incompatible pointer type 
.sched_scan_stop = wl1271_op_sched_scan_stop,

drivers/net/wireless/ti/wlcore/main.c:5911:2: warning: (near initialization for 'wl1271_ops.sched_scan_stop')
cc1: some warnings being treated as errors
make[5]: *** [drivers/net/wireless/ti/wlcore/main.o] Error 1
make[4]: *** [drivers/net/wireless/ti/wlcore] Error 2
make[3]: *** [drivers/net/wireless/ti] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

你能帮我纠正一下吗。

最佳答案

您可以禁用将此警告视为错误,如 this post 中所述或从驱动程序源代码中删除包含时间戳宏的行。

关于linux - 为 Wilink8 模块构建内核时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39942497/

相关文章:

c++ - Eclipse C++ 项目未解析 LD_LIBRARY_PATH 包含变量

Python + Flask 网络应用报告 "[Errno 9] Bad file descriptor"与 pexpect 模块

python - 后台运行python,需要先获取用户输入

c++ - 如果我使用 scanf 程序终止

c++ - 生成文件错误 3

c - FFmpeg:构建示例 C 代码

用emscripten编译SDL/SDL2导致重定义错误

makefile - 获取 GNU make 中文件夹的基本名称

c# - Visual Studio 2012 MVC 构建错误 : The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity'

c++ - msvc + GNU 制作