pjsip video for iphone

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

 



Hi,

I trying to compile latest pjsip with ffmpeg libs compiled for ios, but get
linking error.
I use following params, not sure if SDL is essential for ios video:
/configure-iphone --disable-sdl --disable-v4l2 --with
ffmpeg=/Users/iphone/video/ffmpeg-iphone

make dep && make clean && make

Here is the configure output:

Using ffmpeg prefix... /Users/iphone/video/ffmpeg-iphone
checking for avdevice_version in -lavdevice... yes
checking for av_register_all in -lavformat... no
checking for avcodec_init in -lavcodec... no
checking for sws_scale in -lswscale... yes
checking for av_malloc in -lavutil... yes
checking for avcore_version in -lavcore... no
checking for v4l2_open in -lv4l2... no

Here is the make output:
ld: warning: -force_cpusubtype_ALL will become unsupported for ARM
architectures
Undefined symbols for architecture arm:
 "_avcodec_open", referenced from:
     _ffmpeg_codec_open in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_register_all", referenced from:
     _pjmedia_codec_ffmpeg_init in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_av_init_packet", referenced from:
     _ffmpeg_codec_decode in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_av_codec_next", referenced from:
     _pjmedia_codec_ffmpeg_init in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_init", referenced from:
     _pjmedia_codec_ffmpeg_init in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_alloc_context", referenced from:
     _ffmpeg_codec_open in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_decode_video2", referenced from:
     _ffmpeg_codec_decode in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_get_frame_defaults", referenced from:
     _ffmpeg_codec_encode in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
     _ffmpeg_codec_decode in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_encode_video", referenced from:
     _ffmpeg_codec_encode in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_avcodec_close", referenced from:
     _ffmpeg_codec_close in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
     _ffmpeg_codec_open in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_av_strerror", referenced from:
     _print_ffmpeg_err in
libpjmedia-codec-arm-apple-darwin9.a(ffmpeg_codecs.o)
 "_av_register_all", referenced from:
     _pjmedia_ffmpeg_add_ref in
libpjmedia-arm-apple-darwin9.a(ffmpeg_util.o)
ld: symbol(s) not found for architecture arm

Any help will be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111003/3bc88dda/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