I tried to compile rtl8188eus driver from aircrack's repo and while compiling I got 1 warning. Here is the full output(output was big): https://pastebin.com/Bh0ZL4Mc
Even if I got this warning, I still got 8188eu.ko and when I tried to load it to my Android, I got this error: Unknown symbol "net_log" (err 0)
Here you can find my kernel source: https://github.com/AzeAstro/samsung_kernel_sm7125/
Strange thing is that net_log
function is defined both in header file (include/linux/netlog.h
) and defined as function(net/core/net_ipc_log.c
)
I thought that it might be missing somewhere and ran grep -rnw . -e "netlog.h"
in the driver source directory and here is the output: https://pastebin.com/B52Gtn3L
It is defined almost in every file.
Why this error is happening and how can I fix this?