我正在尝试将Wilink8
WiFi模块与ZedBoard(Zync series SoC from Xilinx)
集成,当我试图编译我的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中描述的错误,或从驱动程序源代码中删除包含timestamp宏的行。