Just checked the contents of:
And there is a line that references the bits/socket.h
But AF_CAN and PF_CAN are not defined in either.
They are defined in my linux/socket.h
From: Rolf Eike Beer [mailto:e...@sf-mail.de]
Sent: Saturday, September 17, 2016 1:19 AM
To: Gunter, Walter E
Subject: Re: [CMake] using arm toolchain and having issues with linux socket can
Am Freitag, 16. September 2016, 22:54:25 schrieb Gunter, Walter E:
> Ah..got ya.
> There are two in my toolchain:
> I couldn't find AF_CAN or PF_CAN defined in the sys one, but it is in
> the linux.
I included it, but still getting the error when building that it
> can't find it.
I already told you it's sys/socket.h. In fact it's bits/socket.h, but the
bits/* stuff should never be included directly. But it is included in
sys/socket.h, so just use this.
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
Follow this link to subscribe/unsubscribe: