0202 sip ortp link failed

oRTP.lib(ortp.obj) : error LNK2019: 无法解析的外部符号 _g_thread_init,该符号在函数 _ortp_init 中被引用
oRTP.lib(ortp.obj) : error LNK2001: 无法解析的外部符号 __imp__g_threads_got_initialized
oRTP.lib(scheduler.obj) : error LNK2001: 无法解析的外部符号 __imp__g_threads_got_initialized
oRTP.lib(rtpsession.obj) : error LNK2001: 无法解析的外部符号 __imp__g_threads_got_initialized
oRTP.lib(ortp.obj) : error LNK2019: 无法解析的外部符号 __imp__WSAStartup@8,该符号在函数 _ortp_init 中被引用

于是又重新编译ORTP,但是连它自带的例子都没有办法编译通过~~~~~ 郁闷~~~~~~
oRTP.lib(ortp.obj) : error LNK2019: 无法解析的外部符号 _srandom,该符号在函数 _init_random_number_generator 中被引用
oRTP.lib(ortp.obj) : error LNK2019: 无法解析的外部符号 _gettimeofday,该符号在函数 _init_random_number_generator 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _rtp_session_enable_adaptive_jitter_compensation,该符号在函数 _rtp_session_init 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _rtp_session_set_jitter_compensation,该符号在函数 _rtp_session_init 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _rtp_session_set_source_description,该符号在函数 _rtp_session_init 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _random,该符号在函数 _guint32_random 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _jitter_control_set_payload,该符号在函数 _payload_type_changed 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _rtp_session_rtcp_process,该符号在函数 _rtp_session_sendm_with_ts 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _rtcp_parse,该符号在函数 _rtcp_recv 中被引用
oRTP.lib(rtpsession.obj) : error LNK2019: 无法解析的外部符号 _jitter_control_init,该符号在函数 _rtp_session_reset 中被引用
oRTP.lib(rtpsignaltable.obj) : error LNK2019: 无法解析的外部符号 _o_list_append,该符号在函数 _rtp_signal_table_init 中被引用
oRTP.lib(rtpparse.obj) : error LNK2019: 无法解析的外部符号 _jitter_control_new_packet,该符号在函数 _rtp_parse 中被引用
.\\Debug/tevrtpsend.exe : fatal error LNK1120: 12 个无法解析的外部命令

  修改了之后,SRANDOM和gettimeofday没有错误了。

把srandom改成srand
把random改成rand

折腾阿~

终于PASS了
http://www.yippeesoft.com (47) : warning C4018: \’<\’ : signed/unsigned mismatch
http://www.yippeesoft.com (229) : warning C4996: \’gets\’ was declared deprecated
        d:\\vs8\\vc\\include\\stdio.h(270) : see declaration of \’gets\’
        Message: \’This function or variable may be unsafe. Consider using gets_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.\’
http://www.yippeesoft.com (623) : warning C4996: \’strcat\’ was declared deprecated
        d:\\vs8\\vc\\include\\string.h(78) : see declaration of \’strcat\’
        Message: \’This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.\’
http://www.yippeesoft.com (624) : warning C4996: \’strcat\’ was declared deprecated
        d:\\vs8\\vc\\include\\string.h(78) : see declaration of \’strcat\’
        Message: \’This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.\’
http://www.yippeesoft.com (625) : warning C4996: \’strcpy\’ was declared deprecated
        d:\\vs8\\vc\\include\\string.h(73) : see declaration of \’strcpy\’
        Message: \’This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.\’
http://www.yippeesoft.com (634) : warning C4996: \’fopen\’ was declared deprecated
        d:\\vs8\\vc\\include\\stdio.h(234) : see declaration of \’fopen\’
        Message: \’This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.\’
正在编译资源清单…
正在链接…
正在嵌入清单…
tevrtpsend – 0 个错误,6 个警告
========== 全部重新生成: 1 已成功, 0 已失败, 0 已跳过 ==========

可是还是没有声音~~~~~~~~

历史博文

标签:, , , ,
四月 7, 2006 at 9:54 上午 by yippee 1,071 次
Category: Dev
Tags: , , , ,