Error building pjsip on windows mobile 6 / vs2005 environment

AM
Arpit Mehta
Wed, Nov 28, 2007 6:34 AM

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

Hello all, I am new to this windows mobile/visual studio and this might be a very silly error for some of you. I was trying to build pjsip in visual studio 2005. Well the build process goes on smoothly for sometime but then at the end it does not link to one of the libraries 16>LINK : fatal error LNK1181: cannot open input file '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' This library is not created/present in this path. Steps I followed ------------------------ --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw project , visual studio 2005 converts it into the .sln --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 configuration manager?) --> Did Build--> Build Solution The problem I think is that, when I choose windows mobile 6 professional the targets which are supposed to be built for win32 are obviously not built. These targets are Project: libgsmcodec Project: libspeex Project: libresample Project: libportaudio Project: libmilenage Project: libilbccodec Hence the corresponding libraries are also not built which is giving the link error. The build log is pasted below. The errors (which I suspect to be creating the problem) I got are shown with some empty space above and below it. Please let me know if any more information is needed. Thanks Regards Arpit Mehta 1>------ Build started: Project: pjlib_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 2>------ Build started: Project: pjmedia_codec_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 2>Compiling... 1>Compiling... 1>addr_resolv_sock.c 2>gsm.c 2>speex_codec.c 2>l16.c 2>ilbc.c 1>unicode_win32.c 2>Generating Code... 2>Creating library... 1>types.c 1>timer.c 1>string.c 2>Build log was saved at "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 3>Compiling... 3>sip_100rel.c 1>sock_select.c 1>sock_common.c 1>sock_bsd.c 1>rbtree.c 3>sip_xfer.c 1>rand.c 1>pool_policy_malloc.c 1>pool_caching.c 3>sip_replaces.c 1>pool_buf.c 1>pool.c 3>sip_reg.c 1>os_timestamp_win32.c 3>sip_inv.c 3>Generating Code... 1>os_timestamp_common.c 1>os_time_win32.c 3>Creating library... 3>Build log was saved at "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 3>pjsip_ua_wince - 0 error(s), 0 warning(s) 1>os_error_win32.c 1>os_core_win32.c 1>log_writer_stdout.c 1>Generating Code... 4>------ Build started: Project: pjsip_simple_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 4>Compiling... 4>errno.c 4>xpidf.c 1>Compiling... 1>log.c 1>lock.c 1>list.c 4>rpid.c 1>ip_helper_win32.c 4>publishc.c 4>presence_body.c 4>presence.c 1>ioqueue_select.c 4>pidf.c 4>iscomposing.c 1>hash.c 4>evsub_msg.c 1>guid_simple.c 4>evsub.c 1>guid.c 1>file_io_win32.c 4>Generating Code... 1>file_access_win32.c 4>Creating library... 4>Build log was saved at "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 4>pjsip_simple_wince - 0 error(s), 0 warning(s) 1>fifobuf.c 1>except.c 1>errno.c 5>------ Build started: Project: pjsip_core_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 5>Compiling... 1>ctype.c 5>sip_auth_aka.c 1>config.c 1>array.c 5>sip_util_statefull.c 1>Generating Code... 1>Creating library... 5>sip_util_proxy.c 5>sip_util.c 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced label 5>sip_uri.c 1>Build log was saved at "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 1>pjlib_wince - 0 error(s), 0 warning(s) 5>sip_ua_layer.c 5>sip_transport_udp.c 6>------ Build started: Project: pjlib_util_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 6>Compiling... 6>base64.c 5>sip_transport_tcp.c 6>xml.c 6>stun_simple_client.c 6>stun_simple.c 6>string.c 6>srv_resolver.c 5>sip_transport_loop.c 6>sha1.c 6>scanner.c 5>sip_transport.c 6>resolver.c 6>md5.c 5>sip_transaction.c 6>hmac_sha1.c 6>hmac_md5.c 6>getopt.c 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label 5>sip_tel_uri.c 6>errno.c 6>dns_dump.c 5>sip_resolve.c 6>dns.c 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label 5>sip_parser.c 6>crc32.c 6>Generating Code... 5>sip_msg.c 5>sip_errno.c 6>Creating library... 5>sip_endpoint.c 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label 5>sip_dialog.c 6>Build log was saved at "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 6>pjlib_util_wince - 0 error(s), 0 warning(s) 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: 'TODO___DIALOG_APP_TIMER' : unreferenced label 5>sip_auth_server.c 5>sip_auth_parser.c 7>------ Build started: Project: pjmedia_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 7>Compiling... 7>alaw_ulaw.c 5>Generating Code... 7>wave.c 7>wav_writer.c 7>wav_playlist.c 7>wav_player.c 5>Compiling... 5>sip_auth_msg.c 7>transport_udp.c 5>sip_auth_client.c 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label 5>Generating Code... 5>Creating library... 7>transport_ice.c 5>Build log was saved at "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 5>pjsip_core_wince - 0 error(s), 9 warning(s) 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label 7>tonegen.c 7>stream.c 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ 8>Project not selected to build for this solution configuration 9>------ Build started: Project: pjnath_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 9>Compiling... 9>errno.c 9>stun_transaction.c 7>splitcomb.c 9>stun_session.c 7>sound_port.c 9>stun_msg_dump.c 7>silencedet.c 9>stun_msg.c 7>session.c 9>stun_auth.c 7>sdp_neg.c 9>nat_detect.c 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : unreferenced label 7>sdp_cmp.c 7>sdp.c 7>rtp.c 9>ice_strans.c 7>rtcp.c 7>resample_speex.c 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: 'TODO___TX_TO_RELAY' : unreferenced label 7>resample_resample.c 9>ice_session.c 7>Generating Code... 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : unreferenced label 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label 9>Generating Code... 9>Creating library... 7>Compiling... 7>resample_port.c 9>Build log was saved at "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 9>pjnath_wince - 0 error(s), 4 warning(s) 7>port.c //-------------------------------> error here 7>plc_common.c 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ 10>Project not selected to build for this solution configuration 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ 11>Project not selected to build for this solution configuration 12>------ Skipped Build: Project: libportaudio, Configuration: Debug Win32 ------ 12>Project not selected to build for this solution configuration 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ 13>Project not selected to build for this solution configuration 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug Win32 ------ 14>Project not selected to build for this solution configuration 7>pasound.c 7>null_port.c 7>mem_player.c 7>mem_capture.c 7>master_port.c 7>jbuf.c 7>g711.c 7>errno.c 7>endpoint.c 7>echo_suppress.c 7>echo_speex.c 7>echo_port.c 7>echo_common.c 7>conference.c 7>codec.c 7>clock_thread.c 7>bidirectional.c 7>Generating Code... 7>Compiling... 7>alaw_ulaw_table.c 7>Generating Code... 7>Creating library... 7>Build log was saved at "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 7>pjmedia_wince - 0 error(s), 3 warning(s) 15>------ Build started: Project: pjsua_lib_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 15>Compiling... 15>pjsua_acc.c 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: 'TODO___pjsua_acc_modify' : unreferenced label 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: 'TODO___dont_use_pjsua_pool' : unreferenced label 15>pjsua_pres.c 15>pjsua_media.c 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: 'TODO___set_codec_param' : unreferenced label 15>pjsua_im.c 15>pjsua_core.c 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: 'TODO___pjsua_transport_set_enable' : unreferenced label 15>pjsua_call.c 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced label 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label 15>Generating Code... 15>Creating library... 15>Build log was saved at "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 15>pjsua_lib_wince - 0 error(s), 6 warning(s) 16>------ Build started: Project: pjsua_wince, Configuration: Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ 16>Compiling... 16>StdAfx.cpp 16>Compiling... 16>pjsua_wince.cpp 16>Compiling resources... //-------------------------------> error here 16>Linking... 16>LINK : fatal error LNK1181: cannot open input file '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' 16>Build log was saved at "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" 16>pjsua_wince - 1 error(s), 0 warning(s) ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998
BP
Benny Prijono
Wed, Nov 28, 2007 11:56 AM

I don't have VS 2005, so my only guess is this was caused by the
project dependencies not properly set in the workspace during the
conversion process. Please add pjsua_wince project dependencies to

Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

(and probably more).

cheers,
-benny

Arpit Mehta wrote:

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Benny Prijono
http://www.pjsip.org

I don't have VS 2005, so my only guess is this was caused by the project dependencies not properly set in the workspace during the conversion process. Please add pjsua_wince project dependencies to > Project: libgsmcodec > Project: libspeex > Project: libresample > Project: libportaudio > Project: libmilenage > Project: libilbccodec (and probably more). cheers, -benny Arpit Mehta wrote: > Hello all, > > I am new to this windows mobile/visual studio and this might be a very > silly error for some of you. > I was trying to build pjsip in visual studio 2005. Well the build > process goes on smoothly for sometime but then at the end it does not > link to one of the libraries > > 16>LINK : fatal error LNK1181: cannot open input file > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > This library is not created/present in this path. > > > Steps I followed > ------------------------ > > --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw > project , visual studio 2005 converts it into the .sln > --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i > choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 > configuration manager?) > --> Did Build--> Build Solution > > The problem I think is that, when I choose windows mobile 6 > professional the targets which are supposed to be built for win32 are > obviously not built. These targets are > Project: libgsmcodec > Project: libspeex > Project: libresample > Project: libportaudio > Project: libmilenage > Project: libilbccodec > > Hence the corresponding libraries are also not built which is giving > the link error. > > The build log is pasted below. The errors (which I suspect to be > creating the problem) I got are shown with some empty space above and > below it. Please let me know if any more information is needed. > > > Thanks > > Regards > > Arpit Mehta > > > 1>------ Build started: Project: pjlib_wince, Configuration: Debug > Windows Mobile 6 Professional SDK (ARMV4I) ------ > 2>------ Build started: Project: pjmedia_codec_wince, Configuration: > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > 2>Compiling... > 1>Compiling... > 1>addr_resolv_sock.c > 2>gsm.c > 2>speex_codec.c > 2>l16.c > 2>ilbc.c > 1>unicode_win32.c > 2>Generating Code... > 2>Creating library... > 1>types.c > 1>timer.c > 1>string.c > 2>Build log was saved at > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) > 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug > Windows Mobile 6 Professional SDK (ARMV4I) ------ > 3>Compiling... > 3>sip_100rel.c > 1>sock_select.c > 1>sock_common.c > 1>sock_bsd.c > 1>rbtree.c > 3>sip_xfer.c > 1>rand.c > 1>pool_policy_malloc.c > 1>pool_caching.c > 3>sip_replaces.c > 1>pool_buf.c > 1>pool.c > 3>sip_reg.c > 1>os_timestamp_win32.c > 3>sip_inv.c > 3>Generating Code... > 1>os_timestamp_common.c > 1>os_time_win32.c > 3>Creating library... > 3>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 3>pjsip_ua_wince - 0 error(s), 0 warning(s) > 1>os_error_win32.c > 1>os_core_win32.c > 1>log_writer_stdout.c > 1>Generating Code... > 4>------ Build started: Project: pjsip_simple_wince, Configuration: > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > 4>Compiling... > 4>errno.c > 4>xpidf.c > 1>Compiling... > 1>log.c > 1>lock.c > 1>list.c > 4>rpid.c > 1>ip_helper_win32.c > 4>publishc.c > 4>presence_body.c > 4>presence.c > 1>ioqueue_select.c > 4>pidf.c > 4>iscomposing.c > 1>hash.c > 4>evsub_msg.c > 1>guid_simple.c > 4>evsub.c > 1>guid.c > 1>file_io_win32.c > 4>Generating Code... > 1>file_access_win32.c > 4>Creating library... > 4>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 4>pjsip_simple_wince - 0 error(s), 0 warning(s) > 1>fifobuf.c > 1>except.c > 1>errno.c > 5>------ Build started: Project: pjsip_core_wince, Configuration: > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > 5>Compiling... > 1>ctype.c > 5>sip_auth_aka.c > 1>config.c > 1>array.c > 5>sip_util_statefull.c > 1>Generating Code... > 1>Creating library... > 5>sip_util_proxy.c > 5>sip_util.c > 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: > 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced > label > 5>sip_uri.c > 1>Build log was saved at > "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 1>pjlib_wince - 0 error(s), 0 warning(s) > 5>sip_ua_layer.c > 5>sip_transport_udp.c > 6>------ Build started: Project: pjlib_util_wince, Configuration: > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > 6>Compiling... > 6>base64.c > 5>sip_transport_tcp.c > 6>xml.c > 6>stun_simple_client.c > 6>stun_simple.c > 6>string.c > 6>srv_resolver.c > 5>sip_transport_loop.c > 6>sha1.c > 6>scanner.c > 5>sip_transport.c > 6>resolver.c > 6>md5.c > 5>sip_transaction.c > 6>hmac_sha1.c > 6>hmac_md5.c > 6>getopt.c > 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > 5>sip_tel_uri.c > 6>errno.c > 6>dns_dump.c > 5>sip_resolve.c > 6>dns.c > 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: > 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label > 5>sip_parser.c > 6>crc32.c > 6>Generating Code... > 5>sip_msg.c > 5>sip_errno.c > 6>Creating library... > 5>sip_endpoint.c > 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: > 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label > 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: > 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label > 5>sip_dialog.c > 6>Build log was saved at > "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile > 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 6>pjlib_util_wince - 0 error(s), 0 warning(s) > 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: > 'TODO___DIALOG_APP_TIMER' : unreferenced label > 5>sip_auth_server.c > 5>sip_auth_parser.c > 7>------ Build started: Project: pjmedia_wince, Configuration: Debug > Windows Mobile 6 Professional SDK (ARMV4I) ------ > 7>Compiling... > 7>alaw_ulaw.c > 5>Generating Code... > 7>wave.c > 7>wav_writer.c > 7>wav_playlist.c > 7>wav_player.c > 5>Compiling... > 5>sip_auth_msg.c > 7>transport_udp.c > 5>sip_auth_client.c > 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: > 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label > 5>Generating Code... > 5>Creating library... > 7>transport_ice.c > 5>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 5>pjsip_core_wince - 0 error(s), 9 warning(s) > 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: > 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label > 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: > 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label > 7>tonegen.c > 7>stream.c > 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ > 8>Project not selected to build for this solution configuration > 9>------ Build started: Project: pjnath_wince, Configuration: Debug > Windows Mobile 6 Professional SDK (ARMV4I) ------ > 9>Compiling... > 9>errno.c > 9>stun_transaction.c > 7>splitcomb.c > 9>stun_session.c > 7>sound_port.c > 9>stun_msg_dump.c > 7>silencedet.c > 9>stun_msg.c > 7>session.c > 9>stun_auth.c > 7>sdp_neg.c > 9>nat_detect.c > 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: > 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : > unreferenced label > 7>sdp_cmp.c > 7>sdp.c > 7>rtp.c > 9>ice_strans.c > 7>rtcp.c > 7>resample_speex.c > 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: > 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label > 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: > 'TODO___TX_TO_RELAY' : unreferenced label > 7>resample_resample.c > 9>ice_session.c > 7>Generating Code... > 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: > 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : > unreferenced label > 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: > 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label > 9>Generating Code... > 9>Creating library... > 7>Compiling... > 7>resample_port.c > 9>Build log was saved at > "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 9>pjnath_wince - 0 error(s), 4 warning(s) > 7>port.c > > > > //-------------------------------> error here > > 7>plc_common.c > 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ > 10>Project not selected to build for this solution configuration > 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ > 11>Project not selected to build for this solution configuration > 12>------ Skipped Build: Project: libportaudio, Configuration: Debug > Win32 ------ > 12>Project not selected to build for this solution configuration > 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ > 13>Project not selected to build for this solution configuration > 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug > Win32 ------ > 14>Project not selected to build for this solution configuration > > > > > > > 7>pasound.c > 7>null_port.c > 7>mem_player.c > 7>mem_capture.c > 7>master_port.c > 7>jbuf.c > 7>g711.c > 7>errno.c > 7>endpoint.c > 7>echo_suppress.c > 7>echo_speex.c > 7>echo_port.c > 7>echo_common.c > 7>conference.c > 7>codec.c > 7>clock_thread.c > 7>bidirectional.c > 7>Generating Code... > 7>Compiling... > 7>alaw_ulaw_table.c > 7>Generating Code... > 7>Creating library... > 7>Build log was saved at > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 7>pjmedia_wince - 0 error(s), 3 warning(s) > 15>------ Build started: Project: pjsua_lib_wince, Configuration: > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > 15>Compiling... > 15>pjsua_acc.c > 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: > 'TODO___pjsua_acc_modify' : unreferenced label > 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: > 'TODO___dont_use_pjsua_pool' : unreferenced label > 15>pjsua_pres.c > 15>pjsua_media.c > 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: > 'TODO___set_codec_param' : unreferenced label > 15>pjsua_im.c > 15>pjsua_core.c > 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: > 'TODO___pjsua_transport_set_enable' : unreferenced label > 15>pjsua_call.c > 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: > 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced > label > 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: > 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label > 15>Generating Code... > 15>Creating library... > 15>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 15>pjsua_lib_wince - 0 error(s), 6 warning(s) > 16>------ Build started: Project: pjsua_wince, Configuration: Debug > Windows Mobile 6 Professional SDK (ARMV4I) ------ > 16>Compiling... > 16>StdAfx.cpp > 16>Compiling... > 16>pjsua_wince.cpp > 16>Compiling resources... > > > > //-------------------------------> error here > > 16>Linking... > 16>LINK : fatal error LNK1181: cannot open input file > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > > > 16>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > 16>pjsua_wince - 1 error(s), 0 warning(s) > ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== > > > > > > -- Benny Prijono http://www.pjsip.org
AM
Arpit Mehta
Wed, Nov 28, 2007 7:36 PM

hi,

Thanks Benny that worked. So now it is compiling fine. But I am
getting all these link errors, this error is similar to  one posted
here
http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html
but unfortunately there is no solution given there.

1>------ Rebuild All started: Project: pjlib_wince, Configuration:
Release Windows Mobile 6 Professional SDK (ARMV4I) ------
....................
....................
....................
16>Deleting intermediate and output files for project 'pjsua_wince',
configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)'
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...
16>Linking...
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceCount referenced in function
pjmedia_snd_get_dev_count
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceInfo referenced in function
pjmedia_snd_get_dev_info
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiInfo referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiCount referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_CloseStream referenced in function pjmedia_snd_open
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StopStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StartStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Terminate referenced in function pjmedia_snd_deinit
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Initialize referenced in function pjmedia_snd_init
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol PaUtil_SetDebugPrintFunction referenced in function
pjmedia_snd_init
16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external
symbol Pa_GetErrorText referenced in function pjmedia_strerror
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_GetXOFF referenced in function
pjmedia_resample_create
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_SrcLinear referenced in function
pjmedia_resample_run
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_Resample referenced in function
pjmedia_resample_run
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_create referenced in function gsm_codec_open
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_destroy referenced in function gsm_codec_close
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_encode referenced in function gsm_codec_encode
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_decode referenced in function gsm_codec_decode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initDecode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initEncode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_encode referenced in function ilbc_codec_encode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_decode referenced in function ilbc_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_destroy referenced in
function get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_ctl referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_init referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_uwb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_wb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_nb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_destroy referenced in
function spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_destroy referenced in function
spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_ctl referenced in function
spx_codec_modify
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_write referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_nbytes referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encode_int referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_reset referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decode_int referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_read_from referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_init referenced in function
spx_codec_open
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_init referenced in function
spx_codec_open
16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe
: fatal error LNK1120: 41 unresolved externals
16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Release\BuildLog.htm"
16>pjsua_wince - 42 error(s), 0 warning(s)
========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ==========

Thanks

Regards

Arpit Mehta

On Nov 28, 2007 6:56 AM, Benny Prijono bennylp@pjsip.org wrote:

I don't have VS 2005, so my only guess is this was caused by the
project dependencies not properly set in the workspace during the
conversion process. Please add pjsua_wince project dependencies to

Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

(and probably more).

cheers,
-benny

Arpit Mehta wrote:

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

hi, Thanks Benny that worked. So now it is compiling fine. But I am getting all these link errors, this error is similar to one posted here http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html but unfortunately there is no solution given there. 1>------ Rebuild All started: Project: pjlib_wince, Configuration: Release Windows Mobile 6 Professional SDK (ARMV4I) ------ .................... .................... .................... 16>Deleting intermediate and output files for project 'pjsua_wince', configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)' 16>Compiling... 16>StdAfx.cpp 16>Compiling... 16>pjsua_wince.cpp 16>Compiling resources... 16>Linking... 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetDeviceCount referenced in function pjmedia_snd_get_dev_count 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetDeviceInfo referenced in function pjmedia_snd_get_dev_info 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetHostApiInfo referenced in function pa_get_default_input_dev 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetHostApiCount referenced in function pa_get_default_input_dev 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_CloseStream referenced in function pjmedia_snd_open 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_StopStream referenced in function pjmedia_snd_stream_start 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_StartStream referenced in function pjmedia_snd_stream_start 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_Terminate referenced in function pjmedia_snd_deinit 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol Pa_Initialize referenced in function pjmedia_snd_init 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external symbol PaUtil_SetDebugPrintFunction referenced in function pjmedia_snd_init 16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external symbol Pa_GetErrorText referenced in function pjmedia_strerror 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_GetXOFF referenced in function pjmedia_resample_create 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_SrcLinear referenced in function pjmedia_resample_run 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: unresolved external symbol res_Resample referenced in function pjmedia_resample_run 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_create referenced in function gsm_codec_open 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_destroy referenced in function gsm_codec_close 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_encode referenced in function gsm_codec_encode 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved external symbol gsm_decode referenced in function gsm_codec_decode 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol initDecode referenced in function ilbc_codec_open 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol initEncode referenced in function ilbc_codec_open 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol iLBC_encode referenced in function ilbc_codec_encode 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved external symbol iLBC_decode referenced in function ilbc_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_destroy referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_ctl referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encoder_init referenced in function get_speex_info 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_uwb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_wb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_nb_mode referenced in function pjmedia_codec_speex_init 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_destroy referenced in function spx_codec_close 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_destroy referenced in function spx_codec_close 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_ctl referenced in function spx_codec_modify 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_write referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_nbytes referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_encode_int referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_reset referenced in function spx_codec_encode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decode_int referenced in function spx_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_read_from referenced in function spx_codec_decode 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_decoder_init referenced in function spx_codec_open 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: unresolved external symbol speex_bits_init referenced in function spx_codec_open 16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe : fatal error LNK1120: 41 unresolved externals 16>Build log was saved at "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 Professional SDK (ARMV4I)\Release\BuildLog.htm" 16>pjsua_wince - 42 error(s), 0 warning(s) ========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ========== Thanks Regards Arpit Mehta On Nov 28, 2007 6:56 AM, Benny Prijono <bennylp@pjsip.org> wrote: > > I don't have VS 2005, so my only guess is this was caused by the > project dependencies not properly set in the workspace during the > conversion process. Please add pjsua_wince project dependencies to > > > Project: libgsmcodec > > Project: libspeex > > Project: libresample > > Project: libportaudio > > Project: libmilenage > > Project: libilbccodec > > (and probably more). > > cheers, > -benny > > > > Arpit Mehta wrote: > > Hello all, > > > > I am new to this windows mobile/visual studio and this might be a very > > silly error for some of you. > > I was trying to build pjsip in visual studio 2005. Well the build > > process goes on smoothly for sometime but then at the end it does not > > link to one of the libraries > > > > 16>LINK : fatal error LNK1181: cannot open input file > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > This library is not created/present in this path. > > > > > > Steps I followed > > ------------------------ > > > > --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw > > project , visual studio 2005 converts it into the .sln > > --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i > > choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 > > configuration manager?) > > --> Did Build--> Build Solution > > > > The problem I think is that, when I choose windows mobile 6 > > professional the targets which are supposed to be built for win32 are > > obviously not built. These targets are > > Project: libgsmcodec > > Project: libspeex > > Project: libresample > > Project: libportaudio > > Project: libmilenage > > Project: libilbccodec > > > > Hence the corresponding libraries are also not built which is giving > > the link error. > > > > The build log is pasted below. The errors (which I suspect to be > > creating the problem) I got are shown with some empty space above and > > below it. Please let me know if any more information is needed. > > > > > > Thanks > > > > Regards > > > > Arpit Mehta > > > > > > 1>------ Build started: Project: pjlib_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 2>------ Build started: Project: pjmedia_codec_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 2>Compiling... > > 1>Compiling... > > 1>addr_resolv_sock.c > > 2>gsm.c > > 2>speex_codec.c > > 2>l16.c > > 2>ilbc.c > > 1>unicode_win32.c > > 2>Generating Code... > > 2>Creating library... > > 1>types.c > > 1>timer.c > > 1>string.c > > 2>Build log was saved at > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) > > 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 3>Compiling... > > 3>sip_100rel.c > > 1>sock_select.c > > 1>sock_common.c > > 1>sock_bsd.c > > 1>rbtree.c > > 3>sip_xfer.c > > 1>rand.c > > 1>pool_policy_malloc.c > > 1>pool_caching.c > > 3>sip_replaces.c > > 1>pool_buf.c > > 1>pool.c > > 3>sip_reg.c > > 1>os_timestamp_win32.c > > 3>sip_inv.c > > 3>Generating Code... > > 1>os_timestamp_common.c > > 1>os_time_win32.c > > 3>Creating library... > > 3>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 3>pjsip_ua_wince - 0 error(s), 0 warning(s) > > 1>os_error_win32.c > > 1>os_core_win32.c > > 1>log_writer_stdout.c > > 1>Generating Code... > > 4>------ Build started: Project: pjsip_simple_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 4>Compiling... > > 4>errno.c > > 4>xpidf.c > > 1>Compiling... > > 1>log.c > > 1>lock.c > > 1>list.c > > 4>rpid.c > > 1>ip_helper_win32.c > > 4>publishc.c > > 4>presence_body.c > > 4>presence.c > > 1>ioqueue_select.c > > 4>pidf.c > > 4>iscomposing.c > > 1>hash.c > > 4>evsub_msg.c > > 1>guid_simple.c > > 4>evsub.c > > 1>guid.c > > 1>file_io_win32.c > > 4>Generating Code... > > 1>file_access_win32.c > > 4>Creating library... > > 4>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 4>pjsip_simple_wince - 0 error(s), 0 warning(s) > > 1>fifobuf.c > > 1>except.c > > 1>errno.c > > 5>------ Build started: Project: pjsip_core_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 5>Compiling... > > 1>ctype.c > > 5>sip_auth_aka.c > > 1>config.c > > 1>array.c > > 5>sip_util_statefull.c > > 1>Generating Code... > > 1>Creating library... > > 5>sip_util_proxy.c > > 5>sip_util.c > > 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: > > 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced > > label > > 5>sip_uri.c > > 1>Build log was saved at > > "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 1>pjlib_wince - 0 error(s), 0 warning(s) > > 5>sip_ua_layer.c > > 5>sip_transport_udp.c > > 6>------ Build started: Project: pjlib_util_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 6>Compiling... > > 6>base64.c > > 5>sip_transport_tcp.c > > 6>xml.c > > 6>stun_simple_client.c > > 6>stun_simple.c > > 6>string.c > > 6>srv_resolver.c > > 5>sip_transport_loop.c > > 6>sha1.c > > 6>scanner.c > > 5>sip_transport.c > > 6>resolver.c > > 6>md5.c > > 5>sip_transaction.c > > 6>hmac_sha1.c > > 6>hmac_md5.c > > 6>getopt.c > > 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > 5>sip_tel_uri.c > > 6>errno.c > > 6>dns_dump.c > > 5>sip_resolve.c > > 6>dns.c > > 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: > > 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label > > 5>sip_parser.c > > 6>crc32.c > > 6>Generating Code... > > 5>sip_msg.c > > 5>sip_errno.c > > 6>Creating library... > > 5>sip_endpoint.c > > 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: > > 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label > > 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: > > 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label > > 5>sip_dialog.c > > 6>Build log was saved at > > "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile > > 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 6>pjlib_util_wince - 0 error(s), 0 warning(s) > > 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: > > 'TODO___DIALOG_APP_TIMER' : unreferenced label > > 5>sip_auth_server.c > > 5>sip_auth_parser.c > > 7>------ Build started: Project: pjmedia_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 7>Compiling... > > 7>alaw_ulaw.c > > 5>Generating Code... > > 7>wave.c > > 7>wav_writer.c > > 7>wav_playlist.c > > 7>wav_player.c > > 5>Compiling... > > 5>sip_auth_msg.c > > 7>transport_udp.c > > 5>sip_auth_client.c > > 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: > > 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label > > 5>Generating Code... > > 5>Creating library... > > 7>transport_ice.c > > 5>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 5>pjsip_core_wince - 0 error(s), 9 warning(s) > > 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: > > 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label > > 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: > > 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label > > 7>tonegen.c > > 7>stream.c > > 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ > > 8>Project not selected to build for this solution configuration > > 9>------ Build started: Project: pjnath_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 9>Compiling... > > 9>errno.c > > 9>stun_transaction.c > > 7>splitcomb.c > > 9>stun_session.c > > 7>sound_port.c > > 9>stun_msg_dump.c > > 7>silencedet.c > > 9>stun_msg.c > > 7>session.c > > 9>stun_auth.c > > 7>sdp_neg.c > > 9>nat_detect.c > > 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: > > 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : > > unreferenced label > > 7>sdp_cmp.c > > 7>sdp.c > > 7>rtp.c > > 9>ice_strans.c > > 7>rtcp.c > > 7>resample_speex.c > > 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: > > 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label > > 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: > > 'TODO___TX_TO_RELAY' : unreferenced label > > 7>resample_resample.c > > 9>ice_session.c > > 7>Generating Code... > > 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: > > 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : > > unreferenced label > > 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: > > 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label > > 9>Generating Code... > > 9>Creating library... > > 7>Compiling... > > 7>resample_port.c > > 9>Build log was saved at > > "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 9>pjnath_wince - 0 error(s), 4 warning(s) > > 7>port.c > > > > > > > > //-------------------------------> error here > > > > 7>plc_common.c > > 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ > > 10>Project not selected to build for this solution configuration > > 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ > > 11>Project not selected to build for this solution configuration > > 12>------ Skipped Build: Project: libportaudio, Configuration: Debug > > Win32 ------ > > 12>Project not selected to build for this solution configuration > > 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ > > 13>Project not selected to build for this solution configuration > > 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug > > Win32 ------ > > 14>Project not selected to build for this solution configuration > > > > > > > > > > > > > > 7>pasound.c > > 7>null_port.c > > 7>mem_player.c > > 7>mem_capture.c > > 7>master_port.c > > 7>jbuf.c > > 7>g711.c > > 7>errno.c > > 7>endpoint.c > > 7>echo_suppress.c > > 7>echo_speex.c > > 7>echo_port.c > > 7>echo_common.c > > 7>conference.c > > 7>codec.c > > 7>clock_thread.c > > 7>bidirectional.c > > 7>Generating Code... > > 7>Compiling... > > 7>alaw_ulaw_table.c > > 7>Generating Code... > > 7>Creating library... > > 7>Build log was saved at > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 7>pjmedia_wince - 0 error(s), 3 warning(s) > > 15>------ Build started: Project: pjsua_lib_wince, Configuration: > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 15>Compiling... > > 15>pjsua_acc.c > > 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: > > 'TODO___pjsua_acc_modify' : unreferenced label > > 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: > > 'TODO___dont_use_pjsua_pool' : unreferenced label > > 15>pjsua_pres.c > > 15>pjsua_media.c > > 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: > > 'TODO___set_codec_param' : unreferenced label > > 15>pjsua_im.c > > 15>pjsua_core.c > > 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: > > 'TODO___pjsua_transport_set_enable' : unreferenced label > > 15>pjsua_call.c > > 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: > > 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced > > label > > 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: > > 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label > > 15>Generating Code... > > 15>Creating library... > > 15>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 15>pjsua_lib_wince - 0 error(s), 6 warning(s) > > 16>------ Build started: Project: pjsua_wince, Configuration: Debug > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > 16>Compiling... > > 16>StdAfx.cpp > > 16>Compiling... > > 16>pjsua_wince.cpp > > 16>Compiling resources... > > > > > > > > //-------------------------------> error here > > > > 16>Linking... > > 16>LINK : fatal error LNK1181: cannot open input file > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > > > > > > > > > 16>Build log was saved at > > "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > 16>pjsua_wince - 1 error(s), 0 warning(s) > > ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== > > > > > > > > > > > > > > > -- > Benny Prijono > http://www.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998
AM
Arpit Mehta
Wed, Nov 28, 2007 10:49 PM

Hi,

Also since this looks like a missing library error. Just wanted to add
that these are the libraries I have included in
pjsua_wince -->properties-->linker--> input -->additional dependencies
Do I also need to add more libraries for pjsua_wince project?
Also wanted to add that the third party libraries (as it can be seen
below) were built in win32 platform and not in WM6 platform.

commctrl.lib
coredll.lib
winsock.lib
ws2.lib
iphlpapi.lib
libspeex-i386-win32-vc8-debug.lib
libresample-i386-win32-vc8-debug.lib
libportaudio-i386-win32-vc8-debug.lib
libmilenage-i386-win32-vc8-debug.lib
libilbccodec-i386-win32-vc8-debug.lib
libgsmcodec-i386-win32-vc8-debug.lib

Thanks

Regards

Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

On Nov 28, 2007 2:36 PM, Arpit Mehta am2866@columbia.edu wrote:

hi,

Thanks Benny that worked. So now it is compiling fine. But I am
getting all these link errors, this error is similar to  one posted
here
http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html
but unfortunately there is no solution given there.

1>------ Rebuild All started: Project: pjlib_wince, Configuration:
Release Windows Mobile 6 Professional SDK (ARMV4I) ------
....................
....................
....................
16>Deleting intermediate and output files for project 'pjsua_wince',
configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)'
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...
16>Linking...
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceCount referenced in function
pjmedia_snd_get_dev_count
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceInfo referenced in function
pjmedia_snd_get_dev_info
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiInfo referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiCount referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_CloseStream referenced in function pjmedia_snd_open
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StopStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StartStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Terminate referenced in function pjmedia_snd_deinit
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Initialize referenced in function pjmedia_snd_init
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol PaUtil_SetDebugPrintFunction referenced in function
pjmedia_snd_init
16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external
symbol Pa_GetErrorText referenced in function pjmedia_strerror
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_GetXOFF referenced in function
pjmedia_resample_create
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_SrcLinear referenced in function
pjmedia_resample_run
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_Resample referenced in function
pjmedia_resample_run
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_create referenced in function gsm_codec_open
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_destroy referenced in function gsm_codec_close
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_encode referenced in function gsm_codec_encode
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_decode referenced in function gsm_codec_decode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initDecode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initEncode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_encode referenced in function ilbc_codec_encode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_decode referenced in function ilbc_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_destroy referenced in
function get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_ctl referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_init referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_uwb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_wb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_nb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_destroy referenced in
function spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_destroy referenced in function
spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_ctl referenced in function
spx_codec_modify
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_write referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_nbytes referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encode_int referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_reset referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decode_int referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_read_from referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_init referenced in function
spx_codec_open
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_init referenced in function
spx_codec_open
16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe
: fatal error LNK1120: 41 unresolved externals
16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Release\BuildLog.htm"
16>pjsua_wince - 42 error(s), 0 warning(s)
========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ==========

Thanks

Regards

Arpit Mehta

On Nov 28, 2007 6:56 AM, Benny Prijono bennylp@pjsip.org wrote:

I don't have VS 2005, so my only guess is this was caused by the
project dependencies not properly set in the workspace during the
conversion process. Please add pjsua_wince project dependencies to

Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

(and probably more).

cheers,
-benny

Arpit Mehta wrote:

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

--

Hi, Also since this looks like a missing library error. Just wanted to add that these are the libraries I have included in pjsua_wince -->properties-->linker--> input -->additional dependencies Do I also need to add more libraries for pjsua_wince project? Also wanted to add that the third party libraries (as it can be seen below) were built in win32 platform and not in WM6 platform. commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib libspeex-i386-win32-vc8-debug.lib libresample-i386-win32-vc8-debug.lib libportaudio-i386-win32-vc8-debug.lib libmilenage-i386-win32-vc8-debug.lib libilbccodec-i386-win32-vc8-debug.lib libgsmcodec-i386-win32-vc8-debug.lib Thanks Regards Arpit Mehta Graduate Student Department of Computer Science Columbia University On Nov 28, 2007 2:36 PM, Arpit Mehta <am2866@columbia.edu> wrote: > hi, > > Thanks Benny that worked. So now it is compiling fine. But I am > getting all these link errors, this error is similar to one posted > here > http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html > but unfortunately there is no solution given there. > > > > 1>------ Rebuild All started: Project: pjlib_wince, Configuration: > Release Windows Mobile 6 Professional SDK (ARMV4I) ------ > .................... > .................... > .................... > 16>Deleting intermediate and output files for project 'pjsua_wince', > configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)' > 16>Compiling... > 16>StdAfx.cpp > 16>Compiling... > 16>pjsua_wince.cpp > 16>Compiling resources... > 16>Linking... > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_GetDeviceCount referenced in function > pjmedia_snd_get_dev_count > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_GetDeviceInfo referenced in function > pjmedia_snd_get_dev_info > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_GetHostApiInfo referenced in function > pa_get_default_input_dev > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_GetHostApiCount referenced in function > pa_get_default_input_dev > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_CloseStream referenced in function pjmedia_snd_open > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_StopStream referenced in function pjmedia_snd_stream_start > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_StartStream referenced in function pjmedia_snd_stream_start > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_Terminate referenced in function pjmedia_snd_deinit > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol Pa_Initialize referenced in function pjmedia_snd_init > 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > symbol PaUtil_SetDebugPrintFunction referenced in function > pjmedia_snd_init > 16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external > symbol Pa_GetErrorText referenced in function pjmedia_strerror > 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > unresolved external symbol res_GetXOFF referenced in function > pjmedia_resample_create > 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > unresolved external symbol res_SrcLinear referenced in function > pjmedia_resample_run > 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > unresolved external symbol res_Resample referenced in function > pjmedia_resample_run > 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > external symbol gsm_create referenced in function gsm_codec_open > 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > external symbol gsm_destroy referenced in function gsm_codec_close > 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > external symbol gsm_encode referenced in function gsm_codec_encode > 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > external symbol gsm_decode referenced in function gsm_codec_decode > 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > external symbol initDecode referenced in function ilbc_codec_open > 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > external symbol initEncode referenced in function ilbc_codec_open > 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > external symbol iLBC_encode referenced in function ilbc_codec_encode > 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > external symbol iLBC_decode referenced in function ilbc_codec_decode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_encoder_destroy referenced in > function get_speex_info > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_encoder_ctl referenced in function > get_speex_info > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_encoder_init referenced in function > get_speex_info > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_uwb_mode referenced in function > pjmedia_codec_speex_init > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_wb_mode referenced in function > pjmedia_codec_speex_init > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_nb_mode referenced in function > pjmedia_codec_speex_init > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_decoder_destroy referenced in > function spx_codec_close > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_destroy referenced in function > spx_codec_close > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_decoder_ctl referenced in function > spx_codec_modify > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_write referenced in function > spx_codec_encode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_nbytes referenced in function > spx_codec_encode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_encode_int referenced in function > spx_codec_encode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_reset referenced in function > spx_codec_encode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_decode_int referenced in function > spx_codec_decode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_read_from referenced in function > spx_codec_decode > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_decoder_init referenced in function > spx_codec_open > 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > unresolved external symbol speex_bits_init referenced in function > spx_codec_open > 16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe > : fatal error LNK1120: 41 unresolved externals > 16>Build log was saved at > "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > Professional SDK (ARMV4I)\Release\BuildLog.htm" > 16>pjsua_wince - 42 error(s), 0 warning(s) > ========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ========== > > > > > Thanks > > Regards > > Arpit Mehta > > > > > > On Nov 28, 2007 6:56 AM, Benny Prijono <bennylp@pjsip.org> wrote: > > > > I don't have VS 2005, so my only guess is this was caused by the > > project dependencies not properly set in the workspace during the > > conversion process. Please add pjsua_wince project dependencies to > > > > > Project: libgsmcodec > > > Project: libspeex > > > Project: libresample > > > Project: libportaudio > > > Project: libmilenage > > > Project: libilbccodec > > > > (and probably more). > > > > cheers, > > -benny > > > > > > > > Arpit Mehta wrote: > > > Hello all, > > > > > > I am new to this windows mobile/visual studio and this might be a very > > > silly error for some of you. > > > I was trying to build pjsip in visual studio 2005. Well the build > > > process goes on smoothly for sometime but then at the end it does not > > > link to one of the libraries > > > > > > 16>LINK : fatal error LNK1181: cannot open input file > > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > > > This library is not created/present in this path. > > > > > > > > > Steps I followed > > > ------------------------ > > > > > > --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw > > > project , visual studio 2005 converts it into the .sln > > > --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i > > > choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 > > > configuration manager?) > > > --> Did Build--> Build Solution > > > > > > The problem I think is that, when I choose windows mobile 6 > > > professional the targets which are supposed to be built for win32 are > > > obviously not built. These targets are > > > Project: libgsmcodec > > > Project: libspeex > > > Project: libresample > > > Project: libportaudio > > > Project: libmilenage > > > Project: libilbccodec > > > > > > Hence the corresponding libraries are also not built which is giving > > > the link error. > > > > > > The build log is pasted below. The errors (which I suspect to be > > > creating the problem) I got are shown with some empty space above and > > > below it. Please let me know if any more information is needed. > > > > > > > > > Thanks > > > > > > Regards > > > > > > Arpit Mehta > > > > > > > > > 1>------ Build started: Project: pjlib_wince, Configuration: Debug > > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 2>------ Build started: Project: pjmedia_codec_wince, Configuration: > > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 2>Compiling... > > > 1>Compiling... > > > 1>addr_resolv_sock.c > > > 2>gsm.c > > > 2>speex_codec.c > > > 2>l16.c > > > 2>ilbc.c > > > 1>unicode_win32.c > > > 2>Generating Code... > > > 2>Creating library... > > > 1>types.c > > > 1>timer.c > > > 1>string.c > > > 2>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) > > > 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug > > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 3>Compiling... > > > 3>sip_100rel.c > > > 1>sock_select.c > > > 1>sock_common.c > > > 1>sock_bsd.c > > > 1>rbtree.c > > > 3>sip_xfer.c > > > 1>rand.c > > > 1>pool_policy_malloc.c > > > 1>pool_caching.c > > > 3>sip_replaces.c > > > 1>pool_buf.c > > > 1>pool.c > > > 3>sip_reg.c > > > 1>os_timestamp_win32.c > > > 3>sip_inv.c > > > 3>Generating Code... > > > 1>os_timestamp_common.c > > > 1>os_time_win32.c > > > 3>Creating library... > > > 3>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 3>pjsip_ua_wince - 0 error(s), 0 warning(s) > > > 1>os_error_win32.c > > > 1>os_core_win32.c > > > 1>log_writer_stdout.c > > > 1>Generating Code... > > > 4>------ Build started: Project: pjsip_simple_wince, Configuration: > > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 4>Compiling... > > > 4>errno.c > > > 4>xpidf.c > > > 1>Compiling... > > > 1>log.c > > > 1>lock.c > > > 1>list.c > > > 4>rpid.c > > > 1>ip_helper_win32.c > > > 4>publishc.c > > > 4>presence_body.c > > > 4>presence.c > > > 1>ioqueue_select.c > > > 4>pidf.c > > > 4>iscomposing.c > > > 1>hash.c > > > 4>evsub_msg.c > > > 1>guid_simple.c > > > 4>evsub.c > > > 1>guid.c > > > 1>file_io_win32.c > > > 4>Generating Code... > > > 1>file_access_win32.c > > > 4>Creating library... > > > 4>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 4>pjsip_simple_wince - 0 error(s), 0 warning(s) > > > 1>fifobuf.c > > > 1>except.c > > > 1>errno.c > > > 5>------ Build started: Project: pjsip_core_wince, Configuration: > > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 5>Compiling... > > > 1>ctype.c > > > 5>sip_auth_aka.c > > > 1>config.c > > > 1>array.c > > > 5>sip_util_statefull.c > > > 1>Generating Code... > > > 1>Creating library... > > > 5>sip_util_proxy.c > > > 5>sip_util.c > > > 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: > > > 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced > > > label > > > 5>sip_uri.c > > > 1>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 1>pjlib_wince - 0 error(s), 0 warning(s) > > > 5>sip_ua_layer.c > > > 5>sip_transport_udp.c > > > 6>------ Build started: Project: pjlib_util_wince, Configuration: > > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 6>Compiling... > > > 6>base64.c > > > 5>sip_transport_tcp.c > > > 6>xml.c > > > 6>stun_simple_client.c > > > 6>stun_simple.c > > > 6>string.c > > > 6>srv_resolver.c > > > 5>sip_transport_loop.c > > > 6>sha1.c > > > 6>scanner.c > > > 5>sip_transport.c > > > 6>resolver.c > > > 6>md5.c > > > 5>sip_transaction.c > > > 6>hmac_sha1.c > > > 6>hmac_md5.c > > > 6>getopt.c > > > 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: > > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > > 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: > > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > > 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: > > > 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > > > 5>sip_tel_uri.c > > > 6>errno.c > > > 6>dns_dump.c > > > 5>sip_resolve.c > > > 6>dns.c > > > 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: > > > 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label > > > 5>sip_parser.c > > > 6>crc32.c > > > 6>Generating Code... > > > 5>sip_msg.c > > > 5>sip_errno.c > > > 6>Creating library... > > > 5>sip_endpoint.c > > > 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: > > > 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label > > > 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: > > > 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label > > > 5>sip_dialog.c > > > 6>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile > > > 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 6>pjlib_util_wince - 0 error(s), 0 warning(s) > > > 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: > > > 'TODO___DIALOG_APP_TIMER' : unreferenced label > > > 5>sip_auth_server.c > > > 5>sip_auth_parser.c > > > 7>------ Build started: Project: pjmedia_wince, Configuration: Debug > > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 7>Compiling... > > > 7>alaw_ulaw.c > > > 5>Generating Code... > > > 7>wave.c > > > 7>wav_writer.c > > > 7>wav_playlist.c > > > 7>wav_player.c > > > 5>Compiling... > > > 5>sip_auth_msg.c > > > 7>transport_udp.c > > > 5>sip_auth_client.c > > > 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: > > > 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label > > > 5>Generating Code... > > > 5>Creating library... > > > 7>transport_ice.c > > > 5>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 5>pjsip_core_wince - 0 error(s), 9 warning(s) > > > 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: > > > 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label > > > 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: > > > 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label > > > 7>tonegen.c > > > 7>stream.c > > > 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ > > > 8>Project not selected to build for this solution configuration > > > 9>------ Build started: Project: pjnath_wince, Configuration: Debug > > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 9>Compiling... > > > 9>errno.c > > > 9>stun_transaction.c > > > 7>splitcomb.c > > > 9>stun_session.c > > > 7>sound_port.c > > > 9>stun_msg_dump.c > > > 7>silencedet.c > > > 9>stun_msg.c > > > 7>session.c > > > 9>stun_auth.c > > > 7>sdp_neg.c > > > 9>nat_detect.c > > > 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: > > > 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : > > > unreferenced label > > > 7>sdp_cmp.c > > > 7>sdp.c > > > 7>rtp.c > > > 9>ice_strans.c > > > 7>rtcp.c > > > 7>resample_speex.c > > > 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: > > > 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label > > > 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: > > > 'TODO___TX_TO_RELAY' : unreferenced label > > > 7>resample_resample.c > > > 9>ice_session.c > > > 7>Generating Code... > > > 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: > > > 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : > > > unreferenced label > > > 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: > > > 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label > > > 9>Generating Code... > > > 9>Creating library... > > > 7>Compiling... > > > 7>resample_port.c > > > 9>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 9>pjnath_wince - 0 error(s), 4 warning(s) > > > 7>port.c > > > > > > > > > > > > //-------------------------------> error here > > > > > > 7>plc_common.c > > > 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ > > > 10>Project not selected to build for this solution configuration > > > 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ > > > 11>Project not selected to build for this solution configuration > > > 12>------ Skipped Build: Project: libportaudio, Configuration: Debug > > > Win32 ------ > > > 12>Project not selected to build for this solution configuration > > > 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ > > > 13>Project not selected to build for this solution configuration > > > 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug > > > Win32 ------ > > > 14>Project not selected to build for this solution configuration > > > > > > > > > > > > > > > > > > > > > 7>pasound.c > > > 7>null_port.c > > > 7>mem_player.c > > > 7>mem_capture.c > > > 7>master_port.c > > > 7>jbuf.c > > > 7>g711.c > > > 7>errno.c > > > 7>endpoint.c > > > 7>echo_suppress.c > > > 7>echo_speex.c > > > 7>echo_port.c > > > 7>echo_common.c > > > 7>conference.c > > > 7>codec.c > > > 7>clock_thread.c > > > 7>bidirectional.c > > > 7>Generating Code... > > > 7>Compiling... > > > 7>alaw_ulaw_table.c > > > 7>Generating Code... > > > 7>Creating library... > > > 7>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 7>pjmedia_wince - 0 error(s), 3 warning(s) > > > 15>------ Build started: Project: pjsua_lib_wince, Configuration: > > > Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 15>Compiling... > > > 15>pjsua_acc.c > > > 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: > > > 'TODO___pjsua_acc_modify' : unreferenced label > > > 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: > > > 'TODO___dont_use_pjsua_pool' : unreferenced label > > > 15>pjsua_pres.c > > > 15>pjsua_media.c > > > 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: > > > 'TODO___set_codec_param' : unreferenced label > > > 15>pjsua_im.c > > > 15>pjsua_core.c > > > 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: > > > 'TODO___pjsua_transport_set_enable' : unreferenced label > > > 15>pjsua_call.c > > > 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: > > > 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced > > > label > > > 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: > > > 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label > > > 15>Generating Code... > > > 15>Creating library... > > > 15>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 15>pjsua_lib_wince - 0 error(s), 6 warning(s) > > > 16>------ Build started: Project: pjsua_wince, Configuration: Debug > > > Windows Mobile 6 Professional SDK (ARMV4I) ------ > > > 16>Compiling... > > > 16>StdAfx.cpp > > > 16>Compiling... > > > 16>pjsua_wince.cpp > > > 16>Compiling resources... > > > > > > > > > > > > //-------------------------------> error here > > > > > > 16>Linking... > > > 16>LINK : fatal error LNK1181: cannot open input file > > > '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > > > > > > > > > > > > > > > > > > 16>Build log was saved at > > > "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > > > Professional SDK (ARMV4I)\Debug\BuildLog.htm" > > > 16>pjsua_wince - 1 error(s), 0 warning(s) > > > ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== > > > > > > > > > > > > > > > > > > > > > > > > -- > > Benny Prijono > > http://www.pjsip.org > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > > -- > Arpit Mehta > Graduate Student > Department of Computer Science > Columbia University > > Tel: 1-646-387-5998 > --
OB
Olivier Beytrison
Thu, Nov 29, 2007 10:43 AM

Hello,

Sorry for being less active those days, I just got my degree so I was
pretty busy the past days.

alright, the problem here is that the solution you have contains wince
projects (all the pjsip projects) and Win32 projects (the third party
project). This happened because when you openend the wince_demos.vcw
file, you didn't said "no" when VS2005 asked you if you want to use the
existing VC++ project file.

In fact, if you look at the third_party\build*\ directory, you will
always find a .vcp, .dsp and .vcproj file.
.vcproj is for Win32
.vcp is for WinCE
.dsp i don't remember

when VS2005 open the .vcp project file he see that there's already a
.vcproj file present, and ask you if you want to load it insteed. that's
the problem, if you accept, you end up with Win32 projects in your WinCE
solution.

below is the steps to perform in order to get a working version of
pjsua_wince for Windows Mobile 6

  1. Check out a fresh new version of the pjsip project from its svn

  2. Copy the pjlib\include\pj\config_site_sample.h as config_site.h

  3. Edit the file \third_party\portaudio\src\common\pa_debugprint.c
    line 77 change it from
    #if (_MSC_VER) && (_MSC_VER < 1400)
    to
    #if (_MSC_VER) && (_MSC_VER <= 1400)

  4. Launch VS20005 Professional

  5. browse and open the pjsip-apps\build\wince-evc4\wince_demos.vcw file

  6. now be sure to answer "NO" when VS2005 asks you if you want to use
    the project file already present for some of the projects. If you say
    yes, you will load project files for win32, in place of winCE (which
    is the problem when looking at your mail)

  7. Answer "Yes" when they ask you if you want to convert the project
    file

  8. Choose "Windows Mobile 6 Professional" from the drop down, and debug

  9. Run "Generate" on the pjsua_wince project and it should be okay  :)

with those steps you're sure to have something working at the end.

Regards,

Olivier B.

Arpit Mehta a écrit :

Hi,

Also since this looks like a missing library error. Just wanted to add
that these are the libraries I have included in
pjsua_wince -->properties-->linker--> input -->additional dependencies
Do I also need to add more libraries for pjsua_wince project?
Also wanted to add that the third party libraries (as it can be seen
below) were built in win32 platform and not in WM6 platform.

commctrl.lib
coredll.lib
winsock.lib
ws2.lib
iphlpapi.lib
libspeex-i386-win32-vc8-debug.lib
libresample-i386-win32-vc8-debug.lib
libportaudio-i386-win32-vc8-debug.lib
libmilenage-i386-win32-vc8-debug.lib
libilbccodec-i386-win32-vc8-debug.lib
libgsmcodec-i386-win32-vc8-debug.lib

Thanks

Regards

Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

On Nov 28, 2007 2:36 PM, Arpit Mehta am2866@columbia.edu wrote:

hi,

Thanks Benny that worked. So now it is compiling fine. But I am
getting all these link errors, this error is similar to  one posted
here
http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html
but unfortunately there is no solution given there.

1>------ Rebuild All started: Project: pjlib_wince, Configuration:
Release Windows Mobile 6 Professional SDK (ARMV4I) ------
....................
....................
....................
16>Deleting intermediate and output files for project 'pjsua_wince',
configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)'
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...
16>Linking...
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceCount referenced in function
pjmedia_snd_get_dev_count
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceInfo referenced in function
pjmedia_snd_get_dev_info
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiInfo referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiCount referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_CloseStream referenced in function pjmedia_snd_open
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StopStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StartStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Terminate referenced in function pjmedia_snd_deinit
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Initialize referenced in function pjmedia_snd_init
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol PaUtil_SetDebugPrintFunction referenced in function
pjmedia_snd_init
16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external
symbol Pa_GetErrorText referenced in function pjmedia_strerror
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_GetXOFF referenced in function
pjmedia_resample_create
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_SrcLinear referenced in function
pjmedia_resample_run
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_Resample referenced in function
pjmedia_resample_run
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_create referenced in function gsm_codec_open
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_destroy referenced in function gsm_codec_close
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_encode referenced in function gsm_codec_encode
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_decode referenced in function gsm_codec_decode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initDecode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initEncode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_encode referenced in function ilbc_codec_encode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_decode referenced in function ilbc_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_destroy referenced in
function get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_ctl referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_init referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_uwb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_wb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_nb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_destroy referenced in
function spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_destroy referenced in function
spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_ctl referenced in function
spx_codec_modify
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_write referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_nbytes referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encode_int referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_reset referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decode_int referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_read_from referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_init referenced in function
spx_codec_open
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_init referenced in function
spx_codec_open
16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe
: fatal error LNK1120: 41 unresolved externals
16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Release\BuildLog.htm"
16>pjsua_wince - 42 error(s), 0 warning(s)
========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ==========

Thanks

Regards

Arpit Mehta

On Nov 28, 2007 6:56 AM, Benny Prijono bennylp@pjsip.org wrote:

I don't have VS 2005, so my only guess is this was caused by the
project dependencies not properly set in the workspace during the
conversion process. Please add pjsua_wince project dependencies to

Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

(and probably more).

cheers,
-benny

Arpit Mehta wrote:

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

Hello, Sorry for being less active those days, I just got my degree so I was pretty busy the past days. alright, the problem here is that the solution you have contains wince projects (all the pjsip projects) and Win32 projects (the third party project). This happened because when you openend the wince_demos.vcw file, you didn't said "no" when VS2005 asked you if you want to use the existing VC++ project file. In fact, if you look at the third_party\build\*\ directory, you will always find a .vcp, .dsp and .vcproj file. .vcproj is for Win32 .vcp is for WinCE .dsp i don't remember when VS2005 open the .vcp project file he see that there's already a .vcproj file present, and ask you if you want to load it insteed. that's the problem, if you accept, you end up with Win32 projects in your WinCE solution. below is the steps to perform in order to get a working version of pjsua_wince for Windows Mobile 6 1. Check out a fresh new version of the pjsip project from its svn 2. Copy the pjlib\include\pj\config_site_sample.h as config_site.h 3. Edit the file \third_party\portaudio\src\common\pa_debugprint.c line 77 change it from #if (_MSC_VER) && (_MSC_VER < 1400) to #if (_MSC_VER) && (_MSC_VER <= 1400) 4. Launch VS20005 Professional 5. browse and open the pjsip-apps\build\wince-evc4\wince_demos.vcw file 6. now be sure to answer "NO" when VS2005 asks you if you want to use the project file already present for some of the projects. If you say yes, you will load project files for win32, in place of winCE (which is the problem when looking at your mail) 7. Answer "Yes" when they ask you if you want to convert the project file 8. Choose "Windows Mobile 6 Professional" from the drop down, and debug 9. Run "Generate" on the pjsua_wince project and it should be okay :) with those steps you're sure to have something working at the end. Regards, Olivier B. Arpit Mehta a écrit : > Hi, > > Also since this looks like a missing library error. Just wanted to add > that these are the libraries I have included in > pjsua_wince -->properties-->linker--> input -->additional dependencies > Do I also need to add more libraries for pjsua_wince project? > Also wanted to add that the third party libraries (as it can be seen > below) were built in win32 platform and not in WM6 platform. > > commctrl.lib > coredll.lib > winsock.lib > ws2.lib > iphlpapi.lib > libspeex-i386-win32-vc8-debug.lib > libresample-i386-win32-vc8-debug.lib > libportaudio-i386-win32-vc8-debug.lib > libmilenage-i386-win32-vc8-debug.lib > libilbccodec-i386-win32-vc8-debug.lib > libgsmcodec-i386-win32-vc8-debug.lib > > > Thanks > > Regards > > Arpit Mehta > Graduate Student > Department of Computer Science > Columbia University > > On Nov 28, 2007 2:36 PM, Arpit Mehta <am2866@columbia.edu> wrote: >> hi, >> >> Thanks Benny that worked. So now it is compiling fine. But I am >> getting all these link errors, this error is similar to one posted >> here >> http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html >> but unfortunately there is no solution given there. >> >> >> >> 1>------ Rebuild All started: Project: pjlib_wince, Configuration: >> Release Windows Mobile 6 Professional SDK (ARMV4I) ------ >> .................... >> .................... >> .................... >> 16>Deleting intermediate and output files for project 'pjsua_wince', >> configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)' >> 16>Compiling... >> 16>StdAfx.cpp >> 16>Compiling... >> 16>pjsua_wince.cpp >> 16>Compiling resources... >> 16>Linking... >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_GetDeviceCount referenced in function >> pjmedia_snd_get_dev_count >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_GetDeviceInfo referenced in function >> pjmedia_snd_get_dev_info >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_GetHostApiInfo referenced in function >> pa_get_default_input_dev >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_GetHostApiCount referenced in function >> pa_get_default_input_dev >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_CloseStream referenced in function pjmedia_snd_open >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_StopStream referenced in function pjmedia_snd_stream_start >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_StartStream referenced in function pjmedia_snd_stream_start >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_Terminate referenced in function pjmedia_snd_deinit >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol Pa_Initialize referenced in function pjmedia_snd_init >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external >> symbol PaUtil_SetDebugPrintFunction referenced in function >> pjmedia_snd_init >> 16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external >> symbol Pa_GetErrorText referenced in function pjmedia_strerror >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: >> unresolved external symbol res_GetXOFF referenced in function >> pjmedia_resample_create >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: >> unresolved external symbol res_SrcLinear referenced in function >> pjmedia_resample_run >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: >> unresolved external symbol res_Resample referenced in function >> pjmedia_resample_run >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved >> external symbol gsm_create referenced in function gsm_codec_open >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved >> external symbol gsm_destroy referenced in function gsm_codec_close >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved >> external symbol gsm_encode referenced in function gsm_codec_encode >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved >> external symbol gsm_decode referenced in function gsm_codec_decode >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved >> external symbol initDecode referenced in function ilbc_codec_open >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved >> external symbol initEncode referenced in function ilbc_codec_open >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved >> external symbol iLBC_encode referenced in function ilbc_codec_encode >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved >> external symbol iLBC_decode referenced in function ilbc_codec_decode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_encoder_destroy referenced in >> function get_speex_info >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_encoder_ctl referenced in function >> get_speex_info >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_encoder_init referenced in function >> get_speex_info >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_uwb_mode referenced in function >> pjmedia_codec_speex_init >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_wb_mode referenced in function >> pjmedia_codec_speex_init >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_nb_mode referenced in function >> pjmedia_codec_speex_init >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_decoder_destroy referenced in >> function spx_codec_close >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_destroy referenced in function >> spx_codec_close >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_decoder_ctl referenced in function >> spx_codec_modify >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_write referenced in function >> spx_codec_encode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_nbytes referenced in function >> spx_codec_encode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_encode_int referenced in function >> spx_codec_encode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_reset referenced in function >> spx_codec_encode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_decode_int referenced in function >> spx_codec_decode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_read_from referenced in function >> spx_codec_decode >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_decoder_init referenced in function >> spx_codec_open >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: >> unresolved external symbol speex_bits_init referenced in function >> spx_codec_open >> 16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe >> : fatal error LNK1120: 41 unresolved externals >> 16>Build log was saved at >> "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 >> Professional SDK (ARMV4I)\Release\BuildLog.htm" >> 16>pjsua_wince - 42 error(s), 0 warning(s) >> ========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ========== >> >> >> >> >> Thanks >> >> Regards >> >> Arpit Mehta >> >> >> >> >> >> On Nov 28, 2007 6:56 AM, Benny Prijono <bennylp@pjsip.org> wrote: >>> I don't have VS 2005, so my only guess is this was caused by the >>> project dependencies not properly set in the workspace during the >>> conversion process. Please add pjsua_wince project dependencies to >>> >>> > Project: libgsmcodec >>> > Project: libspeex >>> > Project: libresample >>> > Project: libportaudio >>> > Project: libmilenage >>> > Project: libilbccodec >>> >>> (and probably more). >>> >>> cheers, >>> -benny >>> >>> >>> >>> Arpit Mehta wrote: >>>> Hello all, >>>> >>>> I am new to this windows mobile/visual studio and this might be a very >>>> silly error for some of you. >>>> I was trying to build pjsip in visual studio 2005. Well the build >>>> process goes on smoothly for sometime but then at the end it does not >>>> link to one of the libraries >>>> >>>> 16>LINK : fatal error LNK1181: cannot open input file >>>> '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' >>>> >>>> This library is not created/present in this path. >>>> >>>> >>>> Steps I followed >>>> ------------------------ >>>> >>>> --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw >>>> project , visual studio 2005 converts it into the .sln >>>> --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i >>>> choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 >>>> configuration manager?) >>>> --> Did Build--> Build Solution >>>> >>>> The problem I think is that, when I choose windows mobile 6 >>>> professional the targets which are supposed to be built for win32 are >>>> obviously not built. These targets are >>>> Project: libgsmcodec >>>> Project: libspeex >>>> Project: libresample >>>> Project: libportaudio >>>> Project: libmilenage >>>> Project: libilbccodec >>>> >>>> Hence the corresponding libraries are also not built which is giving >>>> the link error. >>>> >>>> The build log is pasted below. The errors (which I suspect to be >>>> creating the problem) I got are shown with some empty space above and >>>> below it. Please let me know if any more information is needed. >>>> >>>> >>>> Thanks >>>> >>>> Regards >>>> >>>> Arpit Mehta >>>> >>>> >>>> 1>------ Build started: Project: pjlib_wince, Configuration: Debug >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 2>------ Build started: Project: pjmedia_codec_wince, Configuration: >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 2>Compiling... >>>> 1>Compiling... >>>> 1>addr_resolv_sock.c >>>> 2>gsm.c >>>> 2>speex_codec.c >>>> 2>l16.c >>>> 2>ilbc.c >>>> 1>unicode_win32.c >>>> 2>Generating Code... >>>> 2>Creating library... >>>> 1>types.c >>>> 1>timer.c >>>> 1>string.c >>>> 2>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) >>>> 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 3>Compiling... >>>> 3>sip_100rel.c >>>> 1>sock_select.c >>>> 1>sock_common.c >>>> 1>sock_bsd.c >>>> 1>rbtree.c >>>> 3>sip_xfer.c >>>> 1>rand.c >>>> 1>pool_policy_malloc.c >>>> 1>pool_caching.c >>>> 3>sip_replaces.c >>>> 1>pool_buf.c >>>> 1>pool.c >>>> 3>sip_reg.c >>>> 1>os_timestamp_win32.c >>>> 3>sip_inv.c >>>> 3>Generating Code... >>>> 1>os_timestamp_common.c >>>> 1>os_time_win32.c >>>> 3>Creating library... >>>> 3>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 3>pjsip_ua_wince - 0 error(s), 0 warning(s) >>>> 1>os_error_win32.c >>>> 1>os_core_win32.c >>>> 1>log_writer_stdout.c >>>> 1>Generating Code... >>>> 4>------ Build started: Project: pjsip_simple_wince, Configuration: >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 4>Compiling... >>>> 4>errno.c >>>> 4>xpidf.c >>>> 1>Compiling... >>>> 1>log.c >>>> 1>lock.c >>>> 1>list.c >>>> 4>rpid.c >>>> 1>ip_helper_win32.c >>>> 4>publishc.c >>>> 4>presence_body.c >>>> 4>presence.c >>>> 1>ioqueue_select.c >>>> 4>pidf.c >>>> 4>iscomposing.c >>>> 1>hash.c >>>> 4>evsub_msg.c >>>> 1>guid_simple.c >>>> 4>evsub.c >>>> 1>guid.c >>>> 1>file_io_win32.c >>>> 4>Generating Code... >>>> 1>file_access_win32.c >>>> 4>Creating library... >>>> 4>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 4>pjsip_simple_wince - 0 error(s), 0 warning(s) >>>> 1>fifobuf.c >>>> 1>except.c >>>> 1>errno.c >>>> 5>------ Build started: Project: pjsip_core_wince, Configuration: >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 5>Compiling... >>>> 1>ctype.c >>>> 5>sip_auth_aka.c >>>> 1>config.c >>>> 1>array.c >>>> 5>sip_util_statefull.c >>>> 1>Generating Code... >>>> 1>Creating library... >>>> 5>sip_util_proxy.c >>>> 5>sip_util.c >>>> 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: >>>> 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced >>>> label >>>> 5>sip_uri.c >>>> 1>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 1>pjlib_wince - 0 error(s), 0 warning(s) >>>> 5>sip_ua_layer.c >>>> 5>sip_transport_udp.c >>>> 6>------ Build started: Project: pjlib_util_wince, Configuration: >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 6>Compiling... >>>> 6>base64.c >>>> 5>sip_transport_tcp.c >>>> 6>xml.c >>>> 6>stun_simple_client.c >>>> 6>stun_simple.c >>>> 6>string.c >>>> 6>srv_resolver.c >>>> 5>sip_transport_loop.c >>>> 6>sha1.c >>>> 6>scanner.c >>>> 5>sip_transport.c >>>> 6>resolver.c >>>> 6>md5.c >>>> 5>sip_transaction.c >>>> 6>hmac_sha1.c >>>> 6>hmac_md5.c >>>> 6>getopt.c >>>> 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label >>>> 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label >>>> 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label >>>> 5>sip_tel_uri.c >>>> 6>errno.c >>>> 6>dns_dump.c >>>> 5>sip_resolve.c >>>> 6>dns.c >>>> 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: >>>> 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label >>>> 5>sip_parser.c >>>> 6>crc32.c >>>> 6>Generating Code... >>>> 5>sip_msg.c >>>> 5>sip_errno.c >>>> 6>Creating library... >>>> 5>sip_endpoint.c >>>> 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: >>>> 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label >>>> 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: >>>> 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label >>>> 5>sip_dialog.c >>>> 6>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile >>>> 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 6>pjlib_util_wince - 0 error(s), 0 warning(s) >>>> 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: >>>> 'TODO___DIALOG_APP_TIMER' : unreferenced label >>>> 5>sip_auth_server.c >>>> 5>sip_auth_parser.c >>>> 7>------ Build started: Project: pjmedia_wince, Configuration: Debug >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 7>Compiling... >>>> 7>alaw_ulaw.c >>>> 5>Generating Code... >>>> 7>wave.c >>>> 7>wav_writer.c >>>> 7>wav_playlist.c >>>> 7>wav_player.c >>>> 5>Compiling... >>>> 5>sip_auth_msg.c >>>> 7>transport_udp.c >>>> 5>sip_auth_client.c >>>> 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: >>>> 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label >>>> 5>Generating Code... >>>> 5>Creating library... >>>> 7>transport_ice.c >>>> 5>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 5>pjsip_core_wince - 0 error(s), 9 warning(s) >>>> 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: >>>> 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label >>>> 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: >>>> 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label >>>> 7>tonegen.c >>>> 7>stream.c >>>> 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ >>>> 8>Project not selected to build for this solution configuration >>>> 9>------ Build started: Project: pjnath_wince, Configuration: Debug >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 9>Compiling... >>>> 9>errno.c >>>> 9>stun_transaction.c >>>> 7>splitcomb.c >>>> 9>stun_session.c >>>> 7>sound_port.c >>>> 9>stun_msg_dump.c >>>> 7>silencedet.c >>>> 9>stun_msg.c >>>> 7>session.c >>>> 9>stun_auth.c >>>> 7>sdp_neg.c >>>> 9>nat_detect.c >>>> 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: >>>> 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : >>>> unreferenced label >>>> 7>sdp_cmp.c >>>> 7>sdp.c >>>> 7>rtp.c >>>> 9>ice_strans.c >>>> 7>rtcp.c >>>> 7>resample_speex.c >>>> 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: >>>> 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label >>>> 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: >>>> 'TODO___TX_TO_RELAY' : unreferenced label >>>> 7>resample_resample.c >>>> 9>ice_session.c >>>> 7>Generating Code... >>>> 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: >>>> 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : >>>> unreferenced label >>>> 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: >>>> 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label >>>> 9>Generating Code... >>>> 9>Creating library... >>>> 7>Compiling... >>>> 7>resample_port.c >>>> 9>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 9>pjnath_wince - 0 error(s), 4 warning(s) >>>> 7>port.c >>>> >>>> >>>> >>>> //-------------------------------> error here >>>> >>>> 7>plc_common.c >>>> 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ >>>> 10>Project not selected to build for this solution configuration >>>> 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ >>>> 11>Project not selected to build for this solution configuration >>>> 12>------ Skipped Build: Project: libportaudio, Configuration: Debug >>>> Win32 ------ >>>> 12>Project not selected to build for this solution configuration >>>> 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ >>>> 13>Project not selected to build for this solution configuration >>>> 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug >>>> Win32 ------ >>>> 14>Project not selected to build for this solution configuration >>>> >>>> >>>> >>>> >>>> >>>> >>>> 7>pasound.c >>>> 7>null_port.c >>>> 7>mem_player.c >>>> 7>mem_capture.c >>>> 7>master_port.c >>>> 7>jbuf.c >>>> 7>g711.c >>>> 7>errno.c >>>> 7>endpoint.c >>>> 7>echo_suppress.c >>>> 7>echo_speex.c >>>> 7>echo_port.c >>>> 7>echo_common.c >>>> 7>conference.c >>>> 7>codec.c >>>> 7>clock_thread.c >>>> 7>bidirectional.c >>>> 7>Generating Code... >>>> 7>Compiling... >>>> 7>alaw_ulaw_table.c >>>> 7>Generating Code... >>>> 7>Creating library... >>>> 7>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 7>pjmedia_wince - 0 error(s), 3 warning(s) >>>> 15>------ Build started: Project: pjsua_lib_wince, Configuration: >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 15>Compiling... >>>> 15>pjsua_acc.c >>>> 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: >>>> 'TODO___pjsua_acc_modify' : unreferenced label >>>> 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: >>>> 'TODO___dont_use_pjsua_pool' : unreferenced label >>>> 15>pjsua_pres.c >>>> 15>pjsua_media.c >>>> 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: >>>> 'TODO___set_codec_param' : unreferenced label >>>> 15>pjsua_im.c >>>> 15>pjsua_core.c >>>> 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: >>>> 'TODO___pjsua_transport_set_enable' : unreferenced label >>>> 15>pjsua_call.c >>>> 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: >>>> 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced >>>> label >>>> 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: >>>> 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label >>>> 15>Generating Code... >>>> 15>Creating library... >>>> 15>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 15>pjsua_lib_wince - 0 error(s), 6 warning(s) >>>> 16>------ Build started: Project: pjsua_wince, Configuration: Debug >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ >>>> 16>Compiling... >>>> 16>StdAfx.cpp >>>> 16>Compiling... >>>> 16>pjsua_wince.cpp >>>> 16>Compiling resources... >>>> >>>> >>>> >>>> //-------------------------------> error here >>>> >>>> 16>Linking... >>>> 16>LINK : fatal error LNK1181: cannot open input file >>>> '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' >>>> >>>> >>>> >>>> >>>> >>>> 16>Build log was saved at >>>> "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" >>>> 16>pjsua_wince - 1 error(s), 0 warning(s) >>>> ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> Benny Prijono >>> http://www.pjsip.org >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> >> >> -- >> Arpit Mehta >> Graduate Student >> Department of Computer Science >> Columbia University >> >> Tel: 1-646-387-5998 >> > > > > -- > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Olivier Beytrison Telecommunication Engineer Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org GPG: 0x4FB83528 http://pgp.mit.edu/
AM
Arpit Mehta
Fri, Nov 30, 2007 1:34 AM

Thanks !!! Well the procedure worked like a charm !! :) I hope it gets
included somewhere in the documentation to make it easier for first
time users like me.

Just to let you know VS2005 gave errors the first time regarding
corrupt project, but checking out the source code again worked just
fine.

So now I have a very simple UA from which can make a call only. Is it
the rest of UA (the one which I saw in the screenshot for WinXP
http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples.htm) also
available as a WinCE port ?

Thanks

Regards

Arpit Mehta

On Nov 29, 2007 5:43 AM, Olivier Beytrison olivier@heliosnet.org wrote:

Hello,

Sorry for being less active those days, I just got my degree so I was
pretty busy the past days.

alright, the problem here is that the solution you have contains wince
projects (all the pjsip projects) and Win32 projects (the third party
project). This happened because when you openend the wince_demos.vcw
file, you didn't said "no" when VS2005 asked you if you want to use the
existing VC++ project file.

In fact, if you look at the third_party\build*\ directory, you will
always find a .vcp, .dsp and .vcproj file.
.vcproj is for Win32
.vcp is for WinCE
.dsp i don't remember

when VS2005 open the .vcp project file he see that there's already a
.vcproj file present, and ask you if you want to load it insteed. that's
the problem, if you accept, you end up with Win32 projects in your WinCE
solution.

below is the steps to perform in order to get a working version of
pjsua_wince for Windows Mobile 6

  1. Check out a fresh new version of the pjsip project from its svn

  2. Copy the pjlib\include\pj\config_site_sample.h as config_site.h

  3. Edit the file \third_party\portaudio\src\common\pa_debugprint.c
    line 77 change it from
    #if (_MSC_VER) && (_MSC_VER < 1400)
    to
    #if (_MSC_VER) && (_MSC_VER <= 1400)

  4. Launch VS20005 Professional

  5. browse and open the pjsip-apps\build\wince-evc4\wince_demos.vcw file

  6. now be sure to answer "NO" when VS2005 asks you if you want to use
    the project file already present for some of the projects. If you say
    yes, you will load project files for win32, in place of winCE (which
    is the problem when looking at your mail)

  7. Answer "Yes" when they ask you if you want to convert the project
    file

  8. Choose "Windows Mobile 6 Professional" from the drop down, and debug

  9. Run "Generate" on the pjsua_wince project and it should be okay  :)

with those steps you're sure to have something working at the end.

Regards,

Olivier B.

Arpit Mehta a écrit :

Hi,

Also since this looks like a missing library error. Just wanted to add
that these are the libraries I have included in
pjsua_wince -->properties-->linker--> input -->additional dependencies
Do I also need to add more libraries for pjsua_wince project?
Also wanted to add that the third party libraries (as it can be seen
below) were built in win32 platform and not in WM6 platform.

commctrl.lib
coredll.lib
winsock.lib
ws2.lib
iphlpapi.lib
libspeex-i386-win32-vc8-debug.lib
libresample-i386-win32-vc8-debug.lib
libportaudio-i386-win32-vc8-debug.lib
libmilenage-i386-win32-vc8-debug.lib
libilbccodec-i386-win32-vc8-debug.lib
libgsmcodec-i386-win32-vc8-debug.lib

Thanks

Regards

Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

On Nov 28, 2007 2:36 PM, Arpit Mehta am2866@columbia.edu wrote:

hi,

Thanks Benny that worked. So now it is compiling fine. But I am
getting all these link errors, this error is similar to  one posted
here
http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html
but unfortunately there is no solution given there.

1>------ Rebuild All started: Project: pjlib_wince, Configuration:
Release Windows Mobile 6 Professional SDK (ARMV4I) ------
....................
....................
....................
16>Deleting intermediate and output files for project 'pjsua_wince',
configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)'
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...
16>Linking...
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceCount referenced in function
pjmedia_snd_get_dev_count
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetDeviceInfo referenced in function
pjmedia_snd_get_dev_info
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiInfo referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetHostApiCount referenced in function
pa_get_default_input_dev
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_CloseStream referenced in function pjmedia_snd_open
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StopStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_StartStream referenced in function pjmedia_snd_stream_start
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Terminate referenced in function pjmedia_snd_deinit
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol Pa_Initialize referenced in function pjmedia_snd_init
16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external
symbol PaUtil_SetDebugPrintFunction referenced in function
pjmedia_snd_init
16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external
symbol Pa_GetErrorText referenced in function pjmedia_strerror
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_GetXOFF referenced in function
pjmedia_resample_create
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_SrcLinear referenced in function
pjmedia_resample_run
16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019:
unresolved external symbol res_Resample referenced in function
pjmedia_resample_run
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_create referenced in function gsm_codec_open
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_destroy referenced in function gsm_codec_close
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_encode referenced in function gsm_codec_encode
16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved
external symbol gsm_decode referenced in function gsm_codec_decode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initDecode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol initEncode referenced in function ilbc_codec_open
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_encode referenced in function ilbc_codec_encode
16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved
external symbol iLBC_decode referenced in function ilbc_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_destroy referenced in
function get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_ctl referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encoder_init referenced in function
get_speex_info
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_uwb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_wb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_nb_mode referenced in function
pjmedia_codec_speex_init
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_destroy referenced in
function spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_destroy referenced in function
spx_codec_close
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_ctl referenced in function
spx_codec_modify
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_write referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_nbytes referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_encode_int referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_reset referenced in function
spx_codec_encode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decode_int referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_read_from referenced in function
spx_codec_decode
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_decoder_init referenced in function
spx_codec_open
16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019:
unresolved external symbol speex_bits_init referenced in function
spx_codec_open
16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe
: fatal error LNK1120: 41 unresolved externals
16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Release\BuildLog.htm"
16>pjsua_wince - 42 error(s), 0 warning(s)
========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ==========

Thanks

Regards

Arpit Mehta

On Nov 28, 2007 6:56 AM, Benny Prijono bennylp@pjsip.org wrote:

I don't have VS 2005, so my only guess is this was caused by the
project dependencies not properly set in the workspace during the
conversion process. Please add pjsua_wince project dependencies to

Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

(and probably more).

cheers,
-benny

Arpit Mehta wrote:

Hello all,

I am new to this windows mobile/visual studio and this might be a very
silly error for some of you.
I was trying to build pjsip in visual studio 2005. Well the build
process goes on smoothly for sometime but then at the end it does not
link to one of the libraries

16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

This library is not created/present in this path.

Steps I followed

--> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw
project , visual studio 2005 converts it into the .sln
--> Choose Debug, Windows Mobile 6 Professional as the sdk (should i
choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005
configuration manager?)
--> Did Build--> Build Solution

The problem I think is that, when I choose windows mobile 6
professional the targets which are supposed to be built for win32 are
obviously not built. These targets are
Project: libgsmcodec
Project: libspeex
Project: libresample
Project: libportaudio
Project: libmilenage
Project: libilbccodec

Hence the corresponding libraries are also not built which is giving
the link error.

The build log is pasted below. The errors (which I suspect to be
creating the problem) I got are shown with some empty space above and
below it. Please let me know if any more information is needed.

Thanks

Regards

Arpit Mehta

1>------ Build started: Project: pjlib_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
2>------ Build started: Project: pjmedia_codec_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
2>Compiling...
1>Compiling...
1>addr_resolv_sock.c
2>gsm.c
2>speex_codec.c
2>l16.c
2>ilbc.c
1>unicode_win32.c
2>Generating Code...
2>Creating library...
1>types.c
1>timer.c
1>string.c
2>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
2>pjmedia_codec_wince - 0 error(s), 0 warning(s)
3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
3>Compiling...
3>sip_100rel.c
1>sock_select.c
1>sock_common.c
1>sock_bsd.c
1>rbtree.c
3>sip_xfer.c
1>rand.c
1>pool_policy_malloc.c
1>pool_caching.c
3>sip_replaces.c
1>pool_buf.c
1>pool.c
3>sip_reg.c
1>os_timestamp_win32.c
3>sip_inv.c
3>Generating Code...
1>os_timestamp_common.c
1>os_time_win32.c
3>Creating library...
3>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
3>pjsip_ua_wince - 0 error(s), 0 warning(s)
1>os_error_win32.c
1>os_core_win32.c
1>log_writer_stdout.c
1>Generating Code...
4>------ Build started: Project: pjsip_simple_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
4>Compiling...
4>errno.c
4>xpidf.c
1>Compiling...
1>log.c
1>lock.c
1>list.c
4>rpid.c
1>ip_helper_win32.c
4>publishc.c
4>presence_body.c
4>presence.c
1>ioqueue_select.c
4>pidf.c
4>iscomposing.c
1>hash.c
4>evsub_msg.c
1>guid_simple.c
4>evsub.c
1>guid.c
1>file_io_win32.c
4>Generating Code...
1>file_access_win32.c
4>Creating library...
4>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
4>pjsip_simple_wince - 0 error(s), 0 warning(s)
1>fifobuf.c
1>except.c
1>errno.c
5>------ Build started: Project: pjsip_core_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
5>Compiling...
1>ctype.c
5>sip_auth_aka.c
1>config.c
1>array.c
5>sip_util_statefull.c
1>Generating Code...
1>Creating library...
5>sip_util_proxy.c
5>sip_util.c
5>....\src\pjsip\sip_util.c(666) : warning C4102:
'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced
label
5>sip_uri.c
1>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
1>pjlib_wince - 0 error(s), 0 warning(s)
5>sip_ua_layer.c
5>sip_transport_udp.c
6>------ Build started: Project: pjlib_util_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
6>Compiling...
6>base64.c
5>sip_transport_tcp.c
6>xml.c
6>stun_simple_client.c
6>stun_simple.c
6>string.c
6>srv_resolver.c
5>sip_transport_loop.c
6>sha1.c
6>scanner.c
5>sip_transport.c
6>resolver.c
6>md5.c
5>sip_transaction.c
6>hmac_sha1.c
6>hmac_md5.c
6>getopt.c
5>....\src\pjsip\sip_transaction.c(604) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(732) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>....\src\pjsip\sip_transaction.c(781) : warning C4102:
'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label
5>sip_tel_uri.c
6>errno.c
6>dns_dump.c
5>sip_resolve.c
6>dns.c
5>....\src\pjsip\sip_resolve.c(286) : warning C4102:
'TODO___SUPPORT_DNS_NAPTR' : unreferenced label
5>sip_parser.c
6>crc32.c
6>Generating Code...
5>sip_msg.c
5>sip_errno.c
6>Creating library...
5>sip_endpoint.c
5>....\src\pjsip\sip_endpoint.c(886) : warning C4102:
'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label
5>....\src\pjsip\sip_endpoint.c(856) : warning C4102:
'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label
5>sip_dialog.c
6>Build log was saved at
"file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile
6 Professional SDK (ARMV4I)\Debug\BuildLog.htm"
6>pjlib_util_wince - 0 error(s), 0 warning(s)
5>....\src\pjsip\sip_dialog.c(508) : warning C4102:
'TODO___DIALOG_APP_TIMER' : unreferenced label
5>sip_auth_server.c
5>sip_auth_parser.c
7>------ Build started: Project: pjmedia_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
7>Compiling...
7>alaw_ulaw.c
5>Generating Code...
7>wave.c
7>wav_writer.c
7>wav_playlist.c
7>wav_player.c
5>Compiling...
5>sip_auth_msg.c
7>transport_udp.c
5>sip_auth_client.c
5>....\src\pjsip\sip_auth_client.c(465) : warning C4102:
'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label
5>Generating Code...
5>Creating library...
7>transport_ice.c
5>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
5>pjsip_core_wince - 0 error(s), 9 warning(s)
7>....\src\pjmedia\transport_ice.c(307) : warning C4102:
'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label
7>....\src\pjmedia\transport_ice.c(748) : warning C4102:
'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label
7>tonegen.c
7>stream.c
8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Build started: Project: pjnath_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
9>Compiling...
9>errno.c
9>stun_transaction.c
7>splitcomb.c
9>stun_session.c
7>sound_port.c
9>stun_msg_dump.c
7>silencedet.c
9>stun_msg.c
7>session.c
9>stun_auth.c
7>sdp_neg.c
9>nat_detect.c
7>....\src\pjmedia\sdp_neg.c(532) : warning C4102:
'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' :
unreferenced label
7>sdp_cmp.c
7>sdp.c
7>rtp.c
9>ice_strans.c
7>rtcp.c
7>resample_speex.c
9>....\src\pjnath\ice_strans.c(490) : warning C4102:
'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label
9>....\src\pjnath\ice_strans.c(1035) : warning C4102:
'TODO___TX_TO_RELAY' : unreferenced label
7>resample_resample.c
9>ice_session.c
7>Generating Code...
9>....\src\pjnath\ice_session.c(2165) : warning C4102:
'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' :
unreferenced label
9>....\src\pjnath\ice_session.c(2286) : warning C4102:
'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label
9>Generating Code...
9>Creating library...
7>Compiling...
7>resample_port.c
9>Build log was saved at
"file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
9>pjnath_wince - 0 error(s), 4 warning(s)
7>port.c

//-------------------------------> error here

7>plc_common.c
10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Build: Project: libportaudio, Configuration: Debug
Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Build: Project: libilbccodec, Configuration: Debug
Win32 ------
14>Project not selected to build for this solution configuration

7>pasound.c
7>null_port.c
7>mem_player.c
7>mem_capture.c
7>master_port.c
7>jbuf.c
7>g711.c
7>errno.c
7>endpoint.c
7>echo_suppress.c
7>echo_speex.c
7>echo_port.c
7>echo_common.c
7>conference.c
7>codec.c
7>clock_thread.c
7>bidirectional.c
7>Generating Code...
7>Compiling...
7>alaw_ulaw_table.c
7>Generating Code...
7>Creating library...
7>Build log was saved at
"file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
7>pjmedia_wince - 0 error(s), 3 warning(s)
15>------ Build started: Project: pjsua_lib_wince, Configuration:
Debug Windows Mobile 6 Professional SDK (ARMV4I) ------
15>Compiling...
15>pjsua_acc.c
15>....\src\pjsua-lib\pjsua_acc.c(417) : warning C4102:
'TODO___pjsua_acc_modify' : unreferenced label
15>....\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102:
'TODO___dont_use_pjsua_pool' : unreferenced label
15>pjsua_pres.c
15>pjsua_media.c
15>....\src\pjsua-lib\pjsua_media.c(1957) : warning C4102:
'TODO___set_codec_param' : unreferenced label
15>pjsua_im.c
15>pjsua_core.c
15>....\src\pjsua-lib\pjsua_core.c(1667) : warning C4102:
'TODO___pjsua_transport_set_enable' : unreferenced label
15>pjsua_call.c
15>....\src\pjsua-lib\pjsua_call.c(1314) : warning C4102:
'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced
label
15>....\src\pjsua-lib\pjsua_call.c(2270) : warning C4102:
'TODO___HANDLE_FORKED_DIALOG' : unreferenced label
15>Generating Code...
15>Creating library...
15>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
15>pjsua_lib_wince - 0 error(s), 6 warning(s)
16>------ Build started: Project: pjsua_wince, Configuration: Debug
Windows Mobile 6 Professional SDK (ARMV4I) ------
16>Compiling...
16>StdAfx.cpp
16>Compiling...
16>pjsua_wince.cpp
16>Compiling resources...

//-------------------------------> error here

16>Linking...
16>LINK : fatal error LNK1181: cannot open input file
'......\third_party\lib\libportaudio-i386-win32-vc8-debug.lib'

16>Build log was saved at
"file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6
Professional SDK (ARMV4I)\Debug\BuildLog.htm"
16>pjsua_wince - 1 error(s), 0 warning(s)
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998

Thanks !!! Well the procedure worked like a charm !! :) I hope it gets included somewhere in the documentation to make it easier for first time users like me. Just to let you know VS2005 gave errors the first time regarding corrupt project, but checking out the source code again worked just fine. So now I have a very simple UA from which can make a call only. Is it the rest of UA (the one which I saw in the screenshot for WinXP http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples.htm) also available as a WinCE port ? Thanks Regards Arpit Mehta On Nov 29, 2007 5:43 AM, Olivier Beytrison <olivier@heliosnet.org> wrote: > Hello, > > Sorry for being less active those days, I just got my degree so I was > pretty busy the past days. > > alright, the problem here is that the solution you have contains wince > projects (all the pjsip projects) and Win32 projects (the third party > project). This happened because when you openend the wince_demos.vcw > file, you didn't said "no" when VS2005 asked you if you want to use the > existing VC++ project file. > > In fact, if you look at the third_party\build\*\ directory, you will > always find a .vcp, .dsp and .vcproj file. > .vcproj is for Win32 > .vcp is for WinCE > .dsp i don't remember > > when VS2005 open the .vcp project file he see that there's already a > .vcproj file present, and ask you if you want to load it insteed. that's > the problem, if you accept, you end up with Win32 projects in your WinCE > solution. > > below is the steps to perform in order to get a working version of > pjsua_wince for Windows Mobile 6 > > > 1. Check out a fresh new version of the pjsip project from its svn > > 2. Copy the pjlib\include\pj\config_site_sample.h as config_site.h > > 3. Edit the file \third_party\portaudio\src\common\pa_debugprint.c > line 77 change it from > #if (_MSC_VER) && (_MSC_VER < 1400) > to > #if (_MSC_VER) && (_MSC_VER <= 1400) > > 4. Launch VS20005 Professional > > 5. browse and open the pjsip-apps\build\wince-evc4\wince_demos.vcw file > > 6. now be sure to answer "NO" when VS2005 asks you if you want to use > the project file already present for some of the projects. If you say > yes, you will load project files for win32, in place of winCE (which > is the problem when looking at your mail) > > 7. Answer "Yes" when they ask you if you want to convert the project > file > > 8. Choose "Windows Mobile 6 Professional" from the drop down, and debug > > 9. Run "Generate" on the pjsua_wince project and it should be okay :) > > with those steps you're sure to have something working at the end. > > Regards, > > Olivier B. > > Arpit Mehta a écrit : > > > Hi, > > > > Also since this looks like a missing library error. Just wanted to add > > that these are the libraries I have included in > > pjsua_wince -->properties-->linker--> input -->additional dependencies > > Do I also need to add more libraries for pjsua_wince project? > > Also wanted to add that the third party libraries (as it can be seen > > below) were built in win32 platform and not in WM6 platform. > > > > commctrl.lib > > coredll.lib > > winsock.lib > > ws2.lib > > iphlpapi.lib > > libspeex-i386-win32-vc8-debug.lib > > libresample-i386-win32-vc8-debug.lib > > libportaudio-i386-win32-vc8-debug.lib > > libmilenage-i386-win32-vc8-debug.lib > > libilbccodec-i386-win32-vc8-debug.lib > > libgsmcodec-i386-win32-vc8-debug.lib > > > > > > Thanks > > > > Regards > > > > Arpit Mehta > > Graduate Student > > Department of Computer Science > > Columbia University > > > > On Nov 28, 2007 2:36 PM, Arpit Mehta <am2866@columbia.edu> wrote: > >> hi, > >> > >> Thanks Benny that worked. So now it is compiling fine. But I am > >> getting all these link errors, this error is similar to one posted > >> here > >> http://www.pjsip.org/pipermail/pjsip/2007-May/003240.html > >> but unfortunately there is no solution given there. > >> > >> > >> > >> 1>------ Rebuild All started: Project: pjlib_wince, Configuration: > >> Release Windows Mobile 6 Professional SDK (ARMV4I) ------ > >> .................... > >> .................... > >> .................... > >> 16>Deleting intermediate and output files for project 'pjsua_wince', > >> configuration 'Release|Windows Mobile 6 Professional SDK (ARMV4I)' > >> 16>Compiling... > >> 16>StdAfx.cpp > >> 16>Compiling... > >> 16>pjsua_wince.cpp > >> 16>Compiling resources... > >> 16>Linking... > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_GetDeviceCount referenced in function > >> pjmedia_snd_get_dev_count > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_GetDeviceInfo referenced in function > >> pjmedia_snd_get_dev_info > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_GetHostApiInfo referenced in function > >> pa_get_default_input_dev > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_GetHostApiCount referenced in function > >> pa_get_default_input_dev > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_GetStreamInfo referenced in function pjmedia_snd_open_rec > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_OpenStream referenced in function pjmedia_snd_open_rec > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_CloseStream referenced in function pjmedia_snd_open > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_StopStream referenced in function pjmedia_snd_stream_start > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_StartStream referenced in function pjmedia_snd_stream_start > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_Terminate referenced in function pjmedia_snd_deinit > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol Pa_Initialize referenced in function pjmedia_snd_init > >> 16>pjmedia_wince.lib(pasound.obj) : error LNK2019: unresolved external > >> symbol PaUtil_SetDebugPrintFunction referenced in function > >> pjmedia_snd_init > >> 16>pjmedia_wince.lib(errno.obj) : error LNK2019: unresolved external > >> symbol Pa_GetErrorText referenced in function pjmedia_strerror > >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > >> unresolved external symbol res_GetXOFF referenced in function > >> pjmedia_resample_create > >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > >> unresolved external symbol res_SrcLinear referenced in function > >> pjmedia_resample_run > >> 16>pjmedia_wince.lib(resample_resample.obj) : error LNK2019: > >> unresolved external symbol res_Resample referenced in function > >> pjmedia_resample_run > >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > >> external symbol gsm_create referenced in function gsm_codec_open > >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > >> external symbol gsm_destroy referenced in function gsm_codec_close > >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > >> external symbol gsm_encode referenced in function gsm_codec_encode > >> 16>pjmedia_codec_wince.lib(gsm.obj) : error LNK2019: unresolved > >> external symbol gsm_decode referenced in function gsm_codec_decode > >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > >> external symbol initDecode referenced in function ilbc_codec_open > >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > >> external symbol initEncode referenced in function ilbc_codec_open > >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > >> external symbol iLBC_encode referenced in function ilbc_codec_encode > >> 16>pjmedia_codec_wince.lib(ilbc.obj) : error LNK2019: unresolved > >> external symbol iLBC_decode referenced in function ilbc_codec_decode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_encoder_destroy referenced in > >> function get_speex_info > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_encoder_ctl referenced in function > >> get_speex_info > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_encoder_init referenced in function > >> get_speex_info > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_uwb_mode referenced in function > >> pjmedia_codec_speex_init > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_wb_mode referenced in function > >> pjmedia_codec_speex_init > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_nb_mode referenced in function > >> pjmedia_codec_speex_init > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_decoder_destroy referenced in > >> function spx_codec_close > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_destroy referenced in function > >> spx_codec_close > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_decoder_ctl referenced in function > >> spx_codec_modify > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_write referenced in function > >> spx_codec_encode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_nbytes referenced in function > >> spx_codec_encode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_encode_int referenced in function > >> spx_codec_encode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_reset referenced in function > >> spx_codec_encode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_decode_int referenced in function > >> spx_codec_decode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_read_from referenced in function > >> spx_codec_decode > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_decoder_init referenced in function > >> spx_codec_open > >> 16>pjmedia_codec_wince.lib(speex_codec.obj) : error LNK2019: > >> unresolved external symbol speex_bits_init referenced in function > >> spx_codec_open > >> 16>Windows Mobile 6 Professional SDK (ARMV4I)\Release/pjsua_wince.exe > >> : fatal error LNK1120: 41 unresolved externals > >> 16>Build log was saved at > >> "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > >> Professional SDK (ARMV4I)\Release\BuildLog.htm" > >> 16>pjsua_wince - 42 error(s), 0 warning(s) > >> ========== Rebuild All: 9 succeeded, 1 failed, 6 skipped ========== > >> > >> > >> > >> > >> Thanks > >> > >> Regards > >> > >> Arpit Mehta > >> > >> > >> > >> > >> > >> On Nov 28, 2007 6:56 AM, Benny Prijono <bennylp@pjsip.org> wrote: > >>> I don't have VS 2005, so my only guess is this was caused by the > >>> project dependencies not properly set in the workspace during the > >>> conversion process. Please add pjsua_wince project dependencies to > >>> > >>> > Project: libgsmcodec > >>> > Project: libspeex > >>> > Project: libresample > >>> > Project: libportaudio > >>> > Project: libmilenage > >>> > Project: libilbccodec > >>> > >>> (and probably more). > >>> > >>> cheers, > >>> -benny > >>> > >>> > >>> > >>> Arpit Mehta wrote: > >>>> Hello all, > >>>> > >>>> I am new to this windows mobile/visual studio and this might be a very > >>>> silly error for some of you. > >>>> I was trying to build pjsip in visual studio 2005. Well the build > >>>> process goes on smoothly for sometime but then at the end it does not > >>>> link to one of the libraries > >>>> > >>>> 16>LINK : fatal error LNK1181: cannot open input file > >>>> '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > >>>> > >>>> This library is not created/present in this path. > >>>> > >>>> > >>>> Steps I followed > >>>> ------------------------ > >>>> > >>>> --> When I load the pjsip-apps/build/wince-evc4/wince_demos.vcw > >>>> project , visual studio 2005 converts it into the .sln > >>>> --> Choose Debug, Windows Mobile 6 Professional as the sdk (should i > >>>> choose 'Windows Mobile 6 Professional' or 'Mixed Platforms' in vs2005 > >>>> configuration manager?) > >>>> --> Did Build--> Build Solution > >>>> > >>>> The problem I think is that, when I choose windows mobile 6 > >>>> professional the targets which are supposed to be built for win32 are > >>>> obviously not built. These targets are > >>>> Project: libgsmcodec > >>>> Project: libspeex > >>>> Project: libresample > >>>> Project: libportaudio > >>>> Project: libmilenage > >>>> Project: libilbccodec > >>>> > >>>> Hence the corresponding libraries are also not built which is giving > >>>> the link error. > >>>> > >>>> The build log is pasted below. The errors (which I suspect to be > >>>> creating the problem) I got are shown with some empty space above and > >>>> below it. Please let me know if any more information is needed. > >>>> > >>>> > >>>> Thanks > >>>> > >>>> Regards > >>>> > >>>> Arpit Mehta > >>>> > >>>> > >>>> 1>------ Build started: Project: pjlib_wince, Configuration: Debug > >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 2>------ Build started: Project: pjmedia_codec_wince, Configuration: > >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 2>Compiling... > >>>> 1>Compiling... > >>>> 1>addr_resolv_sock.c > >>>> 2>gsm.c > >>>> 2>speex_codec.c > >>>> 2>l16.c > >>>> 2>ilbc.c > >>>> 1>unicode_win32.c > >>>> 2>Generating Code... > >>>> 2>Creating library... > >>>> 1>types.c > >>>> 1>timer.c > >>>> 1>string.c > >>>> 2>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 2>pjmedia_codec_wince - 0 error(s), 0 warning(s) > >>>> 3>------ Build started: Project: pjsip_ua_wince, Configuration: Debug > >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 3>Compiling... > >>>> 3>sip_100rel.c > >>>> 1>sock_select.c > >>>> 1>sock_common.c > >>>> 1>sock_bsd.c > >>>> 1>rbtree.c > >>>> 3>sip_xfer.c > >>>> 1>rand.c > >>>> 1>pool_policy_malloc.c > >>>> 1>pool_caching.c > >>>> 3>sip_replaces.c > >>>> 1>pool_buf.c > >>>> 1>pool.c > >>>> 3>sip_reg.c > >>>> 1>os_timestamp_win32.c > >>>> 3>sip_inv.c > >>>> 3>Generating Code... > >>>> 1>os_timestamp_common.c > >>>> 1>os_time_win32.c > >>>> 3>Creating library... > >>>> 3>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 3>pjsip_ua_wince - 0 error(s), 0 warning(s) > >>>> 1>os_error_win32.c > >>>> 1>os_core_win32.c > >>>> 1>log_writer_stdout.c > >>>> 1>Generating Code... > >>>> 4>------ Build started: Project: pjsip_simple_wince, Configuration: > >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 4>Compiling... > >>>> 4>errno.c > >>>> 4>xpidf.c > >>>> 1>Compiling... > >>>> 1>log.c > >>>> 1>lock.c > >>>> 1>list.c > >>>> 4>rpid.c > >>>> 1>ip_helper_win32.c > >>>> 4>publishc.c > >>>> 4>presence_body.c > >>>> 4>presence.c > >>>> 1>ioqueue_select.c > >>>> 4>pidf.c > >>>> 4>iscomposing.c > >>>> 1>hash.c > >>>> 4>evsub_msg.c > >>>> 1>guid_simple.c > >>>> 4>evsub.c > >>>> 1>guid.c > >>>> 1>file_io_win32.c > >>>> 4>Generating Code... > >>>> 1>file_access_win32.c > >>>> 4>Creating library... > >>>> 4>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 4>pjsip_simple_wince - 0 error(s), 0 warning(s) > >>>> 1>fifobuf.c > >>>> 1>except.c > >>>> 1>errno.c > >>>> 5>------ Build started: Project: pjsip_core_wince, Configuration: > >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 5>Compiling... > >>>> 1>ctype.c > >>>> 5>sip_auth_aka.c > >>>> 1>config.c > >>>> 1>array.c > >>>> 5>sip_util_statefull.c > >>>> 1>Generating Code... > >>>> 1>Creating library... > >>>> 5>sip_util_proxy.c > >>>> 5>sip_util.c > >>>> 5>..\..\src\pjsip\sip_util.c(666) : warning C4102: > >>>> 'TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI' : unreferenced > >>>> label > >>>> 5>sip_uri.c > >>>> 1>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjlib\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 1>pjlib_wince - 0 error(s), 0 warning(s) > >>>> 5>sip_ua_layer.c > >>>> 5>sip_transport_udp.c > >>>> 6>------ Build started: Project: pjlib_util_wince, Configuration: > >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 6>Compiling... > >>>> 6>base64.c > >>>> 5>sip_transport_tcp.c > >>>> 6>xml.c > >>>> 6>stun_simple_client.c > >>>> 6>stun_simple.c > >>>> 6>string.c > >>>> 6>srv_resolver.c > >>>> 5>sip_transport_loop.c > >>>> 6>sha1.c > >>>> 6>scanner.c > >>>> 5>sip_transport.c > >>>> 6>resolver.c > >>>> 6>md5.c > >>>> 5>sip_transaction.c > >>>> 6>hmac_sha1.c > >>>> 6>hmac_md5.c > >>>> 6>getopt.c > >>>> 5>..\..\src\pjsip\sip_transaction.c(604) : warning C4102: > >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > >>>> 5>..\..\src\pjsip\sip_transaction.c(732) : warning C4102: > >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > >>>> 5>..\..\src\pjsip\sip_transaction.c(781) : warning C4102: > >>>> 'TODO___FIX_RACE_CONDITION_HERE' : unreferenced label > >>>> 5>sip_tel_uri.c > >>>> 6>errno.c > >>>> 6>dns_dump.c > >>>> 5>sip_resolve.c > >>>> 6>dns.c > >>>> 5>..\..\src\pjsip\sip_resolve.c(286) : warning C4102: > >>>> 'TODO___SUPPORT_DNS_NAPTR' : unreferenced label > >>>> 5>sip_parser.c > >>>> 6>crc32.c > >>>> 6>Generating Code... > >>>> 5>sip_msg.c > >>>> 5>sip_errno.c > >>>> 6>Creating library... > >>>> 5>sip_endpoint.c > >>>> 5>..\..\src\pjsip\sip_endpoint.c(886) : warning C4102: > >>>> 'TODO___ENDPT_RESPOND_UNHANDLED_REQUEST' : unreferenced label > >>>> 5>..\..\src\pjsip\sip_endpoint.c(856) : warning C4102: > >>>> 'TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE' : unreferenced label > >>>> 5>sip_dialog.c > >>>> 6>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjlib-util\build\wince-evc4\Windows Mobile > >>>> 6 Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 6>pjlib_util_wince - 0 error(s), 0 warning(s) > >>>> 5>..\..\src\pjsip\sip_dialog.c(508) : warning C4102: > >>>> 'TODO___DIALOG_APP_TIMER' : unreferenced label > >>>> 5>sip_auth_server.c > >>>> 5>sip_auth_parser.c > >>>> 7>------ Build started: Project: pjmedia_wince, Configuration: Debug > >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 7>Compiling... > >>>> 7>alaw_ulaw.c > >>>> 5>Generating Code... > >>>> 7>wave.c > >>>> 7>wav_writer.c > >>>> 7>wav_playlist.c > >>>> 7>wav_player.c > >>>> 5>Compiling... > >>>> 5>sip_auth_msg.c > >>>> 7>transport_udp.c > >>>> 5>sip_auth_client.c > >>>> 5>..\..\src\pjsip\sip_auth_client.c(465) : warning C4102: > >>>> 'TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION' : unreferenced label > >>>> 5>Generating Code... > >>>> 5>Creating library... > >>>> 7>transport_ice.c > >>>> 5>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 5>pjsip_core_wince - 0 error(s), 9 warning(s) > >>>> 7>..\..\src\pjmedia\transport_ice.c(307) : warning C4102: > >>>> 'TODO___RELATED_ADDR_FOR_RELAYED_ADDR' : unreferenced label > >>>> 7>..\..\src\pjmedia\transport_ice.c(748) : warning C4102: > >>>> 'TODO___SWITCH_SOURCE_ADDRESS' : unreferenced label > >>>> 7>tonegen.c > >>>> 7>stream.c > >>>> 8>------ Skipped Build: Project: libgsmcodec, Configuration: Debug Win32 ------ > >>>> 8>Project not selected to build for this solution configuration > >>>> 9>------ Build started: Project: pjnath_wince, Configuration: Debug > >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 9>Compiling... > >>>> 9>errno.c > >>>> 9>stun_transaction.c > >>>> 7>splitcomb.c > >>>> 9>stun_session.c > >>>> 7>sound_port.c > >>>> 9>stun_msg_dump.c > >>>> 7>silencedet.c > >>>> 9>stun_msg.c > >>>> 7>session.c > >>>> 9>stun_auth.c > >>>> 7>sdp_neg.c > >>>> 9>nat_detect.c > >>>> 7>..\..\src\pjmedia\sdp_neg.c(532) : warning C4102: > >>>> 'TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED' : > >>>> unreferenced label > >>>> 7>sdp_cmp.c > >>>> 7>sdp.c > >>>> 7>rtp.c > >>>> 9>ice_strans.c > >>>> 7>rtcp.c > >>>> 7>resample_speex.c > >>>> 9>..\..\src\pjnath\ice_strans.c(490) : warning C4102: > >>>> 'TODO___DISTINGUISH_BETWEEN_LOCAL_AND_RELAY' : unreferenced label > >>>> 9>..\..\src\pjnath\ice_strans.c(1035) : warning C4102: > >>>> 'TODO___TX_TO_RELAY' : unreferenced label > >>>> 7>resample_resample.c > >>>> 9>ice_session.c > >>>> 7>Generating Code... > >>>> 9>..\..\src\pjnath\ice_session.c(2165) : warning C4102: > >>>> 'TODO___DETERMINE_IF_REQUEST_COMES_FROM_RELAYED_CANDIDATE' : > >>>> unreferenced label > >>>> 9>..\..\src\pjnath\ice_session.c(2286) : warning C4102: > >>>> 'TODO___SUPPORT_RX_BIND_REQUEST_AS_INDICATION' : unreferenced label > >>>> 9>Generating Code... > >>>> 9>Creating library... > >>>> 7>Compiling... > >>>> 7>resample_port.c > >>>> 9>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjnath\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 9>pjnath_wince - 0 error(s), 4 warning(s) > >>>> 7>port.c > >>>> > >>>> > >>>> > >>>> //-------------------------------> error here > >>>> > >>>> 7>plc_common.c > >>>> 10>------ Skipped Build: Project: libspeex, Configuration: Debug Win32 ------ > >>>> 10>Project not selected to build for this solution configuration > >>>> 11>------ Skipped Build: Project: libresample, Configuration: Debug Win32 ------ > >>>> 11>Project not selected to build for this solution configuration > >>>> 12>------ Skipped Build: Project: libportaudio, Configuration: Debug > >>>> Win32 ------ > >>>> 12>Project not selected to build for this solution configuration > >>>> 13>------ Skipped Build: Project: libmilenage, Configuration: Debug Win32 ------ > >>>> 13>Project not selected to build for this solution configuration > >>>> 14>------ Skipped Build: Project: libilbccodec, Configuration: Debug > >>>> Win32 ------ > >>>> 14>Project not selected to build for this solution configuration > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 7>pasound.c > >>>> 7>null_port.c > >>>> 7>mem_player.c > >>>> 7>mem_capture.c > >>>> 7>master_port.c > >>>> 7>jbuf.c > >>>> 7>g711.c > >>>> 7>errno.c > >>>> 7>endpoint.c > >>>> 7>echo_suppress.c > >>>> 7>echo_speex.c > >>>> 7>echo_port.c > >>>> 7>echo_common.c > >>>> 7>conference.c > >>>> 7>codec.c > >>>> 7>clock_thread.c > >>>> 7>bidirectional.c > >>>> 7>Generating Code... > >>>> 7>Compiling... > >>>> 7>alaw_ulaw_table.c > >>>> 7>Generating Code... > >>>> 7>Creating library... > >>>> 7>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjmedia\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 7>pjmedia_wince - 0 error(s), 3 warning(s) > >>>> 15>------ Build started: Project: pjsua_lib_wince, Configuration: > >>>> Debug Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 15>Compiling... > >>>> 15>pjsua_acc.c > >>>> 15>..\..\src\pjsua-lib\pjsua_acc.c(417) : warning C4102: > >>>> 'TODO___pjsua_acc_modify' : unreferenced label > >>>> 15>..\..\src\pjsua-lib\pjsua_acc.c(1166) : warning C4102: > >>>> 'TODO___dont_use_pjsua_pool' : unreferenced label > >>>> 15>pjsua_pres.c > >>>> 15>pjsua_media.c > >>>> 15>..\..\src\pjsua-lib\pjsua_media.c(1957) : warning C4102: > >>>> 'TODO___set_codec_param' : unreferenced label > >>>> 15>pjsua_im.c > >>>> 15>pjsua_core.c > >>>> 15>..\..\src\pjsua-lib\pjsua_core.c(1667) : warning C4102: > >>>> 'TODO___pjsua_transport_set_enable' : unreferenced label > >>>> 15>pjsua_call.c > >>>> 15>..\..\src\pjsua-lib\pjsua_call.c(1314) : warning C4102: > >>>> 'TODO___create_active_inactive_sdp_based_on_unhold_arg' : unreferenced > >>>> label > >>>> 15>..\..\src\pjsua-lib\pjsua_call.c(2270) : warning C4102: > >>>> 'TODO___HANDLE_FORKED_DIALOG' : unreferenced label > >>>> 15>Generating Code... > >>>> 15>Creating library... > >>>> 15>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjsip\build\wince-evc4\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 15>pjsua_lib_wince - 0 error(s), 6 warning(s) > >>>> 16>------ Build started: Project: pjsua_wince, Configuration: Debug > >>>> Windows Mobile 6 Professional SDK (ARMV4I) ------ > >>>> 16>Compiling... > >>>> 16>StdAfx.cpp > >>>> 16>Compiling... > >>>> 16>pjsua_wince.cpp > >>>> 16>Compiling resources... > >>>> > >>>> > >>>> > >>>> //-------------------------------> error here > >>>> > >>>> 16>Linking... > >>>> 16>LINK : fatal error LNK1181: cannot open input file > >>>> '..\..\..\third_party\lib\libportaudio-i386-win32-vc8-debug.lib' > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 16>Build log was saved at > >>>> "file://c:\pjproject-0.8.0\pjsip-apps\src\pjsua_wince\Windows Mobile 6 > >>>> Professional SDK (ARMV4I)\Debug\BuildLog.htm" > >>>> 16>pjsua_wince - 1 error(s), 0 warning(s) > >>>> ========== Build: 9 succeeded, 1 failed, 0 up-to-date, 6 skipped ========== > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> -- > >>> Benny Prijono > >>> http://www.pjsip.org > >>> > >>> _______________________________________________ > >>> Visit our blog: http://blog.pjsip.org > >>> > >>> pjsip mailing list > >>> pjsip@lists.pjsip.org > >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >>> > >> > >> > >> > >> -- > >> Arpit Mehta > >> Graduate Student > >> Department of Computer Science > >> Columbia University > >> > >> Tel: 1-646-387-5998 > >> > > > > > > > > -- > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- > > Olivier Beytrison > Telecommunication Engineer > Mobile: +41 (0)78 619 73 53 > Mail: olivier@heliosnet.org > GPG: 0x4FB83528 http://pgp.mit.edu/ > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998