Compiling PJlib and include in Xcode progect for iphone device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

	Hi, i have compiled pjsip lib and get working for iphone simulator,
but now if i try to make the .app file when i go to archive in xcode 4
i get the folowing error:

	ld: warning: ignoring file
/XXX/lib/libg7221codec-arm-apple-darwin9.a, file was built for archive
which is not the architecture being linked (armv7) 

	ld: warning: ignoring file /XXX/lib/libgsmcodec-arm-apple-darwin9.a,
file was built for archive which is not the architecture being linked
(armv7) 

	ld: warning: ignoring file
/XXX/lib/libilbccodec-arm-apple-darwin9.a, file was built for archive
which is not the architecture being linked (armv7) 

	ld: warning: ignoring file/XXX/lib/libmilenage-arm-apple-darwin9.a,
file was built for archive which is not the architecture being linked
(armv7)
	ETC. ETC. ETC. 
	for all pjsip lib  that i have included in the project.
	What i can do to solve the problem? i have try to follow this step
http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone, [1]

	i run ./configure-iphone => ok,

	but when i run make dep i get the following error:
	Undefined symbols for architecture armv7:

	  "_pjmedia_avi_streams_get_num_streams", referenced from:

	      _app_init in pjsua_app.o

	      _reset_dev_info in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_avi_streams_get_stream", referenced from:

	      _app_init in pjsua_app.o

	      _reset_dev_info in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_stream_rc_config_default", referenced from:

	      _pjsua_acc_config_default in
libpjsua-arm-apple-darwin9.a(pjsua_core.o)

	  "_pjmedia_vid_register_factory", referenced from:

	      _pjmedia_avi_dev_create_factory in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_dev_get_local_index", referenced from:

	      _pjmedia_avi_dev_get_param in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	      _pjmedia_avi_dev_free in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_dev_get_global_index", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_avi_player_create_streams", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_avi_streams_get_stream_by_media", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_get_video_format_info", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_codec_mgr_get_codec_info2", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_codec_mgr_get_default_param", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	  "_pjmedia_vid_codec_mgr_alloc_codec", referenced from:

	      _pjmedia_avi_dev_alloc in
libpjmedia-videodev-arm-apple-darwin9.a(avi_dev.o)

	ld: symbol(s) not found for architecture armv7
	Please help me..

	Thanks in advance.
-------------------------
Messaggio inviato tramite webmail

Links:
------
[1] http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120418/24385716/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux