Hi all
i follow the giude:
http://sip-router.org/wiki/migration/kamailio-3.0-config
when i compile "make all" i run into the error
functions.c:25:23: error: curl/curl.h: No such file or directory
functions.c: In function âwrite_functionâ:
functions.c:50: error: âCURLE_WRITE_ERRORâ undeclared (first use in this
function)
functions.c:50: error: (Each undeclared identifier is reported only once
functions.c:50: error: for each function it appears in.)
functions.c: In function âhttp_queryâ:
functions.c:68: error: âCURLâ undeclared (first use in this function)
functions.c:68: error: âcurlâ undeclared (first use in this function)
functions.c:69: error: âCURLcodeâ undeclared (first use in this function)
functions.c:69: error: expected â;â before âresâ
functions.c:82: warning: implicit declaration of function âcurl_easy_initâ
functions.c:90: warning: implicit declaration of function
âcurl_easy_cleanupâ
functions.c:96: warning: implicit declaration of function âcurl_easy_setoptâ
functions.c:96: error: âCURLOPT_URLâ undeclared (first use in this function)
functions.c:98: error: âCURLOPT_NOSIGNALâ undeclared (first use in this
function)
functions.c:99: error: âCURLOPT_TIMEOUTâ undeclared (first use in this
function)
functions.c:102: error: âCURLOPT_WRITEFUNCTIONâ undeclared (first use in
this function)
functions.c:103: error: âCURLOPT_WRITEDATAâ undeclared (first use in this
function)
functions.c:105: error: âresâ undeclared (first use in this function)
functions.c:105: warning: implicit declaration of function
âcurl_easy_performâ
functions.c:109: error: âCURLE_OKâ undeclared (first use in this function)
functions.c:114: warning: implicit declaration of function
âcurl_easy_getinfoâ
functions.c:114: error: âCURLINFO_HTTP_CODEâ undeclared (first use in this
function)
make[1]: *** [functions.o] Error 1
make[1]: Leaving directory `/usr/local/src/sr/sip-router/modules/utils'
make: *** [modules] Error 1