SSD201 QT移植编译错误解决

book@100ask:~/SSD201/qt-everywhere-src-5.15.0$ ./make.sh
mkdir: cannot create directory ‘install’: File exists

  • cd qtbase
  • /home/book/SSD201/qt-everywhere-src-5.15.0/qtbase/configure -top-level -prefix /home/book/SSD201/qt-everywhere-src-5.15.0/install -static
    Creating qmake…
    .Done.

Selecting Qt Edition.

Type ‘c’ if you want to use the Commercial Edition.
Type ‘o’ if you want to use the Open Source Edition.

Which edition of Qt do you want to use?
Which edition of Qt do you want to use?
Which edition of Qt do you want to use? o

This is the Qt Open Source Edition.

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 3
or the GNU General Public License (GPL) version 2.

Type ‘L’ to view the GNU Lesser General Public License version 3 (LGPLv3).
Type ‘G’ to view the GNU General Public License version 2 (GPLv2).
Type ‘y’ to accept this license offer.
Type ‘n’ to decline this license offer.

Do you accept the terms of either license? y

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————

lcms2 ................................ no
png .................................. no
JPEG ................................. no
harfbuzz ............................. no
freetype ............................. no
xkbcommon ............................ no

Note: Also available for Linux: linux-clang linux-icc

Note: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

Note: The following modules are not being compiled in this configuration:
3dcore
3drender
webenginecore
webengine
webenginewidgets
pdf
pdfwidgets

WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
On macOS, you can use Homebrew’s llvm package.
On Windows, you must set LLVM_INSTALL_DIR to the installation path.

WARNING: Tool gperf is required to build QtWebEngine.

WARNING: QtWebEngine will not be built.

WARNING: QtPdf will not be built.

ERROR: The OpenGL functionality tests failed!
You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

Check config.log for details.
./make.sh: line 8: -release: command not found
make: *** No targets specified and no makefile found. Stop.
make: Nothing to be done for ‘install’.

错误:
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.

警告:QDoc无法编译,可能是因为无法找到libclang。这意味着您无法构建Qt文档。
在Linux系统上,您可以通过安装libclang-dev或libclang-devel软件包来安装libclang,具体取决于您的发行版。

解决方法:

sudo apt-get install libclang-dev #安装结束还存在该错误建议重启虚拟机。

undefined reference to

inline定义的内联函数最终会影响到交叉编译及生成库文件

错误问题在于,内联函数声明在调用内联函数之后,头文件中已经声明了部分函数,导致最终调用到内联
错误输出:(.text+0x13): undefined reference to `xxxx’ ->交叉编译

​ undefined reference to ‘xxxx’-> 生成的库文件调用后

问题解决:

成功代码:arm-linux-gnueabihf-gcc -fpic -O2 -c mqtt_2.c -o mqtt.o

失败代码:arm-linux-gnueabihf-gcc -fpic (-O0) -c mqtt_2.c -o mqtt.o

Ubuntu 安装软件时 Authentication failure 需要输入root密码

sudo passwd root #重设unix密码

linux开发板出现Read-only file system的解决办法

创建文件夹出现如下提示

mkdir: can’t create directory ‘xxx’: Read-only file system

使用命令以下命令即可解决:

mount rw -o remount /

小明分享|嵌入式LINUX开发日志-错误汇总①相关推荐

  1. 嵌入式Linux开发——解决uboot无法使用nfs服务从ubuntu中下载文件(TTT、cannot mount等错误)

    前言: 最近在学习正点原子嵌入式Linux开发板uboot的移植实验,移植完之后想测试网络部分的驱动能否工作正常.最后经过测试发现tftp可以正常下载,nfs却一直报错无法下载文件,最后也是折磨了两天 ...

  2. C语言到嵌入式Linux开发项目指导

    C语言到嵌入式Linux开发项目指导 第一阶段C语言 1.常量与变量,数据类型,数据类型转换,数据输入与输出: 2.C语言运算符,C语言操作符,C语言表达式,表达式优先级: 3.C语言流程控制,分支, ...

  3. 嵌入式linux开发环境搭建(VMware16.0.0+Ubuntu16.04.3_X64)

    目录 一.安装VMware 1.VMware介绍 2.安装VMware16.0.0 二.安装ubuntu16.04.3 LTS 1.Ubuntu介绍 2.下载安装包iso 3.安装 四.新安装Ubun ...

  4. 嵌入式linux开发,对pcf8563时钟操作报错:rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.

    一.问题描述. 嵌入式linux开发,对pcf8563时钟操作报错如下: [root@ms ~]# hwclock -s rtc-pcf8563 0-0051: low voltage detecte ...

  5. 基于ARM的嵌入式Linux开发平台

    在进行嵌入式系统的开发时,首先面临的难题就是如何挑选一个适合自己的开发平台.ARM系列处理器是专门针对嵌入式设备设计的,是目前构造嵌入式系统硬件平台的首选.本文将介绍如何挑选适合实际需要的嵌入式开发平 ...

  6. 嵌入式Linux开发教程:Linux常见命令(上篇)

    摘要:这是对周立功编著的<嵌入式Linux开发教程>的第7期连载.本期刊载内容有关LinuxLinux常见命令中的导航命令.目录命令和文件命令.下一期将连载网络操作命令.安装卸载文件系统等 ...

  7. 我的嵌入式linux开发步骤

    我的嵌入式linux开发步骤: 1.       安装虚拟机,见<安装及使用心得>,选择桥接模式 2.       虚拟机串口设置,见<VMare里linux使用MINCOM通信&g ...

  8. 嵌入式 Linux 开发工具篇问题整理//C语言测试(杨辉三角、递归调用实现阶乘、计算器、统计字符串出现次数)//2018.07.12.//

    嵌入式 Linux 开发工具篇问题整理 1. 嵌入式开发与传统开发的区别?(同类问题:单片机开发与嵌入式开发的区别)             是否有无操作系统:     2. 移植操作系统的好处有哪些 ...

  9. 第六、七章 嵌入式Linux开发

    第六.七章 嵌入式Linux开发 BIOS读取硬盘最前面512字节(MBR),MBR中只能存储一个OS的引导记录,如多系统则会出现问题 MBR包含部分或全部Bootloader及分区表 Bootloa ...

最新文章

  1. 老子不想考试了!英国计算机系学生黑掉校长邮箱:倒闭学校,取消考试
  2. 《HTTP权威指南》– 5.Web服务器
  3. vs2010MFC D3D播放YUV格式视频详细制作全过程
  4. JasperReport:声明周期
  5. Linux debian 查看CPU温度
  6. 压力测试之apache benchmark
  7. aspectj 注解
  8. 每日站立会议 12.04
  9. mp3中不可缺少的音乐
  10. html5临时保存与永久保存,5种方法永久保存网页内容
  11. Scala学习笔记2 (Lang上篇)
  12. C++表达式语句实训 对 26 个大写英文字母进行循环加密,输入一个大写英文字母(明文)和一个整数秘钥,输出用秘钥对该大写英文字母加密后的结果(密文)。
  13. 2019/9/6工学结合周记
  14. MFC中listctrl图片拖拽效果
  15. 博主熬夜手写个SpringMVC框架
  16. fpga电平约束有什么作用_Xilinx FPGA的约束设计和时序分析总结
  17. RISC-V CSR 相关指令集
  18. Windows 11最新版中恢复IE11浏览器的方法2023更新
  19. 服务器信息列表下架关闭,龙王传说服务器关闭下架公告
  20. 开发Go语言IDE推荐

热门文章

  1. 车联网行业No.1元征科技的云端架构实现
  2. Fix Missing Scripts
  3. 不积跬步无以至千里[转]
  4. 10 个 GitHub 上最火的程序员简历项目,2021 金三银四必备!
  5. SpringBatch顺序读取多文件(MultiResourceItemReader)和顺序写文件(MultiResourceItemWriter)(二)
  6. Go gin使用html模板
  7. kubesphere添加新节点
  8. k8s安装kubesphere的环境准备:资源规划、默认存储类StorageClass(nfs-client-provisioner)
  9. Scala函数简化写法
  10. Python Django 可变参数*与**的区别