我正在尝试使用新的 wireshark 源构建一个旧的解剖器,我正面临这个编译问题并且无法解决它。
更多日志:
packet-xxx.cpp:467:7: error: invalid use of incomplete type 'tvbuff_t {aka struct tvbuff}'
In file included from ../../epan/proto.h:51:0,
from ../../epan/packet.h:29,
from packet-xxx.cpp:51:
../../epan/tvbuff.h:64:8: error: forward declaration of 'tvbuff_t {aka struct tvbuff}'
make: *** [packet-xxx.lo] Error 1