Anonymous
Not applicable
Feb 24, 2016
11:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2016
11:16 AM
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?
Labels
- Labels:
-
SDK 3.x
1 Reply
Anonymous
Not applicable
Feb 24, 2016
06:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2016
06:17 PM
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.)