Hello,

FYI
Tried to compile qt-everywhere-src 5.13 and got trouble

;-------------------------------------------------------------------
socketcanbackend.cpp: In member function ‘void SocketCanBackend::readSocket()’: socketcanbackend.cpp:697:41: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCSARP’? 697 | if (Q_UNLIKELY(ioctl(canSocket, SIOCGSTAMP, &timeStamp) < 0)) {
      |                                         ^~~~~~~~~~
/home/jmp/rpmbuild/BUILD/qt-everywhere-src-5.13.0/qtbase/include/QtCore/../../src/corelib/global/qcompilerdetection.h:237:49: note: in definition of macro ‘Q_UNLIKELY’
  237 | #  define Q_UNLIKELY(expr)  __builtin_expect(!!(expr), false)
      |                                                 ^~~~
make: *** [Makefile:1217: .obj/socketcanbackend.o] Error 1
;-------------------------------------------------------------------

this was pin-pointed to using kernel-headers 5.2.1 during build
process.

Solution is to add
#include <linux/sockios.h>
within
qt-everywhere-src-5.13.0/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.cpp

Hoping this help.
(I guess the qt-5.13.0-upstream_fixes-1.patch, need
to be slightly updated  :) ).

--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to