编译 openwrt 时候报如下错误:
Creating filesystem with parameters:
Size: 50331648
Block size: 4096
Blocks per group: 32768
Inodes per group: 6000
Inode size: 256
Journal blocks: 0
Label:
Blocks: 12288
Block groups: 1
Reserved blocks: 0
Reserved block group size: 7
error: ext4_allocate_best_fit_partial: failed to allocate 13 blocks, out of space?
make[5]: *** [mkfs-ext4] Error 1
解决办法:
make menuconfig
找到菜单项 ”Target Images”,”Root filesystem partition size (in MB)”
把值改大即可
出现这种情况通常都是修改编译菜单,加了很多东西后,导致编译出来的镜像比较大,如果运行在 raspberry,cubieboard 一些开发板上,改大无所谓
———————
作者:zmy12007
来源:CSDN
原文:https://blog.csdn.net/zmy12007/article/details/48199477
版权声明:本文为博主原创文章,转载请附上博文链接!
正文完
发表至: *NIX相关
2018-10-23