When I compile the program again, there have been some mistakes,
1> EXosip2. Lib (udp. Obj) : error LNK2019: cannot resolve _errno external symbols, the symbol referenced in the function _eXosip_read_message
1> EXosip2. Lib (inet_ntop. Obj) : error LNK2001: cannot resolve the external symbol of _errno
1> Ms2. Lib (winsnd. Obj) : error LNK2001: cannot resolve the external symbol of _errno
Tried a variety of methods haven't solved,
For example, extern "C"
{
Int errno;
Invalid}
Want to master please help solve,
CodePudding user response:
Description to help solve, seek for a long time, no solution,,CodePudding user response:
#includeCode errno is how to define? Or how to use?
CodePudding user response:
File: "C: \ Program Files \ Microsoft Visual Studio VC 10.0 \ \ include \ errno h" 2 occurrences found on 2 lines
31: _CRTIMP extern int * __cdecl _errno (void);
32: # define errno (* _errno ())
File: "C: \ Program Files \ Microsoft Visual Studio VC 10.0 \ \ include \ stddef h" 2 occurrences found on 2 lines
47: _CRTIMP extern int * __cdecl _errno (void);
48: # define errno (* _errno ())
File: "C: \ Program Files \ Microsoft Visual Studio VC 10.0 \ \ include \ stdlib h" 2 occurrences found on 2 lines
249: _CRTIMP extern int * __cdecl _errno (void);
250: # define errno (* _errno ())