编译jabberd 2出现expat.h: No such file or directory

来源:互联网 发布:淘宝三木社 编辑:程序博客网 时间:2024/06/05 12:41

本次使用的版本为jabberd-2.3.2,在编译过程中出现如下问题:

In file included from callback.c:21:
sx.h:30:19: error: expat.h: No such file or directory
In file included from callback.c:21:
sx.h:316: error: expected specifier-qualifier-list before 'XML_Parser'
callback.c: In function '_sx_element_start':

callback.c:32: error: 'struct _sx_st' has no member named 'fail'

callback.c:35: error: 'struct _sx_st' has no member named 'nad'

解决方法如下:

yum install expat-devel

0 0
原创粉丝点击