is not generating any output file

asked 2018-09-28 09:21:22 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.


i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3 the existing packet-xxx.c file has prototreeadd_item() API calls which are removed from 2.6.3.

i do observe a tool and tried to run it as mentioned below,

./ --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
./ --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c


root@epc:~/raju/wireshark-wireshark-2.6.3/tools# ./ --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
root@epc:~/raju/wireshark-wireshark-2.6.3/tools#./ --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
Couldn't open packet-fapi.c.proto_tree_input at ./ line 201.

it seems step1 is not generated any output file which is input for step2.

can you please let me know how to overcome this issue??

Thanks, Raju

edit retag flag offensive close merge delete


Give the path to packet-fapi.c

Anders gravatar imageAnders ( 2018-09-28 10:36:39 +0000 )edit

packet-fapi.c file is located in the same location ~/raju/wireshark-wireshark-2.6.3/tools.

Kuru4634 gravatar imageKuru4634 ( 2018-09-28 10:52:59 +0000 )edit