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

时间:2016-10-09 10:23:15

标签: linux makefile build linux-kernel embedded-linux

我正在尝试将Wilink8 WiFi模块与ZedBoard(Zync series SoC from Xilinx)集成,当我尝试编译我的linux-Kernel以创建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

你能帮助我纠正这个问题。

1 个答案:

答案 0 :(得分:0)

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