问题: 编译内核驱动模块的时候,提示缺少头文件 mmzone.h 、bounds.h...等 include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONE
编译下载的linux-source-2.6.32内核源码过程中,出现如下错误导致无法继续进行: ld: cannot find /ubuntu/omnibook/sections.lds: No such file or directory 原因与解决方法: 这是因为makefile中一处目录获取错误导致,修正一下即可。具体解决方法参考如下。 编辑文件 /usr/src/linux-so
使用VS2005以上版本(VS2005、VS2008、VS2010)编译在其他编译器下正常通过的C语言程序,你可能会遇到类似如下的警告提示: warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprec