[root@localhost linux-2.6.14.1]# make zImage CHK include/linux/version.h make[1]: “include/asm-arm/mach-types.h”是最新的。 CHK include/linux/compile.h dnsdomainname: 主机名搜索失败 CHK usr/initramfs_list CC arch/arm/mach-s3c2410/devs.o arch/arm/mach-s3c2410/devs.c:1: error: parse error before numeric constant arch/arm/mach-s3c2410/devs.c:4: error: stray '@' in program arch/arm/mach-s3c2410/devs.c:13: error: syntax error before '{' token arch/arm/mach-s3c2410/devs.c:14: error: stray '@' in program In file included from include/linux/kernel.h:10, from arch/arm/mach-s3c2410/devs.c:21: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/include/stdarg.h:105: error: parse error before "va_list" In file included from arch/arm/mach-s3c2410/devs.c:21: include/linux/kernel.h:102: error: parse error before "va_list" include/linux/kernel.h:103: warning: function declaration isn't a prototype include/linux/kernel.h:106: error: parse error before "va_list" include/linux/kernel.h:107: warning: function declaration isn't a prototype include/linux/kernel.h:110: error: parse error before "va_list" include/linux/kernel.h:111: warning: function declaration isn't a prototype include/linux/kernel.h:115: error: parse error before "va_list" include/linux/kernel.h:116: warning: function declaration isn't a prototype include/linux/kernel.h:127: error: parse error before "va_list" include/linux/kernel.h:128: warning: function declaration isn't a prototype make[1]: *** [arch/arm/mach-s3c2410/devs.o] 错误 1 make: *** [arch/arm/mach-s3c2410] 错误 2
找了好久都没发现kernel.h中有什么语法错误。。。。。。 望高手帮忙啊 。。。。。。。 |