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

Socketcan backend compile issue on old kernels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important 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)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes