Currently, for some reason, even with all the includes added, there doesn't seem to be any linking occuring to airpdcap.c, where the definition and declaration for AirPDcapPacketProcess are.
Is there anything I am missing? Thanks. asked 28 Jun '12, 11:52 Ian edited 29 Jun '12, 20:12 Guy Harris ♦♦ |
One Answer:
It looks like you're trying to build a plugin rather than a built-in dissector. AirPDcapPacket() is in epan/crypt but the symbol is NOT exported (in epan/libwireshark.def) so the symbol can't be used from plugins. Options:
answered 28 Jun '12, 13:58 JeffMorriss ♦ |
Apologies, I am indeed trying to build a plugin: however, libwireshark.def won't make the link for AirPDcapPacketProcess(), so is there any other other way to create a link (short of copying the functions and defintions from the .c to my plugin)?
Sorry, I'm not sure I understand... libwireshark.def does not currently export AirPDcapPacketProcess but you can add it--unless you want to run your plugin with an unmodified version of Wireshark in which case you'd have to open a bug and ask that Wireshark export the symbol.
I do assume that you're actually using the function in your plugin?
If so and if you don't want to modify Wireshark then, yes, copying the function (and any dependencies of that function) would be the only option.
Mostly working when the function and dependencies were copied, I'll keep trucking away @ it. Thanks :)