Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0
-
None
-
Ubuntu 12.04, gcc 4.7.3, Linux 3.2.0-101-generic-pae i686 i686 i386 GNU/Linux
Description
When compiling Qt5 (tag v5.6.0) I'm failing on qtserialbus submodule.
Error message(s):
socketcanbackend.cpp: In member function 'bool SocketCanBackend::applyConfigurationParameter(int, const QVariant&)': socketcanbackend.cpp:215:46: error: 'CAN_RAW_FD_FRAMES' was not declared in this scope socketcanbackend.cpp: In member function 'virtual bool SocketCanBackend::writeFrame(const QCanBusFrame&)': socketcanbackend.cpp:342:47: error: 'CAN_MAX_DLEN' was not declared in this scope socketcanbackend.cpp:343:53: error: 'CANFD_MAX_DLEN' was not declared in this scope socketcanbackend.cpp:358:9: error: 'canfd_frame' was not declared in this scope socketcanbackend.cpp:358:21: error: expected ';' before 'frame' socketcanbackend.cpp:359:9: error: 'frame' was not declared in this scope socketcanbackend.cpp: In member function 'void SocketCanBackend::readSocket()': socketcanbackend.cpp:552:28: error: aggregate 'SocketCanBackend::readSocket()::canfd_frame frame' has incomplete type and cannot be defined socketcanbackend.cpp:559:37: error: 'CANFD_MTU' was not declared in this scope socketcanbackend.cpp:559:67: error: 'CAN_MTU' was not declared in this scope socketcanbackend.cpp:563:79: error: invalid use of incomplete type 'struct SocketCanBackend::readSocket()::canfd_frame' socketcanbackend.cpp:552:16: error: forward declaration of 'struct SocketCanBackend::readSocket()::canfd_frame' socketcanbackend.cpp:585:26: error: 'CANFD_MAX_DLEN' was not declared in this scope
Attached files: config.log and .qmake.cache (inside qtserialbus)
Original configure call for Qt5:
./configure -opensource -confirm-license -debug -nomake tests -nomake examples -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -openssl -no-gtkstyle -dbus -prefix /opt/qt560
Attachments
Issue Links
- relates to
-
QTBUG-82814 Socketcan backend compile issue on old kernels
- Closed