Fedora 18编译 lwqq失败

上网、浏览、聊天、下载等
回复
Ricadre
帖子: 5
注册时间: 2013-04-04 21:36
系统: Fedora 18
送出感谢: 0
接收感谢: 0

Fedora 18编译 lwqq失败

#1

帖子 Ricadre » 2013-04-05 12:06

cmake 通过,make 报错:

代码: 全选

[root@localhost build]# make
Scanning dependencies of target webqq
[  4%] Building C object src/CMakeFiles/webqq.dir/liblwqq/url.c.o
[  8%] Building C object src/CMakeFiles/webqq.dir/liblwqq/md5.c.o
[ 13%] Building C object src/CMakeFiles/webqq.dir/liblwqq/unicode.c.o
[ 17%] Building C object src/CMakeFiles/webqq.dir/liblwqq/logger.c.o
[ 21%] Building C object src/CMakeFiles/webqq.dir/liblwqq/login.c.o
[ 26%] Building C object src/CMakeFiles/webqq.dir/liblwqq/json.c.o
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/json.c: 在函数‘json_unescape’中:
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/json.c:1338:7: 警告:格式 ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int64_t’ [-Wformat]
[ 30%] Building C object src/CMakeFiles/webqq.dir/liblwqq/msg.c.o
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/msg.c: 在函数‘content_parse_string’中:
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/msg.c:1585:17: 警告:格式 ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat]
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/msg.c:1585:17: 警告:格式 ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat]
[ 34%] Building C object src/CMakeFiles/webqq.dir/liblwqq/type.c.o
[ 39%] Building C object src/CMakeFiles/webqq.dir/liblwqq/smemory.c.o
[ 43%] Building C object src/CMakeFiles/webqq.dir/liblwqq/info.c.o
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/info.c:46:12: 警告:‘lwqq_gdb_list_group_member’定义后未使用 [-Wunused-function]
[ 47%] Building C object src/CMakeFiles/webqq.dir/liblwqq/lwdb.c.o
[ 52%] Building C object src/CMakeFiles/webqq.dir/liblwqq/swsqlite.c.o
[ 56%] Building C object src/CMakeFiles/webqq.dir/liblwqq/vplist.c.o
[ 60%] Building C object src/CMakeFiles/webqq.dir/liblwqq/util.c.o
[ 65%] Building C object src/CMakeFiles/webqq.dir/liblwqq/internal.c.o
[ 69%] Building C object src/CMakeFiles/webqq.dir/liblwqq/async.c.o
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/async.c:318:12: 警告:‘lwqq_gdb_still_waiting’定义后未使用 [-Wunused-function]
[ 73%] Building C object src/CMakeFiles/webqq.dir/liblwqq/http.c.o
/home/ricadre/下载/pidgin-lwqq-0.1-d/src/liblwqq/http.c:2:18: 致命错误:zlib.h:没有那个文件或目录
编译中断。
make[2]: *** [src/CMakeFiles/webqq.dir/liblwqq/http.c.o] 错误 1
make[1]: *** [src/CMakeFiles/webqq.dir/all] 错误 2
make: *** [all] 错误 2
[root@localhost build]# 

求解答,这是什么错误?
Ricadre
帖子: 5
注册时间: 2013-04-04 21:36
系统: Fedora 18
送出感谢: 0
接收感谢: 0

Re: Fedora 18编译 lwqq失败

#2

帖子 Ricadre » 2013-04-05 12:23

已经解决,是我没有安装zlib(开发包)导致的...
回复

回到 “因特网相关软件”