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

logan logan04x at gmail.com
Sat Nov 10 15:05:19 EST 2007


Hi,

Try wsock32.lib, look for it on your disk and include the path in your 
linker directories. If you can't find it then it's available with the MS 
Platform SDK.

Thanks.

Best Regards,
Hitesh

----- Original Message ----- 
From: "Eagle I Martin Baranski" <eagle3386 at googlemail.com>
To: "pjsip embedded/DSP SIP discussion" <pjsip at lists.pjsip.org>
Sent: Sunday, November 11, 2007 1:04 AM
Subject: Re: [pjsip] Win32 build doesn't build because of stddef.h


> 2007/11/10, Roland Klabunde <roland.klabunde at freenet.de>:
>> M:/pj-sip/pjlib/src/pj/os_core_win32.c:134: undefined reference to
>> `WSAStartup at 8'
>> M:/pj-sip/pjlib/src/pj/os_core_win32.c:135: undefined reference to
>> `WSAGetLastError at 0'
>> M:/pj-sip/pjlib/src/pj/os_core_win32.c:135: undefined reference to
>> `WSAGetLastError at 0'
>> M:/pj-sip/pjlib/src/pj/os_core_win32.c:135: undefined reference to
>> `WSAGetLastError at 0'
>>
>>
>> You need to link the winsocket library.
>
> I thought that is linked by "mswsock"? - Because that one is already 
> linked:
>
> -lM:\pj-sip\pjlib\lib\libpjlib-i386-win32-vc8-debug.a -s  -lnetapi32
> -lmswsock -lws2_32 -lodbc32 -lodbccp32 -loleaut32 -lole32
> ^^^^^^^^^^^^^^^^^^^^
> -- 
> =====================
> = ~ 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