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

Eagle I Martin Baranski eagle3386 at googlemail.com
Thu Nov 8 07:43:55 EST 2007


2007/11/8, Roland Klabunde <roland.klabunde at freenet.de>:
> > So, come on, don't laugh at me while I'm just reporting what the
> > compiler says! I don't find it very funny.. :(
>
> That wasn't my intention. It just sprang into my mind when I saw
>
> > #include wsock32.lib
> > #include ws2_32.lib
> > #include ole32.lib
> > #include dsound.lib
>
> That is not really sophisticated programming, neither for a amateur nor for
> a diploma holder.
>
> And - I don't know where _you_ got your sources from --- my latest SVN
> snapshot does not have such a pjlib.h.

Correct.. Did a complete and fresh checkout.. Got the files as they're
supposed to be..

> If you didn't add that "inlcude lib" stuff you should quickly check, who the
> heck did change the files on your computer :)

>From now on, I'm going to lock my computer everytime I leave the room.. ;)


Though, now GCC says:

M:\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c: In function `int
read_config_file(pj_pool_t*, const char*, int*, char***)':
M:\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:256: error: invalid
conversion from `void*' to `char**'
M:\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:317: error: invalid
conversion from `void*' to `char*'

How to fix the conversion? :)
-- 
=====================
= ~ Code is poetry ~
=====================
= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386 at gmail.com
= +49 (0)160 93317843
=====================




More information about the pjsip mailing list