看看这个link为什么出错?
--------------------Configuration: adt - Win32 Release--------------------
Compiling...
adtBuffer.c
adtHash.c
adtMsgQ.c
adtStr.c
adtVector.c
Creating library...
--------------------Configuration: low - Win32 Release--------------------
Compiling...
lowSync.c
osdep.c
thread.c
Creating library...
--------------------Configuration: rtp - Win32 Release--------------------
Compiling...
rtcp.c
rtp.c
rtp_helper.c
Creating library...
--------------------Configuration: osipua - Win32 Release--------------------
Compiling...
authentication.c
Creating library...
--------------------Configuration: sipgw - Win32 Release--------------------
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.lib(cinitexe.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in LIBCMT.lib(close.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __read already defined in LIBCMT.lib(read.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __lseek already defined in LIBCMT.lib(lseek.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __write already defined in LIBCMT.lib(write.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __setmbcp already defined in LIBCMT.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Release/sipgw.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
sipgw.exe - 15 error(s), 103 warning(s)