Subject: Re: Build failure (sparc64)
To: NBSD Current <current-users@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: current-users
Date: 08/29/2006 14:34:59
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 29, 2006, at 07:04, Martin S. Weber wrote:
> Anybody seeing something like this:
>
> dependall ===> usr.bin/kdump
> create kdump/kdump-ioctl.c
> create kdump/kdump-ioctl.d
> create kdump/kdump.d
> create kdump/setemul.d
> create kdump/siginfo.c
> create kdump/siginfo.d
> create kdump/subr.d
> create kdump/.depend
> compile kdump/kdump.o
> compile kdump/subr.o
> compile kdump/setemul.o
> compile kdump/siginfo.o
> compile kdump/kdump-ioctl.o
> kdump-ioctl.c: In function 'ioctlname':
> kdump-ioctl.c:3829: error: duplicate case value
> kdump-ioctl.c:1119: error: previously used here
> kdump-ioctl.c:3832: error: duplicate case value
> kdump-ioctl.c:1125: error: previously used here
> kdump-ioctl.c:3835: error: duplicate case value
> kdump-ioctl.c:1134: error: previously used here
> kdump-ioctl.c:3838: error: duplicate case value
> kdump-ioctl.c:1131: error: previously used here
> kdump-ioctl.c:3841: error: duplicate case value
> kdump-ioctl.c:1122: error: previously used here
> kdump-ioctl.c:3844: error: duplicate case value
> kdump-ioctl.c:1116: error: previously used here
> kdump-ioctl.c:3847: error: duplicate case value
> kdump-ioctl.c:1128: error: previously used here
>
> *** Failed target: kdump-ioctl.o
> *** Failed command: /usr/tools/bin/sparc64--netbsd-gcc -O2 -pipe
> -mcpu=v9 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type
> -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Werror
> -I/usr/src/usr.bin/ktrace -I/usr/src/sys -nostdinc -isystem
> /usr/dest/usr/include -c kdump-ioctl.c
> *** Error code 1
Happens on sparc as well, additionally NBPG is undefined.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRPSI08pnzkX8Yg2nAQKsCQf/SBhK0d71JKtdohg3XYtHwD1sTMIZES3d
9SzeoX2JJNwZk8v6vsq0KjQvN432bwJ+ImNQx8J/5rxdUh5q8+3Q6zwuJNe+Vmcd
w8M23H3qa9hfy6QTA7zpi/AWMaIdC+IzDIgFWdKhE3xsixyAkcX0UcABp1G4beOb
5XPvi5XFB/d0mQPmbvz7bsU6r5TN4vRlJabAFjFFQ+ouOE+3y46ac6Ytx1qezsJU
Qji00T0f7LmqdU8NgEyhO7qU6p8sGGqG/4F2CSHS5+VZlgRRkxztLL2yXBQrW99p
2z46uKUQ8Df43xAa6eicg/FxZdDC9apX6p4N42PLcecM5KCh847eUQ==
=fzMe
-----END PGP SIGNATURE-----