When I try to compile an rtl8723au wifi driver for my laptop but I keep on getting the following error:

./include/linux/kernel.h:6:10: fatal error: stdarg.h: No such file or directory

My current solution is to add directory to compiler includes path like this:


But it is very bad solution, because I have to change compiler version (8.1.0 in above example) after each time when compiler updates. What is proper solution to this problem?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.