Win32 build doesn't build because of stddef.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux