[pjsip] Win32 build doesn't build because of stddef.h

Roland Klabunde roland.klabunde at freenet.de
Mon Nov 5 07:05:05 EST 2007


../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory

You don't have a path to stddef.h, it seems.

----- Original Message ----- 
From: "Eagle I Martin Baranski" <eagle3386 at googlemail.com>
To: <pjsip at lists.pjsip.org>
Sent: Monday, November 05, 2007 11:28 AM
Subject: [pjsip] Win32 build doesn't build because of stddef.h


> Hi there,
> 
> I'm quite new to PJSIP, but I hope, that I can build a small, useful
> and fast SIP-software with this great library.
> So, I did a checkout from the trunk-branch, loaded all projects within
> Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
> and finally wanted to build the package. But then, it said:
> 
> -------------- Build: Win32 Release in pjsua ---------------
> [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
> In file included from ../../pjlib/include/pj/config.h:259,
>               from ../../pjsip/include/pjsip/sip_config.h:26,
>               from ../../pjsip/include/pjsip/sip_types.h:33,
>               from ../../pjsip/include/pjsip.h:23,
>               from ../../pjsip/include/pjsua-lib/pjsua.h:29,
>               from
> M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
> ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
> or directory
> In file included from ../../pjsip/include/pjsip/sip_types.h:34,
>               from ../../pjsip/include/pjsip.h:23,
>               from ../../pjsip/include/pjsua-lib/pjsua.h:29,
>               from
> M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
> ../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t"
> ../../pjlib/include/pj/types.h:60: warning: type defaults to `int' in
> declaration of `pj_size_t'
> ../../pjlib/include/pj/types.h:60: warning: data definition has no
> type or storage class
> 
> (...)
> 
> There are many further errors, but except two of them, all refer to
> the "pj_size_t" which seems to be declared within the stddef.h - but
> that file isn't anywhere inside PJSIP's folders! :(
> 
> So, I'd be glad, if someone can tell me what I'm doing wrong and how
> to do it better.. :)
> 
> --
> =====================
> = ~ Code is poetry ~
> =====================
> = Martin Baranski
> = Eagle | Eagle3386
> = www.troublezone.net
> = eagle3386 at gmail.com
> = +49 (0)160 93317843
> =====================
> 
> _______________________________________________
> 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
>




More information about the pjsip mailing list