qt5 embeded compile

#!/bin/bash
./configure -prefix /home/shell.albert/oristar/build \
-release \
-opensource \
-confirm-license \
-no-c++11 \
-shared \
-process \
-largefile \
-accessibility \
-qt-sql-sqlite \
-qt-sql-mysql \
-plugin-sql-sqlite \
-plugin-sql-mysql \
-no-qml-debug \
-no-sse2 \
-no-sse3 \
-no-ssse3 \
-no-sse4.1 \
-no-sse4.2 \
-no-avx \
-no-avx2 \
-no-mips_dsp \
-no-mips_dspr2 \
-no-pkg-config \
-qt-zlib \
-mtdev \
-no-journald \
-qt-libpng \
-qt-libjpeg \
-qt-freetype \
-no-harfbuzz \
-openssl \
-qt-pcre \
-qt-xcb \
-xkb-config-root \
-qt-xkbcommon \
-xinput2 \
-xcb-xlib \
-glib \
-no-pulseaudio \
-no-alsa \
-no-gtkstyle \
-make libs \
-make tools \
-nomake examples \
-verbose \
-no-nis \
-no-cups \
-iconv \
-evdev \
-icu \
-fontcofig \
-strip \
-no-pch \
-dbus \
-xcb \
-no-eglfs \
-directfb \
-linuxfb \
-no-kms \
-qpa xcb  \
-xplatform linux-arm-gnueabi-g++  \
-qreal float \
-no-opengl




Running configuration tests...

Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
Determining architecture... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -g -Wall -W -fPIE  -I../../mkspecs/linux-arm-gnueabi-g++ -I. -o arch.o arch.cpp
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++  -o arch arch.o    
    Found architecture in binary
CFG_ARCH="arm"
CFG_CPUFEATURES=""
Determining architecture... ()
g++ -c -pipe -g -Wall -W -fPIE  -I../../mkspecs/linux-g++ -I. -o arch.o arch.cpp
g++  -o arch arch.o    
    Found architecture in binary
CFG_HOST_ARCH="x86_64"
CFG_HOST_CPUFEATURES=" mmx sse sse2"
System architecture: 'arm'
Host architecture: 'x86_64'
floatmath auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o floatmath.o floatmath.cpp
floatmath.cpp:44: warning: unused parameter 'argc'
floatmath.cpp:44: warning: unused parameter 'argv'
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -Wl,-O1 -o floatmath floatmath.o    
floatmath enabled.
sse2 auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -msse2 -g -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o sse2.o sse2.cpp
cc1plus: error: unrecognized command line option "-msse2"
Makefile:376: recipe for target 'sse2.o' failed
gmake: *** [sse2.o] Error 1
sse2 disabled.
mtdev auto-detection... ()
Project ERROR: mtdev development package not found
mtdev disabled.
DB2 auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o db2.o db2.cpp
db2.cpp:42:20: error: sqlcli.h: No such file or directory
db2.cpp:43:21: error: sqlcli1.h: No such file or directory
Makefile:376: recipe for target 'db2.o' failed
gmake: *** [db2.o] Error 1
DB2 disabled.
InterBase auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o ibase.o ibase.cpp
ibase.cpp:42:19: error: ibase.h: No such file or directory
Makefile:376: recipe for target 'ibase.o' failed
gmake: *** [ibase.o] Error 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/usr/include/mysql -o mysql.o ../mysql/mysql.cpp
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -Wl,-O1 -o mysql_r mysql.o   -L/usr/lib64 -lpthread -lz -lm -lssl -lcrypto -ldl -lmysqlclient_r
/opt/arm/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/lib64/libz.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Makefile:166: recipe for target 'mysql_r' failed
gmake: *** [mysql_r] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/usr/include/mysql -o mysql.o mysql.cpp
/opt/arm/4.4.3/bin/arm-none-linux-gnueabi-g++ -Wl,-O1 -o mysql mysql.o   -L/usr/lib64 -lpthread -lz -lm -lssl -lcrypto -ldl -lmysqlclient
/opt/arm/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值