Wireshark-dev: Re: [Wireshark-dev] adding dissector, automake fails
From: "your highness" <zanash@xxxxxxxxx>
Date: Mon, 29 Jan 2007 16:09:42 +0100
Thanx Jaap,

That clarifies a lot. I am going to follow those instructions then.
According to the README.plugin changes have to be done to higher level
Makefile.am's. If I am correct I have to install the whole source, or
am I wrong? I thought that I would be able to just compile my own
sources. I hope that I am wrong again ;-)


On 1/29/07, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
Hi,

Auw, that paragraph needs some serious work. Please let me refer you to
the README.plugin in the doc/ directory. That contains the current state
of the art way of creating plugin dissectors.

For the rest, I never use autoscan, just automake, configure and make.

Thanx,
Jaap

On Mon, 29 Jan 2007, your highness wrote:

> I am trying to add a dissector as a plugin for a new protocol. Before
> writing the dissector I tried the source of the example described in
> the documentation for developers:
> http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html
>
> I am using the Makefile.am of Example 9.6. given on that page exactly
> without any changes. I tried the following:
> - generated configure.scan by "autoscan"
> - renamed configure.scan to configure.in
> - ran "automake"
>
> But then I get a lot of errors as shown at the end of this email. I am
> using Fedora Core release 6 and automake-1.9... And I am a new Linux
> user :-)
>
> Then I tried autoscan and automake on the sources of a plugin which
> was included in the source and I got exactly the same errors. By the
> way, I have installed the binaries and haven't compiled the source
> myself.
>
> Has anyone an idea what I am doing wrong?
>
> Here is the output of automake:
>
> # automake
> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
> Makefile.am: required file `./INSTALL' not found
> Makefile.am: required file `./NEWS' not found
> Makefile.am: required file `./README' not found
> Makefile.am: required file `./AUTHORS' not found
> Makefile.am: required file `./ChangeLog' not found
> Makefile.am: required file `./COPYING' not found
> configure.in:7: required file `config.h.in' not found
> Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
> Makefile.am:5:
> Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
> Makefile.am:5: to `configure.in' and run `aclocal' and `autoconf' again.
> /usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear
> in AM_CONDITIONAL
> /usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev