Subject: Re: build fails at usr.bin/gencat
To: None <current-users@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: current-users
Date: 04/26/2002 15:19:03
--UFHRwCdBEJvubb2X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 26, 2002 at 08:55:08AM +0000, mel kravitz wrote:
> Latest changes in gencat.c causes sh build.sh to fail, backing
> out usr.bin/gencat/gencat.c to v1.14 allows full build.
> -Mel

I've also found the problem. The log:

dependall =3D=3D=3D> usr.bin/gencat
CC=3D/usr/toolchain/bin/i386--netbsdelf-gcc /usr/toolchain/bin/nbmkdep -a  =
-nostdinc -isystem /usr/include  /home/pub/NetBSD/src/usr.bin/gencat/gencat=
.c
/usr/toolchain/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmis=
sing-prototypes -Wpointer-arith -Wno-uninitialized  -Werror  -nostdinc -isy=
stem /usr/include  -c /home/pub/NetBSD/src/usr.bin/gencat/gencat.c
cc1: warnings being treated as errors
In file included from /home/pub/NetBSD/src/usr.bin/gencat/gencat.c:84:
/usr/include/arpa/inet.h:76: warning: `struct in_addr' declared inside para=
meter list
/usr/include/arpa/inet.h:76: warning: its scope is only this definition or =
declaration, which is probably not what you want.
/usr/include/arpa/inet.h:76: warning: parameter has incomplete type
/usr/include/arpa/inet.h:78: warning: parameter has incomplete type
/usr/include/arpa/inet.h:80: warning: parameter has incomplete type
*** Error code 1

Stop.
nbmake: stopped in /home/pub/NetBSD/src/usr.bin/gencat
*** Error code 1

--=20
Of course it runs NetBSD - http://www.netbsd.org
HispaBSD member - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>

--UFHRwCdBEJvubb2X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8yVPHzz00ZOPKycwRAmdkAJ4yKwR3dL57O8wh2tY9KPZgG35FQQCdG0Jt
rL5NWO0rCcOGjDGm2j/zjAk=
=DU7h
-----END PGP SIGNATURE-----

--UFHRwCdBEJvubb2X--