Subject: NetBSD/i386 1.5.4_ALPHA build failure
To: None <netbsd-help@netbsd.org, port-i386@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 08/07/2002 14:05:27
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
sources are from yesterday, machine is 1.5.3 release with custom kernel,
upgraded to 1.5.4_ALPHA. by running:
make DESTDIR=3D/altroot RELEASEDIR=3D/altroot/release release
i get these warnings treated as errors:
dependall =3D=3D=3D> usr.bin/talk
mkdep -a -nostdinc -idirafter /altroot/usr/include ctl.c ctl_transact.c =
display.c get_addrs.c get_names.c init_disp.c invite.c io.c look_up.c msgs.=
c talk.c
In file included from init_disp.c:51:
/altroot/usr/include/sys/ioctl_compat.h:20: warning: `__GNUC_PREREQ__' re=
defined
/altroot/usr/include/sys/cdefs.h:58: warning: this is the location of the=
previous definition
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c ctl.c
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c ctl_transact.c
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c display.c
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c get_addrs.c
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c get_names.c
cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wno-uninitialized -Werror -nostdinc -idirafter /altroot/usr/include =
-c init_disp.c
In file included from init_disp.c:51:
/altroot/usr/include/sys/ioctl_compat.h:20: warning: `__GNUC_PREREQ__' re=
defined
/altroot/usr/include/sys/cdefs.h:58: warning: this is the location of the=
previous definition
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
=20
after compiling this particular file without -Werror, i can get little bit =
further:
dependall =3D=3D=3D> libcompat
lint -chapbxzF -d /altroot/usr/include -DLIBC_SCCS -DSYSLIBC_SCCS -D__LIB=
COMPAT_SOURCE__ -i /usr/src/lib/libcompat/4.1/gtty.c
In file included from /altroot/usr/include/sys/ioctl.h:118,
from /altroot/usr/include/sgtty.h:44,
from /usr/src/lib/libcompat/4.1/gtty.c:44:
/altroot/usr/include/sys/ioctl_compat.h:1: warning: `TTYDISC' redefined
/altroot/usr/include/sys/ttycom.h:139: warning: this is the location of t=
he previous definition
/altroot/usr/include/sys/ioctl_compat.h:2: warning: `SIOCGDRVSPEC' redefi=
ned
/altroot/usr/include/sys/sockio.h:104: warning: this is the location of t=
he previous definition
/altroot/usr/include/sys/ioctl_compat.h:4: warning: `DIOCSDINFO' redefined
/altroot/usr/include/sys/dkio.h:46: warning: this is the location of the =
previous definition
/altroot/usr/include/sys/ioctl_compat.h:6: warning: `DIOCGPART' redefined
/altroot/usr/include/sys/dkio.h:48: warning: this is the location of the =
previous definition
/altroot/usr/include/sys/ioctl_compat.h:7: warning: `OSIOCGIFCONF' redefi=
ned
/altroot/usr/include/sys/sockio.h:66: warning: this is the location of th=
e previous definition
/altroot/usr/include/sys/ioctl_compat.h:8: warning: `TIOCCBRK' redefined
/altroot/usr/include/sys/ttycom.h:89: warning: this is the location of th=
e previous definition
/altroot/usr/include/sys/ioctl_compat.h:9: warning: `SIOCSIFPHYADDR' rede=
fined
/altroot/usr/include/sys/sockio.h:92: warning: this is the location of th=
e previous definition
[...]
/altroot/usr/include/sys/sockio.h:77: warning: this is the location of th=
e previous definition
/altroot/usr/include/sys/ioctl_compat.h:182: warning: `TIOCNOTTY' redefin=
ed
/altroot/usr/include/sys/ioctl_compat.h:218: warning: `TIOCSTOP' redefined
/altroot/usr/include/sys/ttycom.h:107: warning: this is the location of t=
he previous definition
/altroot/usr/include/sys/ioctl_compat.h:222: warning: `SIOCGIFDSTADDR' re=
defined
/altroot/usr/include/sys/sockio.h:60: warning: this is the location of th=
e previous definition
/altroot/usr/include/sgtty.h(48): warning: dubious tag declaration: struc=
t sgttyb
/altroot/usr/include/sgtty.h(49): warning: dubious tag declaration: struc=
t sgttyb
/usr/src/lib/libcompat/4.1/gtty.c(54): warning: struct declared in argume=
nt declaration list
/usr/src/lib/libcompat/4.1/gtty.c(55): type does not match prototype: tty
/usr/src/lib/libcompat/4.1/gtty.c(60): TIOCGETP undefined
/usr/src/lib/libcompat/4.1/gtty.c(60): warning: conversion to 'unsigned l=
ong' due to prototype, arg #2
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
*** Error code 1
=20
Stop.
i built && install gcc, make, lex, config, libc, share/mk from the new sour=
ces
already but i don't think that's the problem (it's even recommended). it's=
not
a problem of wrong headers since only the new ones from /altroot are used.
any hints?
thanks,
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> ASCII Ribbon campaign against /"\=
--
-- <salo@silcnet.org> e-mail in gratuitous HTML and \ /=
--
-- Microsoft proprietary formats X =
--
-- PGPkey: http://Xtrmntr.org/salo.pgp / \=
--
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49 39B8 8B08 C30E 54BC 7263 =
--
--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
iD8DBQE9UQ0HiwjDDlS8cmMRAuh8AJ989U/0F1uL6xmRg2fB+5yWFCkwUgCeND9A
h70ToiNS9u8oSx2BCs1gPHM=
=2o/y
-----END PGP SIGNATURE-----
--17pEHd4RhPHOinZp--