[root@localhost turner]# arm-linux-gcc -D__KERNEL__
-I/opt/FriendlyARM/SBC2410/kernel/include -Wall -Wstrict-prototypes
-Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common
-fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi
-mshort-load-bytes -msoft-float -DMODULE -c -o sbc2410_led.o sbc2410_led.c
In file included from sbc2410_led.c:3:
/opt/FriendlyARM/SBC2410/kernel/include/linux/module.h:297: linux/version.h:
?????????
In file included from sbc2410_led.c:19:
/opt/FriendlyARM/SBC2410/kernel/include/linux/irq.h:69: asm/hw_irq.h:
?????????
In file included from
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/hardware.h:16,
from sbc2410_led.c:23:
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/arch/hardware.h:16:
asm/mach-types.h: ?????????
gpio.c:24: asm-arm/arch-s3c2410/s3c2410.h: ?????????
In file included from sbc2410_led.c:3:
/opt/FriendlyARM/SBC2410/kernel/include/linux/module.h:299: parse error
before `UTS_RELEASE'
等等。。。。。。
是什么原因?