Ethereal-dev: Re: [ethereal-dev] Compiling static version ethereal HP-UX 10.20

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 14 Jul 2000 11:26:17 -0700 (PDT)
> Followinng problem arises when compiling the static version of ethereal.
> Operating System is HP-UX 10.20:

Not surprising - unfortunately, the command-line flags to cause a
program to be linked statically are quite linker-dependent, and the
flags in our "Makefile.am" are those for the GNU linker - they're not
the right ones for, say, the SunOS 4.x or 5.x linker, or the HP-UX
linker, or....

We'd need to expand the

	#
	# Add any platform-specific compiler flags needed.
	#

section of "configure.in" to define the appropriate flags (perhaps
"libtool" can be convinced to cough up the "link this statically" flags
for the platform, but using "libtool" for that would require anybody
building Ethereal - even if they've just downloaded a release and have
no plans to modify Ethereal - to install "libtool", which I don't think
we want to do).

Note that expanding this section might require users of platforms that
the expander doesn't have to supply the flags appropriate for said
platform.