Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64095

qtserialport/src/serialport/qserialport_unix.cpp:70:8: error: redefinition of 'termios2'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.9.2
    • Fix Version/s: None
    • Component/s: Serial Port
    • Labels:
      None
    • Environment:

      Description

       |C:/Dev/Tools/Android/ndk64-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -D__ANDROID_API__=15 -target armv7-none-linux-androideabi -gcc-toolchain C:/Dev/Tools/Android/ndk64-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 -DANDROID_HAS_WSTRING --sysroot=C:/Dev/Tools/Android/ndk64-r15c/sysroot -isystem C:/Dev/Tools/Android/ndk64-r15c/sysroot/usr/include/arm-linux-androideabi -isystem C:/Dev/Tools/Android/ndk64-r15c/sources/cxx-stl/llvm-libc++/include -isystem C:/Dev/Tools/Android/ndk64-r15c/sources/android/support/include -isystem C:/Dev/Tools/Android/ndk64-r15c/sources/cxx-stl/llvm-libc++abi/include -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove -O2 -Oz -mthumb -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -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 -IC:/Dev/Libs/Qt5/src/qtserialport/src/serialport -I. -IC:/Dev/Libs/Qt5/src/qtserialport/src/serialport -I../../include -I../../include/QtSerialPort -I../../include/QtSerialPort/5.9.2 -I../../include/QtSerialPort/5.9.2/QtSerialPort -IC:/Dev/Libs/Qt5/build/android/qtbase/include/QtCore/5.9.2 -IC:/Dev/Libs/Qt5/build/android/qtbase/include/QtCore/5.9.2/QtCore -IC:/Dev/Libs/Qt5/build/android/qtbase/include -IC:/Dev/Libs/Qt5/build/android/qtbase/include/QtCore -I.moc -IC:/Dev/Libs/Qt5/src/qtbase/mkspecs/android-clang -o .obj/qserialport_unix.obj C:/Dev/Libs/Qt5/src/qtserialport/src/serialport/qserialport_unix.cpp
       |C:/Dev/Libs/Qt5/src/qtserialport/src/serialport/qserialport_unix.cpp:70:8: error: redefinition of 'termios2'
       |struct termios2 \{
       |       ^
       |C:/Dev/Tools/Android/ndk64-r15c/sysroot/usr/include\asm-generic/termbits.h:37:8: note: previous definition is here
       |struct termios2 \{
       |       ^
       |1 error generated.
       |mingw32-make[3]: *** [Makefile:1086: .obj/qserialport_unix.obj] Error 1
       |mingw32-make[3]: Leaving directory 'C:/Dev/Libs/Qt5/build/android/qtserialport/src/serialport'
      

      config.summary

      Building on: win32-g++ (arm, CPU features: <none>)
      Building for: android-clang (arm, CPU features: <none>)
      Configuration: cross_compile compile_examples precompile_header shared rpath release c++11 c++14 c++1z concurrent no-pkg-config reduce_exports stl
      Build options:
        Mode ................................... release
        Optimize release build for size ........ no
        Building shared libraries .............. yes
        Using C++ standard ..................... C++1z
        Using ccache ........................... no
        Using gold linker ...................... no
        Using new DTAGS ........................ no
        Using precompiled headers .............. yes
        Using LTCG ............................. no
        Target compiler supports:
          NEON ................................. no
        Build parts ............................ libs
        App store compliance ................... yes
      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... no
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      Support enabled for:
        Using pkg-config ....................... no
        QML debugging .......................... yes
        udev ................................... no
        Using system zlib ...................... yes
      Qt Core:
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ no
        GLib ................................... no
        iconv .................................. no
        ICU .................................... no
        Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
        Using system PCRE2 ..................... no
      Qt Network:
        getaddrinfo() .......................... yes
        getifaddrs() ........................... no
        IPv6 ifname ............................ no
        libproxy ............................... no
        OpenSSL ................................ no
          Qt directly linked to OpenSSL ........ no
        SCTP ................................... no
        Use system proxies ..................... yes
      Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
          Using system FreeType ................ no
        HarfBuzz ............................... yes
          Using system HarfBuzz ................ no
        Fontconfig ............................. no
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... no
          PNG .................................. yes
            Using system libpng ................ no
        EGL .................................... yes
        OpenVG ................................. no
        OpenGL:
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ yes
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... no
        INTEGRITY HID .......................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon-evdev ........................ no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ no
        VNC .................................... no
        Mir client ............................. no
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows Android
      Qt PrintSupport:
        CUPS ................................... no
      Qt Sql:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite2 ................................ no
        SQLite ................................. yes
          Using system provided SQLite ......... no
        TDS (Sybase) ........................... no
      Qt SerialBus:
        Socket CAN ............................. yes
        Socket CAN FD .......................... yes
      QtXmlPatterns:
        XML schema support ..................... yes
      Qt QML:
        QML interpreter ........................ yes
        QML network support .................... yes
      Qt Quick:
        Direct3D 12 ............................ no
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Qt Quick Designer .......... yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
      Qt Gamepad:
        SDL2 ................................... no
      Qt 3D:
        Assimp ................................. yes
        System Assimp .......................... no
        Output Qt3D Job traces ................. no
        Output Qt3D GL traces .................. no
      Qt 3D GeometryLoaders:
        Autodesk FBX ........................... no
      Qt Wayland Client ........................ no
      Qt Wayland Compositor .................... no
      Qt Bluetooth:
        BlueZ .................................. no
        BlueZ Low Energy ....................... no
        Linux Crypto API ....................... no
      Qt Sensors:
        sensorfw ............................... no
      Qt Quick Controls 2:
        Styles ................................. Default Material Universal
      Qt Quick Templates 2:
        Hover support .......................... yes
        Multi-touch support .................... yes
      Qt Positioning:
        Gypsy GPS Daemon ....................... no
        WinRT Geolocation API .................. no
      Qt Location:
        Geoservice plugins:
          OpenStreetMap ........................ yes
          HERE ................................. yes
          Esri ................................. yes
          Mapbox ............................... yes
          MapboxGL ............................. yes
          Itemsoverlay ......................... yes
      Qt Multimedia:
        ALSA ................................... no
        GStreamer 1.0 .......................... no
        GStreamer 0.10 ......................... no
        Video for Linux ........................ yes
        OpenAL ................................. no
        PulseAudio ............................. no
        Resource Policy (libresourceqt5) ....... no
        Windows Audio Services ................. no
        DirectShow ............................. no
        Windows Media Foundation ............... no
      
      Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                kuzulis Denis Shienkov
                Reporter:
                dmitry.sokolov Dmitry Sokolov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes