busybox-1.31.1配置与编译

1.修改ARCH、CROSS_COMPILE

2.make defconfig

3.make menuconfig

Settings--->
	Build Options--->
		[*]Build static binary (no shared libs)		
	Library Tuning--->
		[*]vi-style line editing commands
		[*]Fancy shell prompts
	
	
Linux Module Utilities--->
	[ ]Simplified modutils
	[*]insmod
	[*]rmmod
	[*]lsmod
	[*]modprobe
	[*]depmod


(默认是选中的)	
Linux System Utilities--->
	[*]mdev
		[*]Support /etc/mdev.conf
		[*]Support subdirs/symlinks
		[*]Support regular expressions substitutions when renaming dev
		[*]Support command execution at device addition/removal
		[*]Support loading of firmwares
	[ ]nsenter


Coreutils--->
	[ ]sync

4.make
报错:
networking/libiproute/ipaddress.c: In function ‘print_addrinfo’:
networking/libiproute/ipaddress.c:333: error: ‘IFA_F_DADFAILED’ undeclared (first use in this function)
networking/libiproute/ipaddress.c:333: error: (Each undeclared identifier is reported only once
networking/libiproute/ipaddress.c:333: error: for each function it appears in.)
make[1]: *** [networking/libiproute/ipaddress.o] Error 1
make: *** [networking/libiproute] Error 2

修改
networking/libiproute/ipaddress.c:333:
添加条件编译
#ifdef IFA_F_DADFAILED 	//添加
		if (ifa->ifa_flags & IFA_F_DADFAILED) {
				ifa->ifa_flags &= ~IFA_F_DADFAILED;
				printf("dadfailed ");
		}
#endif			//添加

5.重新make

6.make install

7.制作ext2根文件系统rootfs
参考:http://blog.csdn.net/zhengmeifu/article/details/24174513

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
busybox pro汉化版 BusyBox 是标准 Linux 工具的一个单个可执行实现。BusyBox 包含了一些简单的工具,例如 cat 和 echo,还包含了一些更大、更复杂的工具,例如 grep、find、mount 以及 telnet。有些人将 BusyBox 称为 Linux 工具里的瑞士军刀。简单的说BusyBox就好像是个大工具箱,它集成压缩了 Linux 的许多工具和命令。 BusyBox是一个结合许多UNIX实用工具为一个小可执行程序的微小版本。它提供替代了你通常在GNU fileutils,shellutils等中发现的部分实用工具。 BusyBox的使用功能选项一般比其堂兄弟全功能的GNU少,然而,选项中包含提供与其功能和GNU非常相似。 BusyBox为任何小型或嵌入式系统提供了一个相当完整的环境。 BusyBox Pro主要功能特点: - 支持运行Linux的相关指令集; - 支持安装、卸载和恢复BusyBox; - 支持选择安装BusyBox的位置; - 支持重新安装或卸载小程序; - 支持智能或标准安装BusyBox功能; - 支持自动更新BusyBox版本; - 支持智能或标准卸载BusyBox功能; - 支持选择或下载自定义BusyBox版本; 更新日志: v11.0: - Support for devices with Intel processors! - Backup and Restore feature removed in lieu of a better backup feature forthcoming. - Re-wrote entire install process. - Reduced application size. - Fixed Nullpointer and Index out of range exceptions. v10.9: - fixed an issue where busybox provided the “sh” symlink which when using smart install and chosen to overwrite the existing sh applet could cause issues v10.8: - 添加 busybox 1.22.1! - 针对NDK进行编译 - 降低应用大小 BusyBox Pro v10.5: - 修复若干错误以及增强对整体设备的支持,并使用全新的RootTools 3.4库 v10.4: - 在BusyBox 1.21.1版本中添加回Nohup命令 v10.3 - 修复电池标记数据库迁移 - 轻微的图表更新 - 新的图标和小程序”启动-停止-守护程序”被添加到 Busybox 的最新版本 v10.2: - 新增“readlink”小程序 - 修正了空指针异常。 BusyBox Pro v10.0 专业版 主要更新日志: - 更换新图标和“启动 – 停止守护”小程序添加到Busybox最新版本; BusyBox Pro v9.8 - 修复最后一个处理在弹出的错误,不应该再返回时,选择没有。 v9.7.9 -修复复选框没有经过适当的检查当新的功能被启用的 错误。 v9.7.3: - 新增 fuser 到 1.21.0 - 新增 access_superuser 权限 v9.7.2: - 更新Busybox二进制来添加”readlink”和”nohup”小程序 v9.7.1: - 修复某些导致崩溃的问题 v9.6.7: - 增加某些新设置和确认是否创建备份的功能

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值