pjsip1.0 rc3: compilation problem with visual studio 6.0

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

 



Hi.

 

I have a compilation error with the latest pjsip release: 1.0 rc3.

My build environment is base on Microsoft Visual C++ 6.0

 

It seems that this pjsip release defines:

#   define PJ_SOCK_HAS_GETADDRINFO  1

 

In the previous release I didn't have any compilation problem.

In attach you can find my config_site.h.

 

Beat Regards

Massimiliano

 

 

Compilation Log:

 

--------------------Configuration: pjlib - Win32 Release--------------------

Compiling...

addr_resolv_sock.c

C:\Programmi\Microsoft Visual Studio\VC98\INCLUDE\qos.h(236) : warning
C4201: nonstandard extension used : nameless struct/union

C:\Programmi\Microsoft Visual Studio\VC98\INCLUDE\qos.h(463) : warning
C4201: nonstandard extension used : nameless struct/union

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(64
) : error C2079: 'hint' uses undefined struct 'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(97
) : error C2224: left of '.ai_family' must have struct/union type

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(99
) : warning C4013: 'getaddrinfo' undefined; assuming extern returning int

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(10
6) : error C2037: left of 'ai_next' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(10
8) : error C2037: left of 'ai_family' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(11
2) : error C2037: left of 'ai_canonname' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(11
3) : error C2037: left of 'ai_canonname' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(11
4) : warning C4047: 'function' : 'const char *' differs in levels of
indirection from 'unsigned int '

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(11
4) : warning C4024: 'strncpy' : different types for formal and actual
parameter 2

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(11
4) : error C2198: 'strncpy' : too few actual parameters

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(12
2) : error C2037: left of 'ai_addr' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(12
2) : error C2037: left of 'ai_addrlen' specifies undefined struct/union
'addrinfo'

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(12
2) : error C2198: 'pj_memcpy' : too few actual parameters

C:\ANTS-Development\IMS\pjproject-1.0-rc3\pjlib\src\pj\addr_resolv_sock.c(13
0) : warning C4013: 'freeaddrinfo' undefined; assuming extern returning int

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080926/54ec152c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_site.h
Type: application/octet-stream
Size: 101 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080926/54ec152c/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_site_sample.h
Type: application/octet-stream
Size: 4660 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080926/54ec152c/attachment-0001.h>


[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