Ethereal-users: [Ethereal-users] Re: Problem in compiling ethereal9.7 on HP-UX

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 5 Nov 2002 20:35:42 -0800
On Wed, Nov 06, 2002 at 09:25:55AM +0530, Mudium, Ravi Kumar (Ravi) wrote:
> Hi Guy
> I have down loaded ethereal 0.9.7 version and configured the software. When
> I tried to compile I found that two files are missing they are 
> packet-bacapp.c
> packet-q2931.c 

If they're missing, either you downloaded a damaged source tarball, or
you have a bug in tar on your machine; both the gzipped and bzip2'ed
tarballs at

	http://www.ethereal.com/distribution/

contain both of those two files (I uncompressed and untarred both of
them; their contents are the same, and both include "packet-bacapp.c"
and "packet-q2931.c").

> When I look for these files on web at 
> 
> http://www.go.dlr.de/fresh/unix/src/misc/.warix/ethereal-0.9.7.tar.gz.html
> 
> I found these two files but they have some problem with INCLUDE FILES.
> Can some one help me to come out of this problem

Given that you have not said what the problems are, and given that many
of us have not seen those problems, you are far more likely to find
somebody to help you if you give detailed information as to what the
problems are (i.e., compiler error messages).

The source tree from the tarball from

	http://www.go.dlr.de/fresh/unix/src/misc/ethereal-0.9.7.tar.gz

is the same as the source tree from the Ethereal web site.

However, if you go to

	http://www.go.dlr.de/fresh/unix/src/misc/.warix/ethereal-0.9.7.tar.gz.html

and click on "ethereal-0.9.7/packet-bacapp.c", you do *not* get just
source code - the page at

	http://www.go.dlr.de/cgi-bin/warex?unix/src/misc/ethereal-0.9.7.tar.gz:a/ethereal-0.9.7/packet-bacapp.c

which is what you get if you click on "ethereal-0.9.7/packet-bacapp.c",
has a header saying

	Member ethereal-0.9.7/packet-bacapp.c of archive ethereal-0.9.7.tar.gz:

so if you save that entire page as text and try to compile it, it's
unlikely to compile, as

	Member ethereal-0.9.7/packet-bacapp.c of archive ethereal-0.9.7.tar.gz:

isn't a valid C statement.  Make sure you haven't just saved those files
with that header line (or the equivalent header line for
"packet-q2931.c").