在VS2008編譯
我再編譯程式的時候,出現了一些錯誤,
1>eXosip2.lib(udp.obj) : error LNK2019: 無法決議的外部符號 _errno,該符號在函式 _eXosip_read_message 中被參考
1>eXosip2.lib(inet_ntop.obj) : error LNK2001: 無法決議的外部符號 _errno
1>ms2.lib(winsnd.obj) : error LNK2001: 無法決議的外部符號 _errno
嘗試了各種方法都沒解決。
比如: extern "C"
{
int errno;
}無效
想請各位高手幫忙解決、
uj5u.com熱心網友回復:
求助高手幫解決下。找了好久,沒解決方案。、uj5u.com熱心網友回復:
#include <stdlib.h> ?代碼中 errno 是怎么定義的? 或者怎么使用的?
uj5u.com熱心網友回復:
File: "C:\Program Files\Microsoft Visual Studio 10.0\VC\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 10.0\VC\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 10.0\VC\include\stdlib.h" 2 occurrences found on 2 lines
249: _CRTIMP extern int * __cdecl _errno(void);
250: #define errno (*_errno())
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/65517.html
標籤:進程/線程/DLL
下一篇:QT5.9+win7求助
