[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] cpio-2.10 -- building mt fails badly
From: |
Peter Breitenlohner |
Subject: |
[Bug-cpio] cpio-2.10 -- building mt fails badly |
Date: |
Thu, 30 Jul 2009 14:34:41 +0200 (CEST) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
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 <address@hidden>
- [Bug-cpio] cpio-2.10 -- building mt fails badly,
Peter Breitenlohner <=