I am trying to compile a bunch of libraries together and some of the libraries use /usr/include libraries : for eg. #include <sys/socket.h>
I am not able to use these libraries because they need the complete file path i.e. /usr/include/sys/socket.h. Thus, the Makefile cannot find the sys/socket.h file. Unfortunately I cannot modify each and every file. Is there a method to define it in the WICED SDK Makefile?
You can modify Makefile and add include path into it.
But referring another socket.h may cause some conflict I think.
So for example if you use LwIP, you can include lwip/sockets.h instead. (I'm not sure it works.)