Just checked the contents of: Sys/socket.h 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 -----Original Message----- From: Rolf Eike Beer [mailto:e...@sf-mail.de] Sent: Saturday, September 17, 2016 1:19 AM To: Gunter, Walter E Cc: cmake@cmake.org 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: > Sys/socket.h > Linux/socket.h > > 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. Eike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ 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 http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake