I am developing a UDP application with uses amongst other
the library lib_xtcp (4.0.1). When I compile the program
this call causes an error:
---
xtcp_connect(c_xtcp,
BROADCAST_PORT,
broadcast_addr,
XTCP_PROTOCOL_UDP);
---
The error is:
---
Compiling tcp_reflect.xc
Rebuild .build/_obj.rsp
Creating Gigabit.xe
../src/tcp_reflect.xc: Error: Undefined reference to '_Sxtcp_connect_0'
---
I have no single clue about what ''_Sxtcp_connect_0" is. I found it nowhere
in the software, libraries or on the internet, for that matter.
Any idea what ''_Sxtcp_connect_0" is and how to solve this error?
What is '_Sxtcp_connect_0' in UDP application?
-
- Member
- Posts: 9
- Joined: Tue Jan 07, 2020 4:10 pm
-
- XCore Expert
- Posts: 578
- Joined: Thu Nov 26, 2015 11:47 pm
Did you clean the project prior to build? Errors like this can show up if you don't.
-
- Member
- Posts: 9
- Joined: Tue Jan 07, 2020 4:10 pm
-
- Respected Member
- Posts: 361
- Joined: Wed May 31, 2017 6:55 pm
Note the current revision of lib_xtcp is 6.0.0. Have you included a link to the library in your makefile?
-
- Member
- Posts: 9
- Joined: Tue Jan 07, 2020 4:10 pm