Part Number: TMDSIDK437X
Hello,
I am trying to develop HTTP server for TIam437x on IDK437x.
below are my software component.
I have added http server related files from package path:C:\ti\ns_2_60_01_06\source\ti\net\http
httpserver.c, httpserver_send.c, httpserver_sleep.c, http.h, httpserver.h,logging.h,urlhandler.h.
I have also included library file for http server from package path:C:\ti\ns_2_60_01_06\source\ti\net\http\lib\gcc\a9fg
C:\ti\ns_2_60_01_06\source\ti\net\http\lib\gcc\a9fg.a.
I have added files from package path:C:\ti\ns_2_60_01_06\source\ti\net
slnetif.c, slnetsock.c, slnetutils.c, slneterr.h, slnetif.h, slnetsock.h,slnetutils.h
Lib file is also added from package path:C:\ti\ns_2_60_01_06\source\ti\net\lib\gcc\a9fg
slnetsock_release.a
During compilation i am encountering problem as mentioned below.
Description Resource Path Location Type
fatal error: sys/socket.h: No such file or directory httpserver.c /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/HTTP_Server line 60 C/C++ Problem
As per the ndk api guide provided with package: file:///C:/ti/ndk_3_61_01_01/docs/ndk/NDK_API_Reference.html#f.1-using-bsd-sockets-provided-by-slnetsock
F.1 Using BSD Sockets Provided by SlNetSock
i have added <SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd to project directory.
kindly guide.
Regards,
Vrund


