[Freeswitch-users] failed to compile Mod_gsmopen on windows

sokha pen pen.sokha at gmail.com
Tue Nov 13 12:18:28 MSK 2012


Dear All,

I follow instruction in wiki

http://wiki.freeswitch.org/wiki/Mod_gsmopen

I am using VS2010.

however when i compiled mod_gsmopen still fail....


below is log:
1>------ Skipped Build: Project: gsmlib, Configuration: Release Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: mod_gsmopen, Configuration: Release Win32
------
2>     Creating library D:\FS_GIT\Win32\Release\mod\mod_gsmopen.lib and
object D:\FS_GIT\Win32\Release\mod\mod_gsmopen.exp
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_queue_indication at 8
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_perform_mark_ring_ready_value at 20
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_mutex_lock at 4
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_get_channel at 4
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_sleep at 8
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol "public:
int __thiscall ctb::SerialPort_x::Open(char const *,int,char const *,enum
ctb::SerialPort_x::FlowControl)" (?Open at SerialPort_x@ctb@
@QAEHPBDH0W4FlowControl at 12@@Z)
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol "public:
__thiscall ctb::SerialPort::SerialPort(void)" (??0SerialPort at ctb@@QAE at XZ)
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_rwunlock at 4
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_log_printf
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_perform_locate at 16
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_perform_hangup at 20
2>gsmopen_protocol.obj : error LNK2001: unresolved external symbol
__imp__switch_mutex_unlock at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_request_uuid at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_xml_attr_soft at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_codec_destroy at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_fire_detailed at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_xml_attr at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_set_caller_profile at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_time_now at 0
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__dtmf_rx_parms at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__dtmf_rx at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_codec_init_with_bitrate at 40
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_caller_profile_new at 48
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_queue_dtmf at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_test_ready at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_separate_string at 16
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_file_write at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_is_number at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_timer_next at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_event_set_data at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_timer_sync at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_add_header_string at 16
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_thread_create at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_set_write_codec at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_thread_launch at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_get_name at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_threadattr_stacksize_set at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_set_private at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_get_private at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_get_pool at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_add_body
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_xml_free at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__dtmf_rx_init at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_get_uuid at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_swap_linear at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_test_flag at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_threadattr_create at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_loadable_module_create_module_interface at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_snprintf
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_xml_child at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_reserve_subclass_detailed at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_loadable_module_create_interface at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_caller_profile_clone at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_thread_join at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_set_name at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_get_header_idx at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_direction at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_add_stream at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_xml_open_cfg at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_set_read_codec at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_default_dtmf_duration at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_chat_send at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_perform_mark_answered at 16
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_perform_mark_pre_answered at 16
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_timer_init at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_destroy at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__dtmf_rx_get at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_copy_string at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_free_subclass_detailed at 8
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_get_body at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_timer_destroy at 4
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_add_header
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_event_create_subclass_detailed at 24
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_mutex_init at 12
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_channel_perform_set_state at 20
2>mod_gsmopen.obj : error LNK2001: unresolved external symbol
__imp__switch_core_session_perform_destroy at 16
2>D:\FS_GIT\Win32\Release\mod\mod_gsmopen.dll : fatal error LNK1120: 76
unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========



Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121113/2091a860/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list