在ubuntu14.04中用源码方式编译安装qemu时,执行/configure步骤提示错误:
./configure ERROR: DTC (libfdt) version >= 1.4.0 not present. Your options: (1) Preferred: Install the DTC (libfdt) devel package (2) Fetch the DTC submodule, using: git submodule update --init dtc
于是,用apt-cache查找了关于libfdt的依赖包
apt-cache search libfdt libfdt-dev - Flat Device Trees manipulation library - development files libfdt1 - Flat Device Trees manipulation library
选择安装libfdt-dev那个包:
apt-get install libfdt-dev
时间: 2024-10-01 00:22:58