标签:
一般出现该错误是由于应用程序是32位导致的,可以使用file命令来查看:
wsh@ubuntu:~/Desktop$ file make_ext4fs make_ext4fs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped wsh@ubuntu:~/Desktop$可以从上面看到make_ext4fs为32位程序,所以我们需要让64位机支持运行32位应用。
执行下面两条命令即可解决问题:
sudo apt-get install lib32c-dev
sudo apt-get install lib32stdc++6
wsh@ubuntu:~/Desktop$ ./make_ext4fs Expected filename after options make_ext4fs [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ] [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ] [ -L <label> ] [ -f ] [ -a <android mountpoint> ] [ -S file_contexts ] [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] <filename> [<directory>] wsh@ubuntu:~/Desktop$
bash: ./make_ext4fs: No such file or directory 错误解决方法
标签:
原文地址:http://blog.csdn.net/wang_shuai_ww/article/details/46646855