-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am facing build issues after adding packet_twamp.c in /epan/dissectors/ path, pls help #2
Comments
Hi demirten, i am getting similar errors please can you help resolve them. sysadmin@sysadmin-HP-ProBook-4430s: |
I have a task of adding twamp dissector to current wireshark version . Once I did this and did a build, I got following issues :/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:29:24: error: wmem_array.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:30:23: error: wmem_core.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:31:23: error: wmem_list.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:32:26: error: wmem_miscutl.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:33:24: error: wmem_queue.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:34:25: error: wmem_scopes.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:35:24: error: wmem_stack.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:36:25: error: wmem_strbuf.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:37:25: error: wmem_strutl.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:38:23: error: wmem_tree.h: No such file or directory
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/wmem/wmem.h:39:26: error: wmem_user_cb.h: No such file or directory
I then created a wmem directory in epan and added all the wmem header files in it.
After this I got ws_symbol_export.h not found error.
I added this in Wireshark directory.
Then I got p_add_proto_data , p_get_proto_data error from packet_twamp.c , I did my research and understood that it is taking the prototype from frame_data.h so I commented that code and added proto_data.h and proto_data.c file in my workspace.
Now I am getting following error :
[ 5%] Building C object epan/CMakeFiles/epan.dir/proto_data.c.o
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c: In function ‘p_add_proto_data’:
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:77: error: ‘struct _packet_info’ has no member named ‘pool’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:79: error: ‘struct _packet_info’ has no member named ‘proto_data’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c: In function ‘p_get_proto_data’:
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:107: error: ‘struct _packet_info’ has no member named ‘pool’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:108: error: ‘struct _packet_info’ has no member named ‘proto_data’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c: In function ‘p_remove_proto_data’:
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:134: error: ‘struct _packet_info’ has no member named ‘pool’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:136: error: ‘struct _packet_info’ has no member named ‘proto_data’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c: In function ‘p_get_proto_name_and_key’:
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:153: error: ‘struct _packet_info’ has no member named ‘pool’
/home/Development/Wireshark/WIRESHARK_IPV6_187.00/epan/proto_data.c:154: error: ‘struct _packet_info’ has no member named ‘proto_data’
make[2]: *** [epan/CMakeFiles/epan.dir/proto_data.c.o] Error 1
make[1]: *** [epan/CMakeFiles/epan.dir/all] Error 2
pls help :(
The text was updated successfully, but these errors were encountered: