Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.12
Description
c:\utils\android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -D__ANDROID_API__=16 --sysroot=c:\utils\android-ndk-r16b/sysroot -isystem c:\utils\android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi -isystem c:\utils\android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem c:\utils\android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -mthumb -Os -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wno-missing-field-initializers -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SERIALPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I..\..\include -I..\..\include\QtSerialPort -I..\..\include\QtSerialPort\5.12.0 -I..\..\include\QtSerialPort\5.12.0\QtSerialPort -Ic:\Users\qt\work\install\include\QtCore\5.12.0 -Ic:\Users\qt\work\install\include\QtCore\5.12.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -I.moc -Ic:\utils\openssl-android-master\include -Ic:\Users\qt\work\install\mkspecs\android-g++ -o .obj\qserialport.obj qserialport.cpp agent:2018/08/02 09:20:12 build.go:187: qserialport_unix.cpp:77:8: error: redefinition of 'struct termios2' agent:2018/08/02 09:20:12 build.go:187: struct termios2 { agent:2018/08/02 09:20:12 build.go:187: ^ agent:2018/08/02 09:20:12 build.go:187: In file included from c:\utils\android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi/asm/termbits.h:19:0, agent:2018/08/02 09:20:12 build.go:187: from c:\utils\android-ndk-r16b/sysroot/usr/include/asm-generic/termios.h:21, agent:2018/08/02 09:20:12 build.go:187: from c:\utils\android-ndk-r16b/sysroot/usr/include/arm-linux-androideabi/asm/termios.h:19, agent:2018/08/02 09:20:12 build.go:187: from c:\utils\android-ndk-r16b/sysroot/usr/include/linux/termios.h:22, agent:2018/08/02 09:20:12 build.go:187: from c:\utils\android-ndk-r16b/sysroot/usr/include/sys/ioctl.h:38, agent:2018/08/02 09:20:12 build.go:187: from c:\utils\android-ndk-r16b/sysroot/usr/include/termios.h:32, agent:2018/08/02 09:20:12 build.go:187: from qserialport_p.h:69, agent:2018/08/02 09:20:12 build.go:187: from qserialport_unix.cpp:42: agent:2018/08/02 09:20:12 build.go:187: c:\utils\android-ndk-r16b/sysroot/usr/include/asm-generic/termbits.h:34:8: error: previous definition of 'struct termios2' agent:2018/08/02 09:20:12 build.go:187: struct termios2 { agent:2018/08/02 09:20:12 build.go:187: ^
Attachments
Issue Links
- is required for
-
QTBUG-64095 qtserialport/src/serialport/qserialport_unix.cpp:70:8: error: redefinition of 'termios2'
- Closed
- resulted from
-
QTQAINFRA-1681 Install latest NDK on Android build machines to prepare for switch to clang
- Closed
- resulted in
-
QTBUG-70360 Allow building of QSerialBus without QSerialPort
- Closed