Hello,

can you do man vsnprintf or man snprintf and see if it lists special #include or #define? On macos and debian all compiles fine, no warnings.

Cheers,
Daniel

On 31.08.17 08:18, Yasin CANER wrote:

Hello,

    Compiling branch 5.0 gives error as below.

Thanks

Centos 6.5

Linux   2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)

WARNING:
CC (gcc) [M xmlrpc.so]          xmlrpc.o
xmlrpc.c: In function ‘set_fault’:
xmlrpc.c:888: warning: implicit declaration of function ‘vsnprintf’
xmlrpc.c: In function ‘print_value’:
xmlrpc.c:1018: warning: implicit declaration of function ‘snprintf’
xmlrpc.c:1018: warning: incompatible implicit declaration of built-in function ‘snprintf’

--





_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com