我正在尝试为 x86 平台构建带有 Qt 支持的 Buildroot,这就是我得到的:
Creating qmake. Please wait...
make[1]: Entering directory `/home/userpc/Downloads/buildroot/output/build/qt-4.8.5/qmake'
make[1]: Leaving directory `/home/userpc/Downloads/buildroot/output/build/qt-4.8.5/qmake'
You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!
make[1]: Entering directory `/home/userpc/Downloads/buildroot/output/build/qt-4.8.5/config.tests/unix/endian'
rm -f endiantest.o
rm -f *~ core *.core
rm -f endiantest
rm -f Makefile
make[1]: Leaving directory `/home/userpc/Downloads/buildroot/output/build/qt-4.8.5/config.tests/unix/endian'
The system floating point format could not be detected.
This may cause data to be generated in a wrong format
Turn on verbose messaging (-v) to see the final report.
./configure: 7688: ./configure: /home/userpc/Downloads/buildroot/output/host/usr/bin/i686-buildroot-linux-uclibc-g++: not found
Error: QtScript was requested, but it can't be built on this platform.
make: *** [/home/userpc/Downloads/buildroot/output/build/qt-4.8.5/.stamp_configured] Error 1
我正在使用 Buildroot 工具链并启用了 C++ 支持。目标体系结构是 i386,变体是 i686。