您的位置:首页 > 编程语言 > Qt开发

s5pv210编译qt

2016-01-18 18:53 501 查看

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 。这个命令会删除一些文件,执行完后,你再重新编译应该就没错了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: