Wireshark mailing list archives
Unable to compile a plugin
From: Omer Khalid <okhalid.cern () gmail com>
Date: Mon, 31 Jan 2011 17:59:38 +0100
Hi, I have been trying to compile a small plugin in wireshark (1.5.0) on Fedora 14. There is a single C file call pv.c I created a directory under plugins and copied my C file. Then I took the Makefile.am and Makefile.common from plugins/interlink directory and modified to change plugin name, version and SRC directories. I also copied moduleinfo.h into my plugin directory. Here are changes I made to Makefile.common: *PLUGIN_NAME = pv* *DISSECTOR_SRC = \* * pv.c* Here are changes I made to Makefile.am: *plugin_LTLIBRARIES = pv.la* I also adapted $(wireshark)/plugins/Makefile.am/common to include my pv directory under plugins to be compiled. I did the same for root Makefile.am and Makefile.common But after doing all of this, after ./configure when I make the build; I keep on getting this error "No rule to make target 'all'. Stop". I assumed that make process will automatically generate the plugin.c, makefile.in and makefile in my plugin directory and then the process will continue. Could any one point out that where I am missing the link here? Best Regards Omer
___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Unable to compile a plugin Omer Khalid (Jan 31)
- Re: Unable to compile a plugin Jaap Keuter (Jan 31)
- Re: Unable to compile a plugin Chris Maynard (Jan 31)