安装yar-c时失败
yar_pack.c: In function 'yar_unpack_data_type':
yar_pack.c:211: error: 'MSGPACK_OBJECT_DOUBLE' undeclared (first use in this function)
yar_pack.c:211: error: (Each undeclared identifier is reported only once
yar_pack.c:211: error: for each function it appears in.)
yar_pack.c:213: error: 'MSGPACK_OBJECT_RAW' undeclared (first use in this function)
yar_pack.c:214: error: 'msgpack_object_union' has no member named 'raw'
yar_pack.c: In function 'yar_unpack_data_value':
yar_pack.c:243: error: 'MSGPACK_OBJECT_DOUBLE' undeclared (first use in this function)
yar_pack.c:244: error: 'msgpack_object_union' has no member named 'dec'
yar_pack.c:246: error: 'MSGPACK_OBJECT_RAW' undeclared (first use in this function)
yar_pack.c:247: error: 'msgpack_object_union' has no member named 'raw'
make[1]: * [yar_pack.lo] Error 1
make[1]: Leaving directory `/data/soft/yar-c'
make: * [all] Error 2
git clone https://github.com/msgpack/msgpack-c.git cd msgpack-c ./bootstrap ./configure make make install
libevent为 libevent-2.0.22-stable
安装yar-c时失败 yar_pack.c: In function 'yar_unpack_data_type': yar_pack.c:211: error: 'MSGPACK_OBJECT_DOUBLE' undeclared (first use in this function) yar_pack.c:211: error: (Each undeclared identifier is reported only once yar_pack.c:211: error: for each function it appears in.) yar_pack.c:213: error: 'MSGPACK_OBJECT_RAW' undeclared (first use in this function) yar_pack.c:214: error: 'msgpack_object_union' has no member named 'raw' yar_pack.c: In function 'yar_unpack_data_value': yar_pack.c:243: error: 'MSGPACK_OBJECT_DOUBLE' undeclared (first use in this function) yar_pack.c:244: error: 'msgpack_object_union' has no member named 'dec' yar_pack.c:246: error: 'MSGPACK_OBJECT_RAW' undeclared (first use in this function) yar_pack.c:247: error: 'msgpack_object_union' has no member named 'raw' make[1]: * [yar_pack.lo] Error 1 make[1]: Leaving directory `/data/soft/yar-c' make: * [all] Error 2
求助