zoukankan      html  css  js  c++  java
  • s5pv210编译qt

    undefined reference to `rpl_malloc'

    编译tslib,执行make时提示undefined reference to `rpl_malloc'

    是因为config.h.in文件中有

    /* Define to rpl_malloc if the replacement function should be used. */
    #undef malloc

    把#undef malloc注释掉重新make即可

    requires installation of untrusted packages

    一、在源里面加入软件下载地址;
    二、直接用“sudo apt-get install 软件包名”这个命令安装。 在出现提示的时候按y,同意安装即可。



    error: main.o: Relocations in generic ELF (EM: 3)解决办法

    在编译arm版本的qt程序时,出现错误error: main.o: Relocations in generic ELF (EM: 3)。因为开始我的程序是编译成了x86版的程序,然后我想编译到arm下运行,编译的时候出现了上述错误。

    解决办法:进入你的工程目录,比如 hello-build-desktop,然后执行命令:make clean -w 。这个命令会删除一些文件,执行完后,你再重新编译应该就没错了

  • 相关阅读:
    Django 框架
    Git 教程
    Vue详解
    pycharm激活码
    通过元类创建一个Python类
    re模块
    selenium模块
    Beautifulsoup模块基础详解
    requests库
    Urllib库
  • 原文地址:https://www.cnblogs.com/elautoctrl/p/5140202.html
Copyright © 2011-2022 走看看