一般出现该错误是因为应用程序是32位导致的,能够使用file命令来查看:
[email protected]:~/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 [email protected]:~/Desktop$
能够从上面看到make_ext4fs为32位程序,所以我们须要让64位机支持执行32位应用。
运行以下两条命令就可以解决这个问题:
sudo apt-get install lib32c-dev
sudo apt-get install lib32stdc++6
再执行make_ext4fs就不会报错了:
[email protected]:~/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>] [email protected]:~/Desktop$
时间: 2024-10-10 06:08:39