Build errors in 2010.express solution
I'm trying to build "FreeSWITCH.2010.express" solution with latest sources from git and getting lot of errors (see below). Git [2013-04-06]: 4ccfb47 --------------------------------------- Creating library C:\Dev\FS\Win32\Release\mod\mod_fifo.lib and object C:\Dev\FS\Win32\Release\mod\mod_fifo.exp mod_fifo.obj : error LNK2001: unresolved external symbol __imp__switch_channel_invert_cid@4 C:\Dev\FS\Win32\Release\mod\mod_fifo.dll : fatal error LNK1120: 1 unresolved externals Creating library C:\Dev\FS\Win32\Release\mod\mod_sofia.lib and object C:\Dev\FS\Win32\Release\mod\mod_sofia.exp mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_pass_zrtp_hash2@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_codec_chosen@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_prepare_codecs@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_proxy_remote_addr@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_start_udptl@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_kill_socket@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_read_frame@20 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_session_set_ice@4 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_media_handle_destroy@4 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_set_local_sdp@12 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_check_outgoing_proxy@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_get_jb@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_break@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_set_udptl_image_sdp@12 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_reset_autofix_timing@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_toggle_hold@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_choose_port@12 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_patch_sdp@4 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_queue_rfc2833@12 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_check_dtmf_type@4 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_gen_local_sdp@20 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_udptl_mode@8 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_write_frame@20 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_absorb_sdp@4 mod_sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_ready@8 rtp.obj : error LNK2001: unresolved external symbol __imp__switch_rtp_clear_flags@8 rtp.obj : error LNK2001: unresolved external symbol __imp__switch_rtp_set_flags@8 sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_process_t38_passthru@12 sofia.obj : error LNK2001: unresolved external symbol _nutag_wss_url sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_parse_rtp_bugs@8 sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_set_sdp_codec_string@8 sofia.obj : error LNK2001: unresolved external symbol _nutag_ws_url sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_extract_t38_options@8 sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_gen_certs@4 sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_session_local_crypto_key@8 sofia.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_clear_rtp_flag@12 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_media_handle_set_media_flags@8 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_get_stats@12 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_add_ice_acl@12 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_core_session_get_recovery_crypto_key@12 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_recover_session@4 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_check_video_codecs@4 sofia_glue.obj : error LNK2001: unresolved external symbol __imp__switch_media_handle_create@12 sofia_media.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_negotiate_sdp@12 sofia_media.obj : error LNK2001: unresolved external symbol __imp__switch_core_media_activate_rtp@4 C:\Dev\FS\Win32\Release\mod\mod_sofia.dll : fatal error LNK1120: 45 unresolved externals Creating library C:\Dev\FS\Win32\Release\mod\mod_dingaling.lib and object C:\Dev\FS\Win32\Release\mod\mod_dingaling.exp mod_dingaling.obj : error LNK2001: unresolved external symbol __imp__switch_rtp_activate_rtcp@16 mod_dingaling.obj : error LNK2001: unresolved external symbol __imp__switch_rtp_activate_ice@32 C:\Dev\FS\Win32\Release\mod\mod_dingaling.dll : fatal error LNK1120: 2 unresolved externals --------------------------------------- Is there any chance to get this fixed? I can't build it for the past week, every time getting similar errors... Thanks -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
If you can reproduce this from a fresh clone please open a Jira for this. There should not have been any specific changes required for express that I can think of. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
What exactly do you mean "fresh clone"? Last time I build this solution without any problems was two weeks ago. Yesterday I did "Clean Solution" and build.Got a lot of fatal errors. I applied "Rebuild Solution", got the same result. Today I've pulled latest git "c9a49b0", I've removed solution files and pulled them from git repository back, I've run "git status" to make sure that I have latest and correct sources. I've repeated "Clean Solution" again and build it twice to get this bottom line: ========== Build: 21 succeeded, 72 failed, 53 up-to-date, 18 skipped ========== The only thing I do with solution properties configuration is I turn off project "mod_managed", Debug_CLR configuration, Win32 platform, because I always getting errors building it. The rest is default. And, as I said, I build it successfully for years. But now (actually a week ago or so) something becomes suddenly wrong and I'm getting lot of fatal errors... The first fatal error is this: LINK : fatal error LNK1181: cannot open input file 'C:\Dev\FS\Win32\Debug\FreeSwitchCore.lib' It's because when VS tried to make FreeSwitchCoreLib, it failed: ------ Build started: Project: FreeSwitchCoreLib, Configuration: Debug Win32 ------ Generating switch_version.inc Checking if we're building a newer git version switch_rtp.c ..\..\src\switch_rtp.c(2270): error C2220: warning treated as error - no 'object' file generated ..\..\src\switch_rtp.c(2270): warning C4013: 'SSL_CTX_set_tlsext_use_srtp' undefined; assuming extern returning int ------ Build started: Project: iksemel, Configuration: Debug Win32 ------ ... -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
try this instead git clean -fdx This will remove any files from the tree that are not in git. There have been major changes to git head in the last week or so which require a complete rebuild (even more than a Clean solution). -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thank you, Jeff! "git clean -fdx" helped :) BTW, why I always have to turn off building "mod_managed" project? I'm getting errors with it and in order to build the whole solution I have to turn off this project. As a result, the file "FreeSWITCH.2010.express.sln" becomes different from its git version... -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
What error are you getting when you build it? It's the one thing where there should be no problem building on windows, and should never be broken in the windows build, since it's developed on windows. There may be something funky in your environment. --Dave _____ From: FSX [mailto:ml88888@hotmail.com] To: freeswitch-users@lists.freeswitch.org Sent: Wed, 10 Apr 2013 22:41:12 -0700 Subject: Re: [Freeswitch-users] Build errors in 2010.express solution Thank you, Jeff! "git clean -fdx" helped :) BTW, why I always have to turn off building "mod_managed" project? I'm getting errors with it and in order to build the whole solution I have to turn off this project. As a result, the file "FreeSWITCH.2010.express.sln" becomes different from its git version... -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi all, i have installed the correct packages: ptlib, and opal, I read the freeswitch wiki, but i can.t compile mod_opal Can your help please? What is wrong? Thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Can you show us the build errors you're getting? Also try not to reply to existing threads - even though you changed the subject on some mail clients it'll show your email inside the old thread rather than starting a new one. That might mean you get fewer replies. Steve On 11 Apr 2013, at 11:24, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi all, i have installed the correct packages: ptlib, and opal, I read the freeswitch wiki, but i can.t compile mod_opal Can your help please? What is wrong?
Thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dave R. Kompel wrote
What error are you getting when you build it? It's the one thing where there should be no problem building on windows, and should never be broken in the windows build, since it's developed on windows.
There may be something funky in your environment.
--Dave
Here is the build report collected, when I turned building of "mod_managed" back on: ========== Build: 19 succeeded, 1 failed, 127 up-to-date, 17 skipped ========== And particularly: ------ Build started: Project: mod_managed, Configuration: Release_CLR Win32 ------ freeswitch_managed.cpp freeswitch_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' freeswitch_wrap.2010.cxx freeswitch_wrap.2010.cxx : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' mod_managed.cpp mod_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' Generating Code... You may notice that I'm building "Release" version, but fatal errors suddenly mention "Debug"... There is nothing fancy about my building environment. It's WXP/SP3 running in VM. It's dedicated to this project only. There is installed VS C++ 2010 Express and Git and nothing more. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
If I remember correctly, you have to build the debug version first and then the release version -- I am not sure why this is, but your message would seem to also indicate that. FSX <ml88888@hotmail.com> wrote:
Dave R. Kompel wrote
What error are you getting when you build it? It's the one thing where there should be no problem building on windows, and should never be broken in the windows build, since it's developed on windows.
There may be something funky in your environment.
--Dave
Here is the build report collected, when I turned building of "mod_managed" back on: ========== Build: 19 succeeded, 1 failed, 127 up-to-date, 17 skipped ==========
And particularly: ------ Build started: Project: mod_managed, Configuration: Release_CLR Win32 ------ freeswitch_managed.cpp freeswitch_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' freeswitch_wrap.2010.cxx freeswitch_wrap.2010.cxx : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' mod_managed.cpp mod_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' Generating Code...
You may notice that I'm building "Release" version, but fatal errors suddenly mention "Debug"...
There is nothing fancy about my building environment. It's WXP/SP3 running in VM. It's dedicated to this project only. There is installed VS C++ 2010 Express and Git and nothing more.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
It looks like a dependency problem in the .express version. Build the FreeSWITCHManaged project under it by hand first, that should fix it. --Dave _____ From: FSX [mailto:ml88888@hotmail.com] To: freeswitch-users@lists.freeswitch.org Sent: Thu, 11 Apr 2013 13:07:59 -0700 Subject: Re: [Freeswitch-users] Build errors in 2010.express solution Dave R. Kompel wrote
What error are you getting when you build it? It's the one thing where there should be no problem building on windows, and should never be broken in the windows build, since it's developed on windows.
There may be something funky in your environment.
--Dave
Here is the build report collected, when I turned building of "mod_managed" back on: ========== Build: 19 succeeded, 1 failed, 127 up-to-date, 17 skipped ========== And particularly: ------ Build started: Project: mod_managed, Configuration: Release_CLR Win32 ------ freeswitch_managed.cpp freeswitch_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' freeswitch_wrap.2010.cxx freeswitch_wrap.2010.cxx : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' mod_managed.cpp mod_managed.cpp : fatal error C1192: #using failed on 'C:\Dev\FS\Win32\Debug\mod\FreeSWITCH.Managed.dll' 'The system cannot find the path specified.' Generating Code... You may notice that I'm building "Release" version, but fatal errors suddenly mention "Debug"... There is nothing fancy about my building environment. It's WXP/SP3 running in VM. It's dedicated to this project only. There is installed VS C++ 2010 Express and Git and nothing more. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Build-errors-in-2010-express-s... Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (6)
-
covici@ccs.covici.com
-
Dave R. Kompel
-
FSX
-
Jeff Lenk
-
Steven Ayre
-
Thomas Hoellriegel