unix下部署libevent
起初装了libevent,也显示成功了,据同事说。
我去安装的时候同事又没和我说安装过,所以我把他以前解压的包给删掉了。然后就自己安装了,可是总是报这个错
"./compat/sys/_time.h", line 79: warning #2047-D: incompatible redefinition of
macro "timerclear" (declared at line 138 of
"/usr/include/sys/time.h")
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
^
"./compat/sys/_time.h", line 80: warning #2047-D: incompatible redefinition of
macro "timerisset" (declared at line 131 of
"/usr/include/sys/time.h")
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
^
"./compat/sys/_time.h", line 81: warning #2047-D: incompatible redefinition of
macro "timercmp" (declared at line 133 of "/usr/include/sys/time.h")
#define timercmp(tvp, uvp, cmp) \
^
"./compat/sys/_time.h", line 105: warning #2047-D: incompatible redefinition
of macro "timespecclear" (declared at line 157 of
"/usr/include/sys/time.h")
#define timespecclear(tsp) (tsp)->tv_sec = (tsp)->tv_nsec = 0
^
"./compat/sys/_time.h", line 106: warning #2047-D: incompatible redefinition
of macro "timespecisset" (declared at line 159 of
"/usr/include/sys/time.h")
#define timespecisset(tsp) ((tsp)->tv_sec || (tsp)->tv_nsec)
^
"./compat/sys/_time.h", line 107: warning #2047-D: incompatible redefinition
of macro "timespeccmp" (declared at line 148 of
"/usr/include/sys/time.h")
#define timespecc