[ZLG-ARM] magic2410中编译led驱动程序的问题

[复制链接]
1945|1
 楼主| chen_yuan 发表于 2007-9-2 15:37 | 显示全部楼层 |阅读模式
编译中出现如下错误:<br />arm-linux-gcc&nbsp;-O2&nbsp;-Wall&nbsp;-D__KERNEL__&nbsp;-DMODULE&nbsp;-I/zylinux/kernel/include&nbsp;-I.&nbsp;-march=armv4t&nbsp;-c&nbsp;-o&nbsp;-mapcs&nbsp;-c&nbsp;magic-leds.c&nbsp;-o&nbsp;magic-leds.o<br />In&nbsp;file&nbsp;included&nbsp;from&nbsp;/zylinux/kernel/include/asm/hardware.h:18,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;magic-leds.c:48:<br />/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/arch/hardware.h:16:&nbsp;asm/mach-types.h:&nbsp;?????????<br />make:&nbsp;***&nbsp;[magic-leds.o]&nbsp;Error&nbsp;1<br />请问硬如何解决,谢谢!<br />
zlgARM 发表于 2007-9-2 17:37 | 显示全部楼层

chen_yuan

您好:<br />&nbsp;&nbsp;该产品一般不针对个人用户提供任何技术支持。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

14

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部