Can't most of those files be linked - progressively if needs be - into a
lib, and then link with that?
By the way, dftest seems to need wiretap/libwiretap.a included in
dftest_additional_libs for it to link
Regards,
Andrew Hood
A distributed system is one in which the failure of a computer you didn't
even know existed can render your own computer unusable. -- Leslie Lamport,
as quoted in CACM, June 1992
-----Original Message-----
From: Guy Harris [mailto:gharris@xxxxxxxxx]
Sent: Friday, 4 January 2002 18:09
To: Patrick Wolfe
Cc: ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] cannot link 0.9.0 command too long
On Thu, Jan 03, 2002 at 09:53:53PM -0600, Patrick Wolfe wrote:
> The bourne shell script "libtool" takes the command line that is passed to
it
> and runs each argument through a loop, eventually appending some text to a
> variable, but the whole linker command line is so long now, that the
Bourne
> shell cannot handle it (the shell has a maximum command line length limit
of
> 10240 characters - same as KSH and BASH).
Nope. The Bourne shell has had, for ages (as in "probably dating back
to the UNIX Time-Sharing System, Seventh Edition, back in 1979") not had
a low limit such as that. (Unlike the C shell, which *does* have such a
limit - and, when I looked at it, ages ago, back when I was at Sun, it
wasn't easy to remove - the Bourne shell has no fixed limit, it just
keeps allocating memory as needed.)
Many UNIX *kernels* have a 10240-character limit on the number of
characters that can be passed to a process, but SunOS hasn't had that
low a limit since SunOS 4.0, back in 1986/1987 or so (the limit was
raised to a megabyte or so, and that was, as I remember, propagated to
System V Release 4 and thus to SunOS 5.x). I wish other UNIXes had
large limits like that....
The problem is, as Ed Warnicke noted, with "sed". The version in
"/usr/bin" has a really low limit on line lengths; "/usr/xpg4/bin/sed"
is a bit better, with a higher limit, and it can handle Ethereal 0.9.0,
but I think its limit is still low enough that some programs might have
problems.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
-------------------------------------------------------
NOTE: The attachment below was deleted because it had a
suspicious file name (winmail.dat).
It is the policy of this list to drop any message
attachments that may be executable. See
http://www.ethereal.com/lists/#lists
for more details.
-------------------------------------------------------
This message has been 'sanitized'. This means that potentially
dangerous content has been rewritten or removed. The following
log describes which actions were taken.
Sanitizer (start="1010130348"):
Part (pos="1678"):
SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
Match (rule="2"):
Enforced policy: accept
Part (pos="4034"):
SanitizeFile (filename="winmail.dat", mimetype="application/ms-tnef"):
Match (rule="1"):
Enforced policy: drop
Replaced mime type with: text/plain
Replaced file name with: MANGLED_ON_PURPOSE-152393.txt
Total modifications so far: 1
Anomy 0.0.0 : Sanitizer.pm
$Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $