V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lenovo
V2EX  ›  问与答

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

  •  
  •   lenovo · 2015-01-01 17:11:10 +08:00 · 1956 次点击
    这是一个创建于 3550 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1145 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:37 · PVG 02:37 · LAX 11:37 · JFK 14:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.