Ask Your Question

Revision history [back]

tvb_format_stringzpad reported as undefined on Apple Silicon

Compiling my custom plugin on Apple silicon that calls tvb_format_stringzpad(), I get a linker error saying: Undefined symbols for architecture arm64: "_tvb_format_stringzpad", referenced from: my_dissector_function in packet-my_proto.o ld: symbol(s) not found for architecture arm64

The symbol seems to be available in: % lipo -archs libwireshark.15.0.7.dylib arm64

% nm -arch arm64 wireshark/build/run/Debug/libwireshark.15.0.7.dylib | grep 'tvb_format_stringzpad$' 00000000000c6c18 t _tvb_format_stringzpad

This being compiled against wireshark-3.6.7: % git rev-parse --short HEAD 4a304d7ec2

Any pointers on how to proceed would be appreciated.

click to hide/show revision 2
None

tvb_format_stringzpad reported as undefined on Apple Silicon

Compiling my custom plugin on Apple silicon that calls tvb_format_stringzpad(), I get a linker error saying: Undefined symbols for architecture arm64: "_tvb_format_stringzpad", referenced from: my_dissector_function in packet-my_proto.o ld: symbol(s) not found for architecture arm64

The symbol seems to be available in: % lipo -archs libwireshark.15.0.7.dylib arm64

% nm -arch arm64 wireshark/build/run/Debug/libwireshark.15.0.7.dylib | grep 'tvb_format_stringzpad$' 00000000000c6c18 t _tvb_format_stringzpad

This being compiled against wireshark-3.6.7: % git rev-parse --short HEAD 4a304d7ec2

Any pointers on how to proceed would be appreciated.