Skip to content

Conversation

@uuie
Copy link

@uuie uuie commented Oct 27, 2023

with kernel 6.2.0:

driver/SocketCanDriver/SocketCanInterface.cpp:428:28: error: ‘SIOCGSTAMPNS’ was not declared in this scope; did you mean ‘SIOCGSTAMP_OLD’?
  428 |             if (ioctl(_fd, SIOCGSTAMPNS, &ts_rcv) == 0) {
      |                            ^~~~~~~~~~~~
      |                            SIOCGSTAMP_OLD
driver/SocketCanDriver/SocketCanInterface.cpp:436:24: error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCGRARP’?
  436 |             ioctl(_fd, SIOCGSTAMP, &tv_rcv);
      |                        ^~~~~~~~~~
      |                        SIOCGRARP
driver/SocketCanDriver/SocketCanInterface.cpp: In member function ‘virtual void SocketCanInterface::sendMessage(const CanMessage&)’:
driver/SocketCanDriver/SocketCanInterface.cpp:396:16: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  396 |         ::write(_fd, &frame, sizeof(struct can_frame));

@Tamanakano
Copy link

Hello, I am trying to install Cangaroo on my Ubuntu 22.04 system with Kernel 6.5.0-26-generic and when running make, it indicates the following error:

make
cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/hil/Documents/kangaroo/src/src.pro ) && make -f Makefile
Project ERROR: libnl-3.0 development package not found
make: *** [Makefile:47: sub-src-make_first-ordered] Error 3

Installed packages:
build-essential is now in its latest version (12.9ubuntu3).
libnl-3-dev is now in its latest version (3.5.0-0.1).
libnl-route-3-dev is now in its latest version (3.5.0-0.1).
git is already at its latest version (1:2.34.1-1ubuntu1.10).
qt5-qmake is now in its latest version (5.15.3+dfsg-2ubuntu0.2).
qtbase5-dev is now in its latest version (5.15.3+dfsg-2ubuntu0.2).

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants