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

Roland Klabunde roland.klabunde at freenet.de
Sat Nov 10 14:48:48 EST 2007


Note the namings. Obviously your lib cannot resolve the functions.

----- Original Message ----- 
From: "Eagle I Martin Baranski" <eagle3386 at googlemail.com>
To: "pjsip embedded/DSP SIP discussion" <pjsip at lists.pjsip.org>
Sent: Saturday, November 10, 2007 8:34 PM
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