QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 745|回复: 0

[求助]libbt-1.03 make时出错

[复制链接]
发表于 2004-12-31 13:26:56 | 显示全部楼层 |阅读模式
系统为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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 07:50 , Processed in 0.043124 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表