bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] rmt fails to build on non-GNU


From: Ludovic Courtès
Subject: [Bug-cpio] rmt fails to build on non-GNU
Date: Thu, 01 Apr 2010 17:04:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hello,

Currently ‘rmt’ fails to build on non-GNU platforms:

--8<---------------cut here---------------start------------->8---
  CC     rmt.o
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../gnu -I../ -I../gnu -I../lib    -g 
-O2 -c rmt.c
In file included from /usr/include/sys/ioctl.h:81,
                 from /usr/include/sgtty.h:39,
                 from ../lib/system-ioctl.h:47,
                 from rmt.c:18:
/usr/include/sys/ioctl_compat.h:45:2: warning: #warning "Old BSD tty API used 
and depends on COMPAT_43TTY. Use termios.h instead"
rmt.c: In function 'rmt_read':
rmt.c:86: warning: implicit declaration of function 'getline'
  CCLD   rmt
rmt.o(.text+0x800): In function `rmt_read':
/tmp/nix-build-igfk3pgr14lliifvyffhf2lpqvhxiflg-cpio-2.11.drv-0/cpio-2.11/rmt/rmt.c:86:
 undefined reference to `getline'
gmake[2]: *** [rmt] Error 1
--8<---------------cut here---------------end--------------->8---

(On FreeBSD 7.2 <http://hydra.nixos.org/build/337673> and Darwin
<http://hydra.nixos.org/build/337674>.)

Presumably Gnulib’s ‘getline’ module should fix it.

Thanks,
Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]