Hi,

my attempt to build mt as part of cpio-2.10 failed badly:

(1) src/mt.c must include "configmake.h" in order to define LOCALEDIR
and "paxlib.h" in order to define xxx (don't remember).

(2) mt_SOURCES should be declared to include mt.c and fatal.c

according to the ChangeLog fatal.c used to be in lib/ and thus be part of
libcpio.a, why has this been changed.

(3) when compiling mt.c, there are implicit declarations of `argmatch' and
`argmatch_invalid'.  I do, however, get an `mt' executable, but...

Including argmatch.h makes thing only worse because the use of argmatch in
mt.c(main) is incompatible with the definition in gnu/argmatch.[ch].

Thus the `mt' execuatble almost certainly is bad, will segfault or...

(4) a minor final item: the explicit dependency in src/Makefile.am should
use '.$(OBJEXT)' instead of '.o' (for cygwin).

==================

attached is a small patch addressing the points 1, 2, and 4.

Regards
Peter Breitenlohner <[email protected]>


Reply via email to