p.s. Is maybe config.gz more useful in order to obtain such Processor configurations? Thanks. On Mon, Jul 30, 2012 at 11:16 PM, Monty Python <pythonexperiment at gmail.com> wrote: > Thanks a lot!! Now I think that my problem is only caused than a > different architecture between your device processor and mine. I've > seen that in your user.mak there is a variable > (MY_ANDROID_CPU_ARCH_ABI) which could be useful to change architecture > (ARMv6, ARMV7 etc,) By the way, my /proc/cpuinfo has the current > configuration: > > Features: swp half thumb fastmult vfp edsp vfpv3 vfpv3d16 > > For example, in MY_ANDROID_ARM_COMMAND_CFLAGS you're setting > -D__ARM_ARCH_5__ even if the architecture is ARMv7. So I'd like to ask > if there are some other Define flags for ARMv7 (v71). Is there also a > way to obtain the desired flags from the Features informations? Thanks > again for your useful help. > > M.P. > > On Mon, Jul 30, 2012 at 7:03 AM, Gang Liu <gangban.lau at gmail.com> wrote: >> I don't know pjsip android branch. >> But you could try this patch. >> >> 1, first patch pjproject 2.0.1 release; >> 2, replace config.guess and config.sub >> 3, >> ./aconfigure --host=arm-linux-androideabi --enable-ext-sound >> --disable-speex-codec --disable-speex-aec --disable-l16-codec >> --disable-g722-codec --disable-floating-point >> make dep; make >> >> you can take a look user.mak to change compile flags. >> >> regards, >> Gang >> >> On Sat, Jul 28, 2012 at 9:18 AM, Monty Python >> <pythonexperiment at gmail.com> wrote: >>>>Did you try pjlib-test and pjmedia-test before run pjsua? >>> Yes: using pjlib-test of that distribution, an error of dynamic(?) >>> linking (something like /system/xbin/linker) occurs. >>> >>>>I used pjproject 1.14.2 release version >>> Now I'm trying to use the 2.0 version (it should be more recent than >>> 1.14.2), but I don't know now what to say... I'll list here what I did >>> in order to have another Stop and Segmentation fault from my su shell: >>> - I made the patch >>> (http://digilander.libero.it/MIDISEARCH/android.patch), using the >>> OpenSL as shown in a >>> previous discussion on this mailing list. This patch contains also the >>> configure-android of the pjsip's android branch. >>> - I do "autoconf aconfigure.ac > aconfigure" to generate the updated >>> config file >>> - I run the script ./myConf generated from the patch file >>> - I do "make dep && make" (It uses by default the 5th version of Android Api) >>> - After compilation, i push the binary pjsua etc. to the rooted device. >>> - I execute the binary from /data/local with 0777 permissions >>> - The application is Stopped and then a Sigfault is received >>> >>> The same thing happens on the emulator. Thanks again for your useful advices, >>> >>> M.P. >>> >>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 >>