0

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?

  • For being usable in a **module**, a function should be **exported**. I don't see in your kernel sources the call to corresponding `EXPORT_SYMBOL` or `EXPORT_SYMBOL_GPL` which would export the `net_log` symbol. – Tsyvarev Jul 17 '23 at 11:59
  • Right now I am not at home. I will try this as soon as I arrive home. Thanks for answer. – Running Child Jul 17 '23 at 15:41
  • @Tsyvarev thank you so much! It worked after exporting `net_log`. Please, right it as answer, so I can mark it as solving answer. – Running Child Jul 17 '23 at 19:15

0 Answers0