On Thu, Mar 29, 2018, 5:50 AM Toke Høiland-Jørgensen <toke@toke.dk> wrote:
Bret Towe <bret.towe@gmail.com> writes:

> for anyone seeing a compile error like the below on Arch Linux
>
>   CC [M]  /root/sch_cake/sch_cake.o
> In file included from ./include/linux/list.h:9:0,
>                  from ./include/linux/module.h:9,
>                  from /root/sch_cake/sch_cake.c:42:
> ./include/linux/kernel.h:6:10: fatal error: stdarg.h: No such file or directory
>  #include <stdarg.h>
>           ^~~~~~~~~~
> compilation terminated.

I was seeing the same issue on a full kernel compile, which was fixed by
make clean && make

-Toke

I had tried that and it made no difference for me