Hi,
I'm working in order to improve a zigbee dissector.
I created two new files(in epan/dissector folder): zbee-zcl-on-off.c and zbee-zcl-on-off.h.
The .c file includes zbee-zcl.h file because the zbee-zcl-on-off.c needs 2 functions written in the zbee-zcl.c file.
I built my wireshark working copy and it works fine. New dissector decodes the packets as I want.
My idea is to convert my new dissector to plugin:
I moved the sources file into the specific folder and I followed the rules written in the README.plugins file.
But when I build the plugin I have an error (fatal error: LNK1220) the linker doesn't know the 2 functions included in the zbee-zcl.h file.
The plugin files are in the plugins/zbee_zcl_on_off folder and in zbee-zcl-on-off.c file I have included the header file as <epan/dissectors/zbee-zcl.h>
But I don't undestand why build failed.
Any suggestions?
BR
Fabio.