Ethereal-dev: [ethereal-dev] RE: Simple patch to allow easy building of static linked ethereal

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

From: "Neulinger, Nathan R." <nneul@xxxxxxx>
Date: Thu, 27 Jan 2000 16:02:01 -0600
Forgot to mention - this assumes that '-Wl,-static' will work, I couldn't
get -static to work. libtool
just gets rid of it.

Works fine for me on redhat. If it isn't something we want to see generally
available, I'd at least like to see the target left in the Makefile.am in
EXTRA_PROGRAMS. That way, only people who already know about it would use
it.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: Neulinger, Nathan R. 
> Sent: Thursday, January 27, 2000 3:55 PM
> To: ethereal-dev@xxxxxxxx
> Subject: Simple patch to allow easy building of static linked ethereal
> 
> 
> This is a very simple hack to allow a user to easily build a staticly 
> linked copy of ethereal. It will not have any support for plugins. 
> 
> At this time, no special handling is done, plugin loading should just 
> fail. Ideally we should likely have some sort of test and 
> compile out the
> plugin menu, or put a diagnostic message up to indicate 
> plugins are not
> supported in the staticly linked version.
> 
> Basically, to enable, add --with-static-ethereal. This will cause the 
> compilation process to additionally create ethereal_static. 
> 
> Note - this is intended for those of us who can do a normal 
> build, but 
> for various reasons, would also like to be able to link ethereal 
> staticly. I am not sure how this patch will behave on a machine that 
> cannot build the plugins (i.e. you might have a specifically 
> issue gmake 
> ethereal_static). 
> 
> Extending this to tethereal should be obvious, just have a 
> look at the 
> Makefile.am and configure.in changes. 
> 
> -- Nathan
> 
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@xxxxxxx
> University of Missouri - Rolla         Phone: (573) 341-4841
> Computing Services                       Fax: (573) 341-4216
>