Chinaunix首页 | 论坛 | 博客
  • 博客访问: 610728
  • 博文数量: 168
  • 博客积分: 1053
  • 博客等级: 少尉
  • 技术积分: 1187
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-30 17:20
个人简介

公众号【嵌入式er笔记】持续记录和分享C/C++、Linux、ARM、Android、IoT等技术相关知识,以及职场、生活经验和感悟。

文章分类

全部博文(168)

Bug

分类: 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.

阅读(1136) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~