pjsip Digest, Vol 61, Issue 67

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

 



Hi R?gis,

I am able to successfully build ffmpeg for android after your suggesion.
Thank you very much.

Now when I am trying to build it with PJSIP with video and ffmpeg flag
enabled I am getting errors.
Please help me in get going, once I able to build this. Appreciate your help.

I am copying part of build  log here:

if test ! -d ../bin; then mkdir -p ../bin; fi
/home/ericsson/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
-o ../bin/pjmedia-test-arm-unknown-linux-androideabi \
	     output/pjmedia-test-arm-unknown-linux-androideabi/codec_vectors.o
 output/pjmedia-test-arm-unknown-linux-androideabi/jbuf_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/main.o
output/pjmedia-test-arm-unknown-linux-androideabi/mips_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/vid_codec_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/vid_dev_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/vid_port_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/rtp_test.o
output/pjmedia-test-arm-unknown-linux-androideabi/test.o
output/pjmedia-test-arm-unknown-linux-androideabi/sdp_neg_test.o
../lib/libpjmedia-videodev-arm-unknown-linux-androideabi.a
../lib/libpjmedia-codec-arm-unknown-linux-androideabi.a
../lib/libpjmedia-arm-unknown-linux-androideabi.a
../lib/libpjmedia-audiodev-arm-unknown-linux-androideabi.a
/home/ericsson/android/pjlib/lib/libpj-arm-unknown-linux-androideabi.a
/home/ericsson/android/pjlib-util/lib/libpjlib-util-arm-unknown-linux-androideabi.a
/home/ericsson/android/pjnath/lib/libpjnath-arm-unknown-linux-androideabi.a
-L/home/ericsson/android/lib -L/home/ericsson/android/third_party/lib
-lresample-arm-unknown-linux-androideabi
-lmilenage-arm-unknown-linux-androideabi
-lsrtp-arm-unknown-linux-androideabi
-lgsmcodec-arm-unknown-linux-androideabi
-lspeex-arm-unknown-linux-androideabi
-lilbccodec-arm-unknown-linux-androideabi
-lg7221codec-arm-unknown-linux-androideabi -lavcodec -lavfilter
-lswresample -lx264  -lavdevice -lavformat -lpostproc -lavutil
-lswscale   -nostdlib
-L/home/ericsson/android-ndk-r8/platforms/android-14/arch-arm/usr/lib/
-lm  -lc -lgcc -lOpenSLES -llog -lgcc
/home/ericsson/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
warning: cannot find entry symbol _start; defaulting to 0000ffe0
/home/ericsson/android/lib/libswscale.a(utils.o): In function
`sws_init_context':
/home/ericsson/CSipSimple/jni/ffmpeg/ffmpeg_src/libswscale/utils.c:791:
undefined reference to `av_get_cpu_flags'
/home/ericsson/android/lib/libswscale.a(swscale.o): In function `swScale':
/home/ericsson/CSipSimple/jni/ffmpeg/ffmpeg_src/libswscale/swscale.c:2588:
undefined reference to `av_get_cpu_flags'
collect2: ld returned 1 exit status
make[1]: *** [../bin/pjmedia-test-arm-unknown-linux-androideabi] Error 1
make[1]: Leaving directory `/home/ericsson/android/pjmedia/build'
make: *** [pjmedia-test] Error 2




On Mon, Sep 17, 2012 at 11:06 PM,  <pjsip-request at lists.pjsip.org> wrote:
> Send pjsip mailing list submissions to
>         pjsip at lists.pjsip.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> or, via email, send a message with subject or body 'help' to
>         pjsip-request at lists.pjsip.org
>
> You can reach the person managing the list at
>         pjsip-owner at lists.pjsip.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pjsip digest..."
>
>
> Today's Topics:
>
>    1. Re: Building with ffmpeg for Android (R?gis Montoya)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 17 Sep 2012 19:36:01 +0200
> From: R?gis Montoya <r3gis.3r@xxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Building with ffmpeg for Android
> Message-ID:
>         <CALdtMaVYB4a8oSSX_mx78b6p03muCwHirFOkUq6qm_4OYZcv5Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Did you follow the how to build wiki page?
> What are the error you get when you run "make videoLibs" ?
> Le 17 sept. 2012 18:08, "Irfan Khan" <irfan.f.khan at gmail.com> a ?crit :
>
>> Hi  R?gis,
>>                 Thank you for the reply, I tried that, but failed.
>>                 is there anything extra needs to be done apart from
>> running those scripts?
>>                 Appreciate your help.
>>
>> Thanks
>>
>>
>> On Mon, Sep 17, 2012 at 8:44 PM,  <pjsip-request at lists.pjsip.org> wrote:
>> > Send pjsip mailing list submissions to
>> >         pjsip at lists.pjsip.org
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >         http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> > or, via email, send a message with subject or body 'help' to
>> >         pjsip-request at lists.pjsip.org
>> >
>> > You can reach the person managing the list at
>> >         pjsip-owner at lists.pjsip.org
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of pjsip digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> >    1. Re: Building with ffmpeg for Android (R?gis Montoya)
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > Message: 1
>> > Date: Mon, 17 Sep 2012 17:14:55 +0200
>> > From: R?gis Montoya <r3gis.3r@xxxxxxxxx>
>> > To: pjsip list <pjsip at lists.pjsip.org>
>> > Subject: Re: Building with ffmpeg for Android
>> > Message-ID:
>> >         <CALdtMaULMc_QrFao5sy=
>> bS6B4AvQq9iqWP85Jtj59MNzZm3GBA at mail.gmail.com>
>> > Content-Type: text/plain; charset="iso-8859-1"
>> >
>> > Hi Irfan,
>> >
>> > You should have a look to CSipSimple project.
>> > There is already ffmpeg build included in the toolchain + the glue to do
>> > video capture/rendering that is not yet in pjsip android branch.
>> >
>> > Best regards,
>> > R?gis
>> >
>> > 2012/9/17 Irfan Khan <irfan.f.khan at gmail.com>
>> >
>> >> Hello everyone,
>> >>                          I am very new to PJSIP and FFMPEG both. but
>> >> need to develop one application using both.
>> >>                          I am trying to build PJSIP by enabling FFMPEG
>> >> flag , but getting lots of error.
>> >>                          Could any one help me building the same?
>> >>                           so I am following these steps:
>> >>                            1. got source code of PJSIP from their
>> website
>> >>                            2. created config_site.h with android flag
>> >> and added video and ffmpeg flag to true.
>> >>                            3. Added ffmpeg include path in make file of
>> >> PJSIP.
>> >>                            4. ran ./configure-android , make dep, make
>> >>
>> >>                            I am getting errors with undefined
>> >> references to ffmpeg symbols.
>> >>
>> >>                           The other problem is I am not able to get
>> >> proper steps to build ffmpeg for Android.
>> >>
>> >>                            I will appreciate any help on this.
>> >>
>> >>
>> >> Thanks
>> >> Irfan
>> >>
>> >> _______________________________________________
>> >> Visit our blog: http://blog.pjsip.org
>> >>
>> >> pjsip mailing list
>> >> pjsip at lists.pjsip.org
>> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> >>
>> > -------------- next part --------------
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120917/d0781a9b/attachment.html
>> >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > pjsip mailing list
>> > pjsip at lists.pjsip.org
>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> >
>> >
>> > End of pjsip Digest, Vol 61, Issue 65
>> > *************************************
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120917/aec6151d/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> End of pjsip Digest, Vol 61, Issue 67
> *************************************



[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