"CURLOPT_NOSIGNAL undeclared" error during compil

[b]Hi All,

I am trying to install Asterisk 1.6 rc6 on Redhat Linux-2.[/b]4.20. While compiling asterisk, I am getting following error. Please help me out.

func_curl.c: In function curl_instance_init': func_curl.c:89:CURLOPT_NOSIGNAL’ undeclared (first use in this function)
func_curl.c:89: (Each undeclared identifier is reported only once
func_curl.c:89: for each function it appears in.)
make[1]: *** [func_curl.o] Error 1
make: *** [funcs] Error 2

What version of Curl is installed on your system?

That option appears to have be included in curl 7.1.0 and later. (Do you also have the curl-devel package installed?)

curl.haxx.se/libcurl/c/curl_easy_setopt.html

If you don’t need to use curl, you can uncheck the box when you “make menuselect” so it does not attempt to compile it.

It was the problem with my curl version. I installed the latest version of curl, after it got compiled properly.