只好不动它了。。。不改epoll.h.出错如下,看看是怎么回事
Making all in src
make[2]: Entering directory `/tmp/BitStormLite-0.1b/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. `pkg-config --cflags gtk+-2.0` -g -O2 -c EpollReactor.cpp
^X
[1]+ Stopped make
shizhu@pink:/tmp/BitStormLite-0.1b$ make
make all-recursive
make[1]: Entering directory `/tmp/BitStormLite-0.1b'
Making all in src
make[2]: Entering directory `/tmp/BitStormLite-0.1b/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. `pkg-config --cflags gtk+-2.0` -g -O2 -c EpollReactor.cpp
In file included from EpollReactor.cpp:8:
/usr/include/sys/epoll.h:64: error: 'uint32_t' is used as a type, but is not
defined as a type.
/usr/include/sys/epoll.h:65: error: 'uint64_t' is used as a type, but is not
defined as a type.
/usr/include/sys/epoll.h:73: error: 'uint32_t' is used as a type, but is not
defined as a type.
EpollReactor.cpp: In member function `virtual bool
CEpollReactor::addSocket(ISocket*)':
EpollReactor.cpp:46: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:49: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:49: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:53: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:53: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp: In member function `int CEpollReactor::svc()':
EpollReactor.cpp:135: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:144: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:156: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp: In member function `virtual void
CEpollReactor::updateMask(ISocket*)':
EpollReactor.cpp:178: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:181: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:181: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:185: error: 'struct epoll_event' has no member named 'events'
EpollReactor.cpp:185: error: 'struct epoll_event' has no member named 'events'
make[2]: *** [EpollReactor.o] Error 1
make[2]: Leaving directory `/tmp/BitStormLite-0.1b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/BitStormLite-0.1b'
make: *** [all-recursive-am] Error 2