ubuntu 10 编译内核 2.6.18 错误处理

遇到问题 scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use inthis function)
网上搜了搜,发现有人在源码linux/scripts/mod/sumversion.c中加入了include <limits.h>就好了。我试了一下,果然好了。 
原文地址:https://www.cnblogs.com/ahuo/p/2542554.html