• 7625阅读
  • 2回复

[提问]Qt5.3移植到arm上时 配置过程出错 [复制链接]

上一主题 下一主题
离线smaller
 

只看楼主 倒序阅读 楼主  发表于: 2015-10-20
imx 283
cpu arm926ej-s

修改:qtbase/mkspecs/linux-arm-gnueabi-g++

#
# qmake configuration for building with arm-linux-gnueabi-g++
#

MAKEFILE_GENERATOR      = UNIX
CONFIG                 += incremental
QMAKE_INCREMENTAL_STYLE = sublib

#添加cpu型号根据实际修改
QT_QPA_DEFAULT_PLATFORM = linuxfb
#http://www.arm.com/zh/products/processors/classic/arm9/arm926.php
#http://blog.sina.com.cn/s/blog_602f87700100kaa3.html
QMAKE_CFLAGS_RELEASE   +=-O2 -march=armv5te
QMAKE_CXXFLAGS_RELEASE +=-O2 -march=armv5te
#结束

include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)

#添加内容tslib
QMAKE_INCDIR += /home/seaso/Qt_install/tslib/include
QMAKE_LIBDIR += /home/seaso/Qt_install/tslib/lib
#结束

#修改编译
# modifications to g++.conf
QMAKE_CC                = arm-linux-gcc
QMAKE_CXX               = arm-linux-g++
QMAKE_LINK              = arm-linux-g++
QMAKE_LINK_SHLIB        = arm-linux-g++

#QMAKE_CC                = arm-linux-gnueabi-gcc
#QMAKE_CXX               = arm-linux-gnueabi-g++
#QMAKE_LINK              = arm-linux-gnueabi-g++
#QMAKE_LINK_SHLIB        = arm-linux-gnueabi-g++

# modifications to linux.conf
QMAKE_AR                = arm-linux-ar cqs
QMAKE_OBJCOPY           = arm-linux-objcopy
QMAKE_NM                = arm-linux-nm -P
QMAKE_STRIP             = arm-linux-strip

#QMAKE_AR                = arm-linux-gnueabi-ar cqs
#QMAKE_OBJCOPY           = arm-linux-gnueabi-objcopy
#QMAKE_NM                = arm-linux-gnueabi-nm -P
#QMAKE_STRIP             = arm-linux-gnueabi-strip

修改完毕!
/configure -v -prefix /home/seaso/Qt_install/arm -release -make libs -xplatform linux-arm-gnueabi-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender  -no-separate-debug-info -nomake examples -nomake tool

错误提示如下:
Project ERROR: mtdev development package not found
make: *** 没有指明目标并且找不到 makefile。 停止。
mtdev disabled.
libpng auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o libpng.o libpng.cpp
arm-linux-g++ -Wl,-O1 -o libpng libpng.o   -L/home/seaso/Qt_install/tslib/lib -lpng
libpng enabled.
DB2 auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -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
make: *** [db2.o] 错误 1
DB2 disabled.
InterBase auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o ibase.o ibase.cpp
ibase.cpp:42:19: error: ibase.h: No such file or directory
make: *** [ibase.o] 错误 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] 错误 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o mysql.o mysql.cpp
mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] 错误 1
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o oci.o oci.cpp
oci.cpp:42:17: error: oci.h: No such file or directory
make: *** [oci.o] 错误 1
OCI disabled.
ODBC auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o odbc.o odbc.cpp
odbc.cpp:45:17: error: sql.h: No such file or directory
odbc.cpp:46:20: error: sqlext.h: No such file or directory
make: *** [odbc.o] 错误 1
ODBC disabled.
iODBC auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o iodbc.o iodbc.cpp
iodbc.cpp:42:17: error: sql.h: No such file or directory
iodbc.cpp:43:20: error: sqlext.h: No such file or directory
make: *** [iodbc.o] 错误 1
iODBC disabled.
PostgreSQL auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o psql.o psql.cpp
psql.cpp:42:22: error: libpq-fe.h: No such file or directory
psql.cpp: In function 'int main(int, char**)':
psql.cpp:46: error: 'PQescapeBytea' was not declared in this scope
psql.cpp:47: error: 'PQunescapeBytea' was not declared in this scope
make: *** [psql.o] 错误 1
PostgreSQL disabled.
SQLite2 auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o sqlite2.o sqlite2.cpp
sqlite2.cpp:42:20: error: sqlite.h: No such file or directory
make: *** [sqlite2.o] 错误 1
SQLite2 disabled.
TDS auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o tds.o tds.cpp
tds.cpp:42:22: error: sybfront.h: No such file or directory
tds.cpp:43:19: error: sybdb.h: No such file or directory
make: *** [tds.o] 错误 1
TDS disabled.
POSIX iconv auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o iconv.o iconv.cpp
arm-linux-g++ -Wl,-O1 -o iconv iconv.o   -L/home/seaso/Qt_install/tslib/lib
POSIX iconv enabled.
D-Bus auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o dbus.o dbus.cpp
dbus.cpp:43:23: error: dbus/dbus.h: No such file or directory
dbus.cpp:46:2: error: #error Needs at least dbus version 1
dbus.cpp: In function 'int main(int, char**)':
dbus.cpp:51: error: 'dbus_shutdown' was not declared in this scope
make: *** [dbus.o] 错误 1
D-Bus disabled.
ICU auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o icu.o icu.cpp
icu.cpp:42:28: error: unicode/utypes.h: No such file or directory
icu.cpp:43:26: error: unicode/ucol.h: No such file or directory
icu.cpp:44:29: error: unicode/ustring.h: No such file or directory
icu.cpp: In function 'int main(int, char**)':
icu.cpp:48: error: 'UErrorCode' was not declared in this scope
icu.cpp:48: error: expected ';' before 'status'
icu.cpp:49: error: 'UCollator' was not declared in this scope
icu.cpp:49: error: 'collator' was not declared in this scope
icu.cpp:49: error: 'status' was not declared in this scope
icu.cpp:49: error: 'ucol_open' was not declared in this scope
icu.cpp:50: error: 'U_FAILURE' was not declared in this scope
icu.cpp:52: error: 'ucol_close' was not declared in this scope
make: *** [icu.o] 错误 1
ICU disabled.
PulseAudio auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o pulseaudio.o pulseaudio.cpp
pulseaudio.cpp:42:30: error: pulse/pulseaudio.h: No such file or directory
pulseaudio.cpp:43:33: error: pulse/glib-mainloop.h: No such file or directory
pulseaudio.cpp:46:3: error: #error "Incompatible PulseAudio API version"
pulseaudio.cpp:48:22: error: missing binary operator before token "("
pulseaudio.cpp: In function 'int main(int, char**)':
pulseaudio.cpp:54: error: 'pa_get_headers_version' was not declared in this scope
pulseaudio.cpp:55: error: 'pa_get_library_version' was not declared in this scope
pulseaudio.cpp:56: error: 'pa_glib_mainloop_new' was not declared in this scope
make: *** [pulseaudio.o] 错误 1
PulseAudio disabled.
FontConfig auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o fontconfig.o fontconfig.cpp
fontconfig.cpp:42:22: error: ft2build.h: No such file or directory
fontconfig.cpp:43:10: error: #include expects "FILENAME" or <FILENAME>
fontconfig.cpp:44:35: error: fontconfig/fontconfig.h: No such file or directory
fontconfig.cpp:47:4: error: #error "This version of fontconfig is tool old, it is missing the FC_RGBA_UNKNOWN define"
fontconfig.cpp:51:4: error: #error "This version of freetype is too old."
fontconfig.cpp: In function 'int main(int, char**)':
fontconfig.cpp:56: error: 'FT_Face' was not declared in this scope
fontconfig.cpp:56: error: expected ';' before 'face'
fontconfig.cpp:57: error: 'face' was not declared in this scope
fontconfig.cpp:58: error: 'FcPattern' was not declared in this scope
fontconfig.cpp:58: error: 'pattern' was not declared in this scope
make: *** [fontconfig.o] 错误 1
FontConfig disabled.
libudev auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o libudev.o libudev.cpp
libudev.cpp:42:21: error: libudev.h: No such file or directory
libudev.cpp: In function 'int main()':
libudev.cpp:46: error: 'udev' was not declared in this scope
libudev.cpp:46: error: 'u' was not declared in this scope
libudev.cpp:46: error: 'udev_new' was not declared in this scope
libudev.cpp:47: error: 'udev_unref' was not declared in this scope
make: *** [libudev.o] 错误 1
libudev disabled.
evdev auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o evdev.o evdev.cpp
arm-linux-g++ -Wl,-O1 -o evdev evdev.o   -L/home/seaso/Qt_install/tslib/lib
evdev enabled.
XLib auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o xlib.o xlib.cpp
xlib.cpp:42:22: error: X11/Xlib.h: No such file or directory
xlib.cpp: In function 'int main(int, char**)':
xlib.cpp:46: error: 'Display' was not declared in this scope
xlib.cpp:46: error: 'd' was not declared in this scope
xlib.cpp:46: error: 'NULL' was not declared in this scope
xlib.cpp:46: error: 'XOpenDisplay' was not declared in this scope
xlib.cpp:47: error: 'XCloseDisplay' was not declared in this scope
make: *** [xlib.o] 错误 1
XLib disabled.
XInput2 auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o xinput2.o xinput2.cpp
xinput2.cpp:42:22: error: X11/Xlib.h: No such file or directory
xinput2.cpp:43:36: error: X11/extensions/XInput2.h: No such file or directory
xinput2.cpp:44:32: error: X11/extensions/Xge.h: No such file or directory
xinput2.cpp:47:4: error: #error "Missing XInput_2_0 #define"
xinput2.cpp: In function 'int main(int, char**)':
xinput2.cpp:53: error: 'Display' was not declared in this scope
xinput2.cpp:53: error: 'dpy' was not declared in this scope
xinput2.cpp:54: error: 'XEvent' was not declared in this scope
xinput2.cpp:54: error: expected ';' before 'xevent'
xinput2.cpp:55: error: 'xevent' was not declared in this scope
xinput2.cpp:55: error: 'XGetEventData' was not declared in this scope
xinput2.cpp:56: error: 'XFreeEventData' was not declared in this scope
xinput2.cpp:59: error: 'XIEvent' was not declared in this scope
xinput2.cpp:59: error: 'xievent' was not declared in this scope
xinput2.cpp:62: error: 'XIDeviceEvent' was not declared in this scope
xinput2.cpp:62: error: 'xideviceevent' was not declared in this scope
xinput2.cpp:65: error: 'XIHierarchyEvent' was not declared in this scope
xinput2.cpp:65: error: 'xihierarchyevent' was not declared in this scope
xinput2.cpp:70: error: 'Atom' was not declared in this scope
xinput2.cpp:70: error: 'atoms' was not declared in this scope
xinput2.cpp:70: error: 'XIListProperties' was not declared in this scope
xinput2.cpp:72: error: 'XFree' was not declared in this scope
make: *** [xinput2.o] 错误 1
XInput2 disabled.
xcb auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o xcb.o xcb.cpp
xcb.cpp:42:21: error: xcb/xcb.h: No such file or directory
xcb.cpp: In function 'int main(int, char**)':
xcb.cpp:47: error: 'xcb_connection_t' was not declared in this scope
xcb.cpp:47: error: 't' was not declared in this scope
xcb.cpp:47: error: 'xcb_connect' was not declared in this scope
make: *** [xcb.o] 错误 1
xcb disabled.
LinuxFB auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o linuxfb.o linuxfb.cpp
arm-linux-g++ -Wl,-O1 -o linuxfb linuxfb.o   -L/home/seaso/Qt_install/tslib/lib
LinuxFB enabled.
KMS auto-detection... ()
Project ERROR: libdrm development package not found
make: *** 没有指明目标并且找不到 makefile。 停止。
KMS disabled.
EGL auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o egl.o egl.cpp
egl.cpp:42:21: error: EGL/egl.h: No such file or directory
egl.cpp: In function 'int main(int, char**)':
egl.cpp:46: error: 'EGLint' was not declared in this scope
egl.cpp:46: error: expected ';' before 'x'
egl.cpp:47: error: 'EGLDisplay' was not declared in this scope
egl.cpp:47: error: expected ';' before 'dpy'
egl.cpp:48: error: 'EGLContext' was not declared in this scope
egl.cpp:48: error: expected ';' before 'ctx'
egl.cpp:49: error: 'dpy' was not declared in this scope
egl.cpp:49: error: 'ctx' was not declared in this scope
egl.cpp:49: error: 'eglDestroyContext' was not declared in this scope
make: *** [egl.o] 错误 1
EGL disabled.
FreeType auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o freetype.o freetype.cpp
freetype.cpp:42:22: error: ft2build.h: No such file or directory
freetype.cpp:43:10: error: #include expects "FILENAME" or <FILENAME>
freetype.cpp:46:4: error: #error "This version of freetype is too old."
freetype.cpp: In function 'int main(int, char**)':
freetype.cpp:51: error: 'FT_Face' was not declared in this scope
freetype.cpp:51: error: expected ';' before 'face'
freetype.cpp:52: error: 'face' was not declared in this scope
make: *** [freetype.o] 错误 1
FreeType disabled.
STL auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o stltest.o stltest.cpp
stltest.cpp: In function 'int main()':
stltest.cpp:146: warning: unused variable 'n'
arm-linux-g++ -Wl,-O1 -o stl stltest.o   -L/home/seaso/Qt_install/tslib/lib
STL enabled.
POSIX clock_gettime() auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o clock-gettime.o clock-gettime.cpp
arm-linux-g++ -Wl,-O1 -o clock-gettime clock-gettime.o   -L/home/seaso/Qt_install/tslib/lib -lrt
POSIX clock_gettime() enabled.
POSIX Monotonic Clock auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o clock-monotonic.o clock-monotonic.cpp
arm-linux-g++ -Wl,-O1 -o clock-monotonic clock-monotonic.o   -L/home/seaso/Qt_install/tslib/lib -lrt
POSIX Monotonic Clock enabled.
posix_fallocate auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o posix_fallocate.o posix_fallocate.cpp
arm-linux-g++ -Wl,-O1 -o posix_fallocate posix_fallocate.o   -L/home/seaso/Qt_install/tslib/lib
posix_fallocate enabled.
mremap auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o mremap.o mremap.cpp
arm-linux-g++ -Wl,-O1 -o mremap mremap.o   -L/home/seaso/Qt_install/tslib/lib
mremap enabled.
getaddrinfo auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o getaddrinfotest.o getaddrinfotest.cpp
arm-linux-g++ -Wl,-O1 -o getaddrinfo getaddrinfotest.o   -L/home/seaso/Qt_install/tslib/lib
getaddrinfo enabled.
inotify auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o inotifytest.o inotifytest.cpp
arm-linux-g++ -Wl,-O1 -o inotify inotifytest.o   -L/home/seaso/Qt_install/tslib/lib
inotify enabled.
eventfd auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o main.o main.cpp
arm-linux-g++ -Wl,-O1 -o eventfd main.o   -L/home/seaso/Qt_install/tslib/lib
eventfd enabled.
IPv6 interface name auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o ipv6ifname.o ipv6ifname.cpp
arm-linux-g++ -Wl,-O1 -o ipv6ifname ipv6ifname.o   -L/home/seaso/Qt_install/tslib/lib
IPv6 interface name enabled.
getifaddrs auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o getifaddrs.o getifaddrs.cpp
arm-linux-g++ -Wl,-O1 -o getifaddrs getifaddrs.o   -L/home/seaso/Qt_install/tslib/lib
getifaddrs enabled.
PCRE auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o pcre.o pcre.cpp
pcre.cpp:42:18: error: pcre.h: No such file or directory
pcre.cpp:45:2: error: #error This PCRE version is not supported
make: *** [pcre.o] 错误 1
PCRE disabled.
OpenVG auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o openvg.o openvg.cpp
openvg.cpp:48:23: error: VG/openvg.h: No such file or directory
openvg.cpp: In function 'int main(int, char**)':
openvg.cpp:53: error: 'VGint' was not declared in this scope
openvg.cpp:53: error: expected ';' before 'i'
openvg.cpp:54: error: 'i' was not declared in this scope
openvg.cpp:55: error: 'vgFlush' was not declared in this scope
make: *** [openvg.o] 错误 1
OpenVG disabled.
OpenVG auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o openvg.o openvg.cpp
openvg.cpp:48:23: error: VG/openvg.h: No such file or directory
openvg.cpp: In function 'int main(int, char**)':
openvg.cpp:53: error: 'VGint' was not declared in this scope
openvg.cpp:53: error: expected ';' before 'i'
openvg.cpp:54: error: 'i' was not declared in this scope
openvg.cpp:55: error: 'vgFlush' was not declared in this scope
make: *** [openvg.o] 错误 1
OpenVG disabled.
OpenVG (lc includes) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE -DQT_LOWER_CASE_VG_INCLUDES -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o openvg.o openvg.cpp
openvg.cpp:46:23: error: vg/openvg.h: No such file or directory
openvg.cpp: In function 'int main(int, char**)':
openvg.cpp:53: error: 'VGint' was not declared in this scope
openvg.cpp:53: error: expected ';' before 'i'
openvg.cpp:54: error: 'i' was not declared in this scope
openvg.cpp:55: error: 'vgFlush' was not declared in this scope
make: *** [openvg.o] 错误 1
OpenVG (lc includes) disabled.
OpenVG (lc includes) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE -DQT_LOWER_CASE_VG_INCLUDES -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o openvg.o openvg.cpp
openvg.cpp:46:23: error: vg/openvg.h: No such file or directory
openvg.cpp: In function 'int main(int, char**)':
openvg.cpp:53: error: 'VGint' was not declared in this scope
openvg.cpp:53: error: expected ';' before 'i'
openvg.cpp:54: error: 'i' was not declared in this scope
openvg.cpp:55: error: 'vgFlush' was not declared in this scope
make: *** [openvg.o] 错误 1
OpenVG (lc includes) disabled.
alsa auto-detection... ()
arm-linux-g++ -c -pipe -O2 -march=armv5te -O2 -march=armv5te -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o alsatest.o alsatest.cpp
alsatest.cpp:42:28: error: alsa/asoundlib.h: No such file or directory
alsatest.cpp:44:2: error: #error "Alsa version found too old, require >= 1.0.10"
alsatest.cpp:47: warning: unused parameter 'argc'
alsatest.cpp:47: warning: unused parameter 'argv'
make: *** [alsatest.o] 错误 1
alsa disabled.
Testing size of pointers ... (/home/seaso/work/arm/qtbase/mkspecs/linux-arm-gnueabi-g++ yes /home/seaso/work/arm/qtbase /home/seaso/work/arm/qtbase)
rm -f ptrsizetest.o
rm -f *~ core *.core
arm-linux-g++ -c -pipe -g -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/home/seaso/Qt_install/tslib/include -I/home/seaso/Qt_install/tslib/include -o ptrsizetest.o ptrsizetest.cpp
ptrsizetest.cpp: In function 'int main(int, char**)':
ptrsizetest.cpp:59: error: 'PointerSize' is not a member of 'QPointerSizeTest<4>'
make: *** [ptrsizetest.o] 错误 1
Pointer size: 4

   Configure summary

Building on:   linux-g++ (i386, CPU features:)
Building for:  linux-arm-gnueabi-g++ (arm, CPU features:)
Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx
        
qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV DEFINES += QT_NO_LIBUDEV QMAKE_X11_PREFIX = /usr sql-drivers =  sqlite sql-plugins =  qmake switches .........

Build options:
  Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap no-harfbuzz no-pkg-config pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config system-png zlib
  Build parts ............  libs
  Mode ................... release
  Using C++11 ............ yes
  Using PCH .............. yes
  Target compiler supports:
    iWMMXt/Neon .......... no/auto

Qt modules and options:
  Qt D-Bus ............... no
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. yes
  Large File ............. yes
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... no
  CUPS ................... no
  Evdev .................. yes
  FontConfig ............. no
  FreeType ............... yes (bundled copy)
  Glib ................... no
  GTK theme .............. no
  HarfBuzz ............... no
  Iconv .................. yes
  ICU .................... no
  Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using bundled copy)
    PNG .................. yes (in QtGui, using system library)
  journald ............... no
  mtdev .................. no
  Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. no
  NIS .................... no
  OpenGL / OpenVG:
    EGL .................. no
    OpenGL ............... no
    OpenVG ............... no
  PCRE ................... yes (bundled copy)
  pkg-config ............. no
  PulseAudio ............. no
  QPA backends:
    DirectFB ............. no
    EGLFS ................ no
    KMS .................. no
    LinuxFB .............. yes
    XCB .................. no
  Session management ..... yes
  SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... qt-qt
    TDS .................. no
  udev ................... no
  xkbcommon .............. no
  zlib ................... yes (bundled copy)

NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
Configure with '-qreal float' to create a build that is binary compatible with 5.1.
Info: creating super cache file /home/seaso/work/arm/.qmake.super

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /home/seaso/Qt_install/arm

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
离线hezf

只看该作者 1楼 发表于: 2015-10-20
我配置了几天也没整明白
放弃了
不知道原理是啥
一头包
none
离线smaller

只看该作者 2楼 发表于: 2015-10-20
回 hezf 的帖子
hezf:我配置了几天也没整明白
放弃了
不知道原理是啥
一头包[表情]  (2015-10-20 15:53) 

5.3的 编译过了,正在搞移植,这两天测试一下就有结果了。配置的时候加-v就出错 不知道什么原因,去掉只有警告。
快速回复
限100 字节
 
上一个 下一个