Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4842600
  • 博文数量: 930
  • 博客积分: 12070
  • 博客等级: 上将
  • 技术积分: 11448
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-15 16:57
文章分类

全部博文(930)

文章存档

2011年(60)

2010年(220)

2009年(371)

2008年(279)

分类: LINUX

2009-03-27 15:20:27

Steps to Reproduce:
1.make
2.
3.

Actual Results: 
HOSTCC scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in
this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported
only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’
make[3]: *** [scripts/mod/sumversion.o] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/home/david/Download/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1

Expected Results: 
compile the xen kernel

modifying linux-2.6.x/scripts/mod/sumversion.c, and adding #include
fixes this issue.
阅读(4480) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-03-29 09:56:18

Thank you so much!

chinaunix网友2009-09-10 11:53:46

谢谢您的帮助