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

Eagle I Martin Baranski eagle3386 at googlemail.com
Sat Nov 10 14:34:40 EST 2007


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
=====================




More information about the pjsip mailing list