Subject: Re: Build failure (sparc64)
To: Martin S. Weber <Ephaeton@gmx.net>
From: Michael <macallan1888@gmail.com>
List: current-users
Date: 08/29/2006 13:07:36
-----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)

iQEVAwUBRPR0WMpnzkX8Yg2nAQL5gwf/VY8xnnuC/y9ucOaHRCt9CKWHN4ly3mVq
siBSL62fSTno9RZ3bmV585L3f0vMmll2nW65qburYUIJvLRBPDqS03qB2kaBGFIP
PLcHMgpQd8KdpY5X4fq8kXphdv2z6p6fK8+4wWqtInSBUTjd6/3Ghp696OlkqABx
2Q4WR5SJt4srlRv4y4urZ3IbP9w9YklR2koA7rmtSss+BLvYS5jId4XSSnBfmpKe
A7eLONy7Q2EmXV1F9yq5oVhgGghoRnvq3PL/DdVlthwpnT3JpEe33/oG9Z5CUsgf
KuYhzNq2Ih2+URJfXuBZTta/ByM5p+tqmZJoJlgPF5ScLi9eIT00yw==
=cQ3I
-----END PGP SIGNATURE-----