公众号【嵌入式er笔记】持续记录和分享C/C++、Linux、ARM、Android、IoT等技术相关知识,以及职场、生活经验和感悟。
分类: LINUX
2013-01-23 14:52:53
After some hunting around I found the following allowed me to compile kernel module under Natty.
$ cd /lib/modules/$(uname -r)/build/include
$ sudo ln -s $(gcc -print-file-name=include)/stdarg.h
This links stdarg.h to where the kernel makefiles will find it when it’s #included from the various kernel header files in Natty.