Ethereal-dev: RE: [Ethereal-dev] Configure / Compilation options

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "CHARBONNIER Christophe" <christophe.charbonnier@xxxxxxxxxxxx>
Date: Fri, 9 Jan 2004 07:56:07 +0100
As an example, I tried to update Makefile.am's DISSECTOR_SRC so that
only TCP-frames can be dissected (as an example).  I did as follow:
[Makefile.am]
...
DISSECTOR_SRC = \
	packet-eth.c   \
	packet-etherip.c	\
	packet-ethertype.c   \
	packet-ip.c \
	packet-tcp.c

I ran "automake", and have the following error:
configure.in: 6159: required file `./_AM_File,.in' not found
configure.in: 6159: required file `./[$2],.in' not found
configure.in: 6159: required file `./[$3])].in' not found

I'm not an automake fan, so could you please explain me what is wrong ??
Thanxs in advance

-----Original Message-----
From: Guy Harris [mailto:guy@xxxxxxxxxxxx] 
Sent: vendredi 9 janvier 2004 01:42
To: CHARBONNIER Christophe
Cc: Ethereal Development
Subject: Re: [Ethereal-dev] Configure / Compilation options


On Jan 8, 2004, at 4:30 PM, Guy Harris wrote:

>> Really?  Did you remove "register.c" before re-running the make with
>> the new Makefile?  If you had an old "register.c" built from the 
>> complete set of dissectors, it won't be rebuilt merely because you 
>> changed the Makefile.
>
> That should fix the register.c problem (I tried it).
>
> However, it'll still try to link with all the .o's.
>
> You'd have to install automake and autoconf if you don't already have 
> them installed, update "Makefile.am"'s DISSECTOR_SRC list, run 
> './autogen.sh", run "configure", and then do the make.
>