Wireshark mailing list archives
plugin error during build
From: Fabio Tarabelloni <fabio.tarabelloni () reloc it>
Date: Sat, 16 Feb 2013 20:54:32 +0100
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.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- plugin error during build Fabio Tarabelloni (Feb 16)
- Re: plugin error during build Anders Broman (Feb 16)