ubuntu编译qemu报错:‘ERROR: DTC (libfdt) version >= 1.4.0 not present.’

在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

ubuntu编译qemu报错:‘ERROR: DTC (libfdt) version >= 1.4.0 not present.’的相关文章

ubuntu编译qemu报错:‘ERROR: pixman >= 0.21.8 not present.’

在ubuntu14.04中用源码方式编译安装qemu时,执行/configure步骤提示错误: ./configure   ERROR: pixman >= 0.21.8 not present. Your options:          (1) Preferred: Install the pixman devel package (any recent              distro should have packages as Xorg needs pixman too).

编译 redis 报错 error: jemalloc/jemalloc.h: No such file or directory

gcc编译redis时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required" 原因是jemalloc重载了Linux下的ANSI C的malloc和free函数.解决办法:make时添加参数. make MALLOC=libc

在visual studio 2010+中调用ffmpeg编译时 报错error LNK xxxx: 模块对于 SAFESEH 映像是不安全的。

解决该错误的方法: 1.右键单击该项目选择“属性”. 2.在属性页中选择:配置选项->链接器->命令行. 3. 在命令行的“其他选项”中输入/SAFESEH:NO. 4.点击确定,从新编译即可通过.

VS2013编译protobuf报错:error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe

今天碰到这个问题,网上找了好久, 解决方法如下 VS2013编译protobuf报错:error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe 方法一 右键点击工程 -> 属性 -> C/C++ -> 常规 -> SDL检查 改为:否 (/sdl-) 编译 O了! 方法二 右键点击工程 -> 属性 -> C/C++ ->预处理器 添加宏定义 _SCL_SECUR

编译android4.4 报错error: call to '__property_get_too_small_error' declared with attribute 的处理 (转载)

转自:http://blog.csdn.net/syhost/article/details/14448899 完整的报错为: system/core/include/cutils/properties.h:64:39: error: call to '__property_get_too_small_error' declared with attribute error: property_get() called with too small of a bufferIn function

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你

centos7编译libiconv报错:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)

如题:配置编译参数通过,在进行 make 的时候报如下错误: In file included from progname.c:26:0: ./stdio.h:1010:1: error: 'gets' undeclared here (not in a function) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^ make[2]: *** [progname.o] Error 1

win10安装ubuntu系统,报错WslRegisterDistribution failed with error: 0x8007019e

原文链接:https://blog.csdn.net/qq_33033367/article/details/82820983 在windows应用商店安装ubuntu系统,报错WslRegisterDistribution failed with error: 0x8007019e 1.报错: Installing, this may take a few minutes... Installation Failed! Error: 0x8007019e Press any key to co