Hello,
I am trying to create a socket on the EVM C6472 which can listen and establish connection with the PC. When I try to use the functions present in NDK, I get “unresolved symbols remain” error.
As of now, main uses only "socket()" to create a new socket. I have linked a folder FDT to the project which contains the files: fdt.h, file.c, fileuser.c and socket.c (necessary functions).
When I try to build the project, I get the below “unresolved symbols remain” error:
undefined first referenced
symbol in file
--------- ----------------
_PBM_free ./fdt/socket.obj
_PipeClose ./fdt/fileuser.obj
_PipeNew ./fdt/socket.obj
_PipeRecv ./fdt/socket.obj
_PipeSend ./fdt/socket.obj
_SemDelete ./fdt/file.obj
_SemPend ./fdt/file.obj
_SemPost ./fdt/file.obj
_SemReset ./fdt/file.obj
_SockAccept ./fdt/socket.obj
_SockBind ./fdt/socket.obj
_SockClose ./fdt/fileuser.obj
_SockConnect ./fdt/socket.obj
_SockDisconnect ./fdt/socket.obj
_SockGet ./fdt/socket.obj
_SockGetName ./fdt/socket.obj
_SockListen ./fdt/socket.obj
_SockNew ./fdt/socket.obj
_SockRecv ./fdt/socket.obj
_SockRecvNC ./fdt/socket.obj
_SockSend ./fdt/socket.obj
_SockSet ./fdt/socket.obj
_SockShutdown ./fdt/socket.obj
_TaskGetEnv ./fdt/fileuser.obj
_TaskSelf ./fdt/fileuser.obj
_llEnter ./fdt/socket.obj
_llExit ./fdt/socket.obj
_mmFree ./fdt/fileuser.obj
error: unresolved symbols remain
error: errors encountered during linking; "Socket_First.out" not built
I have added
“ndk_2_20_02_22\packages\ti\ndk\lib\C64plus"
"ndk_2_20_02_22\packages\ti\ndk\lib\C64plus\all_stk"
“ndk_2_20_02_22\packages\ti\ndk\lib\C64plus\hal"
To C6000 linker-> File Search Path
Help in this regard is highly appreciated.
-Varun