Wireshark-dev: Re: [Wireshark-dev] Add a new tap listener into tshark
From: Simon Zhong <szhong1172@xxxxxxxxx>
Date: Fri, 12 Jul 2013 18:08:16 -0400
On Fri, Jul 12, 2013 at 5:31 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
On 07/12/13 15:03, Simon Zhong wrote:
Hi,

I'm trying add a cops listener into tshark. I created tap-cops.c and put
it in ui/cli, however the make process doesn't include it.

I've tried add tap-cops.c into .CMakeLists.txt and
ui/cli/Makefile.common, still no lucky.

Are you building with cmake or ./configure ?  The former uses CMakeLists.txt and the latter Makefile.common .


Sorry forgot to mention my environment is Linux, so I use ./configure.


I used tap-diameter-avp.c as reference, it seems those two files above
are the only place it shown.

Of course ui/cli/Makefile.in also seems suspicious, but I'm not sure if
I should change it.

After modifying Makefile.common Makefile.in should automatically be regenerated.  If not, run ./autogen.sh && ./configure to get it (and the Makefile) updated.

After running ./autogen the Makefile.in was modified as expected. So it's working now. Thanks!

I didn't notice such steps in README.tapping, should I fire a ticket for documentation?


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe