make[4]: Entering directory '/home/chen-docker/bin/apps/qnx_ap/target/hypervisor/host' make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Copying config files to staging location /home/chen-docker/bin/apps/qnx_ap/install/aarch64le/etc/system/config/slm /home/chen-docker/bin/apps/qnx_ap/../../prebuilt_QOS222/host/linux/x86_64/usr/bin/qnx_cp -fpc /home/chen-docker/bin/apps/qnx_ap/target/hypervisor/host/slm/config/*.xml /home/chen-docker/bin/apps/qnx_ap/install/aarch64le/etc/system/config/slm/ make[4]: Leaving directory '/home/chen-docker/bin/apps/qnx_ap/target/hypervisor/host/slm' /home/chen-docker/bin/apps/qnx_ap/target/hypervisor/host/create_images.sh: line 523: filepp: command not found编译出现以上错误,怎么解决?
时间: 2023-07-23 10:11:04 浏览: 61
根据您提供的错误信息,看起来是缺少了一个名为 `filepp` 的命令。`filepp` 是一个文件预处理器,可能是在编译过程中需要使用的工具。
要解决这个问题,您可以尝试以下几个步骤:
1. 检查是否已经安装了 `filepp` 工具。您可以在终端中运行 `which filepp` 命令来检查是否已经安装。如果没有安装,您需要先安装 `filepp` 工具。
2. 如果确定已经安装了 `filepp` 工具,但仍然出现此错误,请确保 `filepp` 工具所在的目录已经加入到系统的环境变量 `PATH` 中。您可以通过运行 `echo $PATH` 命令来查看当前的环境变量路径。
3. 如果 `filepp` 工具没有被正确安装,或者无法找到它的二进制文件,您可以尝试重新安装或配置它。具体操作取决于您使用的操作系统和软件包管理器。
请提供更多关于您的操作系统和编译环境的详细信息,以便我可以为您提供更准确的解决方案。
相关问题
make depend && make _all make[1]: Entering directory '/opt/openssl-1.1.1/openssl-1.1.1' make[1]: Leaving directory '/opt/openssl-1.1.1/openssl-1.1.1' make[1]: Entering directory '/opt/openssl-1.1.1/openssl-1.1.1' arm-linux-gnu-gcc -I. -Iinclude -fPIC -pthread -Wall -O3 -fomit-frame-pointer -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/opt/openssl-1.1.1/openssl-1.1.1/_install/ssl\"" -DENGINESDIR="\"/opt/openssl-1.1.1/openssl-1.1.1/_install/lib/engines-1.1\"" -DNDEBUG -c -o apps/app_rand.o apps/app_rand.c /bin/sh: 1: arm-linux-gnu-gcc: not found Makefile:720: recipe for target 'apps/app_rand.o' failed make[1]: *** [apps/app_rand.o] Error 127 make[1]: Leaving directory '/opt/openssl-1.1.1/openssl-1.1.1' Makefile:169: recipe for target 'all' failed make: *** [all] Error 2如何解决
To solve the issue, you need to install the `arm-linux-gnu-gcc` compiler. You can do this by following the steps below:
1. Check if the `arm-linux-gnu-gcc` compiler is already installed on your system by running the following command:
```
which arm-linux-gnu-gcc
```
If the command returns a path, then the compiler is already installed. Otherwise, you need to install it.
2. Install the `arm-linux-gnueabihf-gcc` package by running the following command:
```
sudo apt-get install gcc-arm-linux-gnueabihf
```
This will install the `arm-linux-gnueabihf-gcc` compiler on your system.
3. After installing the compiler, make sure that it is in the system path by running the following command:
```
export PATH=$PATH:/usr/bin/arm-linux-gnueabihf
```
This will add the `arm-linux-gnueabihf-gcc` compiler to the system path.
4. Finally, try to recompile the OpenSSL library again using the `make` command:
```
make depend && make _all
```
This should compile the OpenSSL library without any errors.
qt编译时循环make: Entering directory /mnt/hgfs/cx620/test-build-desktop' /opt/qtsdk-2010.05/qt/bin/qmake -spec /opt/qtsdk-2010.05/qt/mkspecs/linux-g++ CONFIG+=debug -o Makefile ../test/test.pro make: Leaving directory /mnt/hgfs/cx620/test-build-desktop'
这个输出信息表明你在使用Qt编译一个项目时,进入了项目的构建目录,并运行了qmake来生成Makefile,然后离开了构建目录,等待执行make命令来编译项目。
其中,qmake是Qt提供的一个生成Makefile的工具,通过读取.pro文件中的配置信息来生成Makefile。make命令则是用来编译项目的,它会根据Makefile文件中的规则来编译源代码,生成可执行文件。
这里的循环make可能是因为你的项目中包含了多个子目录,每个子目录都需要运行一次make来编译。所以在执行完一次make命令之后,又会进入下一个子目录进行编译,直到所有子目录都编译完毕。