0
我試圖用新的wireshark源創建一箇舊的解剖器,我正面臨着這個編譯問題,我無法解決它。錯誤:使用不完整的類型'tvbuff_t
更多日誌:
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
這種類型仍然存在於wireshark中嗎?它移動標題,你需要添加正確的包括? –
標題仍然存在。 /epan/tvbuff.h –