linux-2.6.39内核编译时meminfo有问题
fs/proc/meminfo.c:135:1: directives may not be used inside a macro argument
fs/proc/meminfo.c:134:50: unterminated argument list invoking macro "K"
fs/proc/meminfo.c: In function `meminfo_proc_show':
fs/proc/meminfo.c:139: `K' undeclared (first use in this function)
fs/proc/meminfo.c:139: (Each undeclared identifier is reported only once
fs/proc/meminfo.c:139: for each function it appears in.)
fs/proc/meminfo.c:139: warning: too few arguments for format
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: parse error before ')' token
make[2]: *** [fs/proc/meminfo.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2
fs/proc/meminfo.c:134:50: unterminated argument list invoking macro "K"
fs/proc/meminfo.c: In function `meminfo_proc_show':
fs/proc/meminfo.c:139: `K' undeclared (first use in this function)
fs/proc/meminfo.c:139: (Each undeclared identifier is reported only once
fs/proc/meminfo.c:139: for each function it appears in.)
fs/proc/meminfo.c:139: warning: too few arguments for format
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: warning: left-hand operand of comma expression has no effect
fs/proc/meminfo.c:166: parse error before ')' token
make[2]: *** [fs/proc/meminfo.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2
作者: xiongmin123 发布时间: 2011-05-24
头文件包含的不对吧
作者: yong_f 发布时间: 2011-05-24
请指点一下 是缺少什么头文件吗
作者: xiongmin123 发布时间: 2011-05-24