天嵌 ARM开发社区

 找回密码
 注册
查看: 2431|回复: 2

编译并安装busybox的问题啊,急急解决a

[复制链接]
cherrypopkaokao 发表于 2009-12-15 00:52:08 | 显示全部楼层 |阅读模式
在编译busybox时,在下载到调试menuconfig后,先make,程序执行了,然后make install,出现了下面的代码:
ot@localhost busybox-1.13.0]# make install
  CC      miscutils/watchdog.o
In file included from miscutils/watchdog.c:13:
/usr/include/linux/watchdog.h:17: parse error before "__u32"
/usr/include/linux/watchdog.h:19: parse error before "identity"
/usr/include/linux/watchdog.h:20: 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

在busybox中也没有_install的文件夹。请问这是怎么回事啊。
 楼主| cherrypopkaokao 发表于 2009-12-15 15:48:17 | 显示全部楼层
我刚刚自己解决了问题,是这样的,我下载了busybox 包的最新的版本,然后修改了config文件,就没有问题了。
亚瑟王 发表于 2009-12-17 18:47:30 | 显示全部楼层
这个错误应该和解压的源码有关。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-27 03:37 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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