How to slove 'pj_jmp_buf' issue ?

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

 



I am guessing this only happens in release mode?

There seems to be two options to solve it:

a) Make PJ_HAS_SETJMP_H to 0 when configuring your build
b) If you enable PJ_HAS_SETJMP (default), then, when building your release
build, don't just add the entire pjproject directory in the header search
path. The core essence seems to be that there is a file, setjmp.h in
pjlib/include that conflicts with CoreFoundations own setjmp. In my case,
all I had to do was specify all the include directories inside pjproject,
but leave out pjlib include directory (which has setjmp.h)

That solves it. Don't know if it is the right way.



On Thu, Jul 22, 2010 at 10:12 PM, ?? <demowolf.jiangwei at gmail.com> wrote:

> Hi,
>
> i am doing this pjsip on iphone .
> After i doing all the steps on documents, It do compiles well.
>
> But when i using it in my application , there is a error says :
>
> " /pjproject/pjlib/include/pj/compat/setjmp.h:30:0
> /pjproject/pjlib/include/pj/compat/setjmp.h:30: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before 'pj_jmp_buf'  "
>
> I googled,  some people met the same problem.
>
> I just what to know how did you finally got through this problem ?
>
> Thank you .
>
> _______________________________________________
> 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/20101102/0b20862f/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