new SIP phone: QjSImple

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

 



On Tue, Jul 15, 2008 at 12:03 PM, Klaus Darilion <
klaus.mailinglists at pernau.at> wrote:

>
>
> Benny Prijono schrieb:
> > On Mon, Jul 14, 2008 at 4:07 PM, Jo?o Mesquita
> > <jmesquita at contactnet.com.br <mailto:jmesquita at contactnet.com.br>>
> wrote:
> >
> >     Humm, pjsua compiles just fine and executes OK. Have not done a call
> >     to test it tho, but I am sure that even if I am unable to make a
> call,
> >     it has nothing to do with this problem here.
> >
> >
> > I don't know about QjSImple build system, but I don't see PJ_AUTOCONF=1
> > declared in the make command. That could be the problem.
>
> Hi Benny. Is PJ_AUTOCONF=1 a MUST, or when exactly is it needed and when
> not?
>

As far as I know, yes it's a MUST *if* you're using GNU build system (Linux,
Unix, OSX, etc). For other build systems (Visual Studio, eVC, Symbian), the
PJ_AUTOCONF is not used, but rather these build systems will declare the
appropriate macros (such as PJ_WIN32, PJ_WIN32_WINCE, or PJ_SYMBIAN).

Looking at pj/config.h:

#if defined(PJ_AUTOCONF)
#   include <pj/compat/os_auto.h>
#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0
#  include <pj/compat/os_symbian.h>
#elif defined(PJ_WIN32_WINCE) || defined(_WIN32_WCE) || defined(UNDER_CE)
#   undef PJ_WIN32_WINCE
#   define PJ_WIN32_WINCE   1
#   include <pj/compat/os_win32_wince.h>
...
#else
#   error "Please specify target os."
#endif

That's exactly the error that Jo?o reported.


> I just tried building QjSimpe under Linux without specifying PJ_AUTOCONF
> and it works fine.
>
>
I think something must have declared PJ_AUTOCONF somewhere.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080715/89bf6563/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