gpt4 book ai didi

linux - 制作失败 : make: *** [sub-corelib-install_subtargets-ordered] Error 2

转载 作者:太空宇宙 更新时间:2023-11-04 09:24:53 24 4
gpt4 key购买 nike

我在虚拟盒子和 64 位操作系统中使用 Ubuntu 14.04

我尝试使用“gcc-linaro-arm-linux-gnueabihf-4.7”交叉编译器交叉编译 Qt-everywhere 4.8.6,并在执行“make”时出现以下错误

make[1]: Entering directory `/home/user/qt-everywhere-opensource-src-4.8.6
/src/corelib'
/usr/local/linaro/bin/arm-linux-gnueabihf-gcc (The path depends where the Toolchain has been installed) -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-linaro-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-static-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-static-emb-arm -o .obj/release-static-emb-arm/adler32.o ../3rdparty/zlib/adler32.c
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [.obj/release-static-emb-arm/adler32.o] Error 2
make[1]: Leaving directory `/home/user/qt-everywhere-opensource-src-4.8.6/src/corelib'
make: *** [sub-corelib-install_subtargets-ordered] Error 2

.configure脚本没有问题

谁能帮帮忙,这是什么原因?

最佳答案

此文本不属于您对 gcc 的调用:

(The path depends where the Toolchain has been installed)

删除它以消除错误。

关于linux - 制作失败 : make: *** [sub-corelib-install_subtargets-ordered] Error 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37571176/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com