MinGW32 编译 libevent 出错,求帮助...

2015-01-01 17:11:10 +08:00
 lenovo
Administrator@WIN-QS24SR833AQ ~/libevent-2.0.21-stable
$ make
test -d include/event2 || /bin/mkdir -p include/event2
/bin/sed -f ./make-event-config.sed < config.h > include/event2/event-config.hT
mv -f include/event2/event-config.hT include/event2/event-config.h
make all-recursive
make[1]: Entering directory /home/Administrator/libevent-2.0.21-stable' Making all in . make[2]: Entering directory/home/Administrator/libevent-2.0.21-stable'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat
-I./include -I./include -g -O2 -Wall -fno-strict-aliasing -MT event.lo -MD -
MP -MF .deps/event.Tpo -c -o event.lo event.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./include -g
-O2 -Wall -fno-strict-aliasing -MT event.lo -MD -MP -MF .deps/event.Tpo -c even
t.c -o event.o
In file included from minheap-internal.h:35,
from event-internal.h:38,
from event.c:60:
util-internal.h:222: error: field ss_sin' has incomplete type util-internal.h:223: error: fieldss_sin6' has incomplete type
make[2]: *** [event.lo] Error 1
make[2]: Leaving directory `/home/Administrator/libevent-2.0.21-stable'
make[1]: *** [all-recursive] Error 1

*** [all] Error 2
~/libevent-2.0.21-stable
1956 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/158461

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX