ldattach fails to build on Hurd because of undefined N_TTY, N_SLIP, etc. These constants are defined on a Linux system, but are not on at least Hurd, FreeBSD and OpenBSD. I guess this command is specific to Linux. This patch disables the building of ldattach on non-Linux systems. Signed-off-by: Stephane Glondu <steph@xxxxxxxxxx> --- sys-utils/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am index 4129c20..cf6e6ac 100644 --- a/sys-utils/Makefile.am +++ b/sys-utils/Makefile.am @@ -16,9 +16,9 @@ if LINUX sbin_PROGRAMS = ctrlaltdel endif -usrsbinexec_PROGRAMS = ldattach readprofile +usrsbinexec_PROGRAMS = readprofile if LINUX -usrsbinexec_PROGRAMS += tunelp rtcwake +usrsbinexec_PROGRAMS += ldattach tunelp rtcwake endif tunelp_SOURCES = tunelp.c lp.h -- 1.5.6 -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html