On this day, August 29, 2021, thus sayeth Krish Jain: > > > > > > Hi, what option do you mean? I already ran make allmodconfig and sudo > > > make modules_install install and then make "CCFLAGS=-Werror W=1 > > > M=drivers/staging/android/" and now I do get output but one line > > > "WARNING: Symbol version dump "Module.symvers" is missing. Modules may > > > not have dependencies or modversions. You may get many unresolved > > > symbol warnings." . Then I tried "make CCFLAGS=-Werror V=1 > > > M=drivers/staging/android/" and that outputted the following: > > > > > > > Most of the answers you're asking for are going to get vague responses > > (if any) on the mailing lists. The idea being (and I agree with) that > > giving out the answers will steal your opportunity to explore and learn > > the material yourself. > > > > Yes, it would be faster if we told you the answer, but ultimately, we > > would be doing a disservice to you. > > > > Besides, more times than not we (me especially) don't have the answer. > > > > With that said, I will give a (generous) hint. :) > > > > Hi. Do I have to build the kernel once before this works? Or can I > just build a module directly? > Again, do not allow others to rob you of learning how to solve these issues yourself. I *strongly* encourage you to familiarize yourself with the Kernel Build System in the Documentation. https://www.kernel.org/doc/html/latest/kbuild/modules.html Specifically the first paragraph of "2. How to Build External Modules" It may seem like a lot for such a simple issue but it *is* worth it. ~Bryan