天嵌 ARM开发社区

 找回密码
 注册
查看: 1680|回复: 7

busybox编译出错并且和大家的错误都不一样!亚瑟王出来帮帮忙吧!

[复制链接]
cumtwys 发表于 2010-9-2 14:34:53 | 显示全部楼层 |阅读模式
In file included from miscutils/watchdog.c:13:
/usr/include/linux/watchdog.h:18: parse error before "__u32"
/usr/include/linux/watchdog.h:20: parse error before "identity"
/usr/include/linux/watchdog.h:21: parse error before '}' token
miscutils/watchdog.c: In function `watchdog_main':
miscutils/watchdog.c:60: `WDIOC_SETTIMEOUT' undeclared (first use in this function)
miscutils/watchdog.c:60: (Each undeclared identifier is reported only once
miscutils/watchdog.c:60: for each function it appears in.)
make[1]: *** [miscutils/watchdog.o] Error 1
make: *** [miscutils] Error 2
高手给解答办法啊!亚瑟王!!!
machoe 发表于 2010-9-2 15:17:23 | 显示全部楼层
你的编译环境是什么,编译器是什么?
天嵌_support1 发表于 2010-9-2 15:26:57 | 显示全部楼层
你用什么版本的编译器
 楼主| cumtwys 发表于 2010-9-3 09:07:00 | 显示全部楼层
2# machoe
都是高手纳!果然是编译器的问题!HOHO!谢谢大家!
machoe 发表于 2010-9-3 10:04:16 | 显示全部楼层
请把你的解决方法贴出来吧,以方便后来人。
 楼主| cumtwys 发表于 2010-9-3 14:27:24 | 显示全部楼层
5# machoe
是没有修改编译器和编译环境!
yujinelei 发表于 2011-4-17 22:21:05 | 显示全部楼层
6# cumtwys
使用:arm-linux-gcc EmbedSky_wdg.c -o EmbedSky_wdg
便可。
wudaidangfen 发表于 2011-4-21 22:55:56 | 显示全部楼层
刚开始学习一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-7-7 21:50 , Processed in 1.031250 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表