系统为suse9.2 ,报错如下:
make[1]: Entering directory `/root/libbt-1.03/src'
gcc -c -g -Wall -I../include -I../include context.c -o context.o
context.c:4:23: curl/curl.h: 没有那个文件或目录
context.c:5:23: curl/easy.h: 没有那个文件或目录
context.c: In function `btrequest':
context.c:330: error: `CURL' undeclared (first use in this function)
context.c:330: error: (Each undeclared identifier is reported only once
context.c:330: error: for each function it appears in.)
context.c:330: error: `hdl' undeclared (first use in this function)
context.c:341: warning: implicit declaration of function `curl_easy_init'
context.c:369: warning: implicit declaration of function `curl_easy_setopt'
context.c:369: error: `CURLOPT_URL' undeclared (first use in this function)
context.c:371: error: `CURLOPT_FILE' undeclared (first use in this function)
context.c:372: error: `CURLOPT_WRITEFUNCTION' undeclared (first use in this function)
context.c:373: warning: implicit declaration of function `curl_easy_perform'
context.c:373: error: `CURLE_OK' undeclared (first use in this function)
context.c:377: error: `CURLE_COULDNT_CONNECT' undeclared (first use in this function)
context.c:391: warning: implicit declaration of function `curl_easy_cleanup'
make[1]: *** [context.o] 错误 1
make[1]: Leaving directory `/root/libbt-1.03/src'
make: *** [compile] 错误 2