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

Socketcan backend compile issue on old kernels

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.0 Beta2
    • 5.14.1
    • SerialBus: CAN Bus
    • None
    • yocto linux 3.10.35-ltsi
      i686-linux-gnu-gcc 5.5.0 20171010
    • 16817cba8720797f20c6d8e638614356d909529b (qt/qtserialbus/5.15)

    Description

      Got error while building qt:
      qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h:91:5: error: ‘canfd_frame’ does not name a type

      Related bug QTBUG-51932

      Patch https://codereview.qt-project.org/c/qt/qtserialbus/+/153530 fixes this issue but only if these redefines are moved from socketcanbackend.cpp to socketcanbackend.h

      I suppose the issue also is related to all qt versions when canfd_frame m_frame was added to SocketCanBackend class.

      Attachments

        Issue Links

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

          Activity

            People

              aha_1980 André Hartmann
              lukegluke Oleg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes