Subject: Build failure of rescue/gzip in (nearly)-current
To: None <current-users@netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: current-users
Date: 02/24/2004 00:43:05
This is the problem that I am seeing:
depend ===> rescue/examples
...
create gzip/gzip.d
create gzip/.depend
compile gzip/gzip.o
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c: In function `treat_stdin':
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c:611: warning: implicit declaration of function `isatty'
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c: In function `treat_file':
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c:778: warning: implicit declaration of function `close'
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c:831: warning: implicit declaration of function `unlink'
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c: In function `do_list':
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c:1389: warning: implicit declaration of function `read'
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c: In function `copy_stat':
/mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c:1647: warning: implicit declaration of function `chown'
*** Failed target: gzip.o
*** Failed command: /home/rhialto/tools.i386/bin/i386--netbsdelf-gcc -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -nostdinc -isystem /home/rhialto/destdir.i386/usr/include -c /mnt/vol1/rhialto/cvs/src/gnu/usr.bin/gzip/gzip.c
*** Error code 1
Stop.
nbmake: stopped in /home/rhialto/obj.i386/rescue/gzip
A normal build of gzip seems to include -DHAVE_UNISTD_H=1 (and a bunch
of other defines and flags) which avoids this problem.
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.