I also faced a similar issue. I tried to compile the sofia sip code to create the library and then link the generated lib to my application. I got these errors when trying to compile the sofia sip code. I am not able to completely re-collect how I fixed this, but give this a try. Hope this helps you.
1. In order to compile the code with Windows 2000 SDK you have to install so called "IPv6 Technology Preview for Windows 2000". The preview contains updated IPv6 API in <tpipv6.h> and <wspiapi.h> header files. http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp I used visual studio .net 2003. 2. Open the .\sofia-sip\win32\SofiaSIP.dsw to open the complete list of projects. This includes sofia sip library project (DLLs & static libraries) and few test programs. 3. The following paths to be added to the list of include directories .\libsofia-sip-ua\bnf .\libsofia-sip-ua\http .\libsofia-sip-ua\ipt .\libsofia-sip-ua\iptsec .\libsofia-sip-ua\msg .\libsofia-sip-ua\nea .\libsofia-sip-ua\nta .\libsofia-sip-ua\nth .\libsofia-sip-ua\nua .\libsofia-sip-ua\sdp .\libsofia-sip-ua\sip .\libsofia-sip-ua\soa .\libsofia-sip-ua\sresolv .\libsofia-sip-ua\stun .\libsofia-sip-ua\su .\libsofia-sip-ua\tport .\libsofia-sip-ua\url .\win32\pthread 4. Add libraries ws2_32.lib & Iphlpapi.lib to the dependency list -- Subbu -----Original Message----- From: Francesco Lamonica [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 2:05 PM To: sofia-sip-devel Mailing List Subject: Re: [Sofia-sip-devel] Problem compiling a little application with visual studio 2005 Hi Stefano, I am no VS2005 expert either but i had a few problems on lib dependencies as well, what windows lib are you linking against right now? (you can check it in the project properties under the LINKER section) On Thu, Sep 18, 2008 at 5:27 PM, Stefano Sabatini <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm getting this building problems when compiling a little application > with Visual Studio 2005 on Windows Vista which links against > libsofia-sip (last checkout, 1.12.9). > > I got so far to compile libsofia-ua for win32 without hassles. > > These are the errors I get when compiling: > > 1>Linking... > 1> Creating library .\Debug/sip_options_static.lib and object > .\Debug/sip_options_static.exp > 1>libsofia_sip_ua_static.lib(sres.obj) : error LNK2019: unresolved external > symbol [EMAIL PROTECTED] referenced in function _sres_parse_win32_ip > 1>libsofia_sip_ua_static.lib(sres.obj) : error LNK2019: unresolved external > symbol [EMAIL PROTECTED] referenced in function _sres_parse_win32_reg > 1>libsofia_sip_ua_static.lib(sres.obj) : error LNK2019: unresolved external > symbol [EMAIL PROTECTED] referenced in function _sres_parse_win32_reg > 1>libsofia_sip_ua_static.lib(sres.obj) : error LNK2019: unresolved external > symbol [EMAIL PROTECTED] referenced in function > _sres_parse_win32_reg_parse_dnsserver > 1>libsofia_sip_ua_static.lib(su_localinfo.obj) : error LNK2019: unresolved > external symbol [EMAIL PROTECTED] referenced in function _win_localinfo > 1>.\Debug/sip_options_static.exe : fatal error LNK1120: 5 unresolved externals > 1>Build log was saved at > "file://c:\Users\fooobar\Documents\programmi\sofia-sip-1.12.9\win32\utils\sip_options_static\Debug\BuildLog.htm" > 1>sip_options_static - 6 error(s), 0 warning(s) > > I think the problem derives from some missing libs/DLLs, can you > suggest how to fix the problem (for example which are the libs/DLLs > I'm missing if that's the case)? > > (Sorry I'm definitively not a Visual Studio expert). > > Many thanks in advance, best regards. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel