Subject: bin/14675: kdump and ktruss don't build on mac68k
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wormey@eskimo.com>
List: netbsd-bugs
Date: 11/21/2001 18:10:09
>Number:         14675
>Category:       bin
>Synopsis:       Attempt to build kdump and ktruss on mac68k (at least) fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 18:11:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Admin
>Release:        NetBSD 1.5Y
>Organization:
I speak only for myself.
>Environment:
	
	
System: NetBSD c610 1.5Y NetBSD 1.5Y (GENERIC) #76: Fri Oct 12 15:51:58 PDT 2001 root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC mac68k
Architecture: m68k
Machine: mac68k
>Description:

<253 c610 /usr.bin/kdump># make
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -I/usr/cvs/src/usr.bin/kdump/../ktrace -I/usr/cvs/src/usr.bin/kdump/../../sys   -c /usr/cvs/src/usr.bin/kdump/setemul.c
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:109:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/kern/syscalls.c:11: `rcsid0' previously defined here
cc1: warnings being treated as errors
/usr/cvs/src/usr.bin/kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:110:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:111:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/hpux/hpux_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/hpux/hpux_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:112:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/hpux/hpux_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/../../sys/compat/linux/linux_syscalls.c:47,
                 from /usr/cvs/src/usr.bin/kdump/setemul.c:113:
/usr/cvs/src/usr.bin/kdump/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:114:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/osf1/osf1_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/osf1/osf1_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:115:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos/sunos_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/osf1/osf1_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos/sunos_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:116:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos/sunos_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:117:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4/svr4_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4/svr4_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:118:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4/svr4_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:119:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:121:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/hpux/hpux_errno.c:46: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:122:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4/svr4_errno.c:44: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/hpux/hpux_errno.c:46: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:123:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ibcs2/ibcs2_errno.c:35: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/svr4/svr4_errno.c:44: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/kdump/setemul.c:124:
/usr/cvs/src/usr.bin/kdump/../../sys/compat/linux/common/linux_errno.c:40: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/kdump/../../sys/compat/ibcs2/ibcs2_errno.c:35: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/kdump/../../sys/compat/linux/common/linux_errno.c:40: warning: initializer-string for array of chars is too long
*** Error code 1

Stop.
make: stopped in /usr/cvs/src/usr.bin/kdump


<255 c610 /usr.bin/ktruss># make
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -I. -I/usr/cvs/src/usr.bin/ktruss/../ktrace -I/usr/cvs/src/usr.bin/ktruss/../../sys  -I/usr/cvs/src/usr.bin/ktruss/../kdump -DKTRUSS   -c /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:109:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/kern/syscalls.c:11: `rcsid0' previously defined here
cc1: warnings being treated as errors
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:110:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/netbsd32/netbsd32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:111:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/hpux/hpux_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/freebsd/freebsd_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/hpux/hpux_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:112:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/hpux/hpux_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/linux/linux_syscalls.c:47,
                 from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:113:
/usr/cvs/src/usr.bin/ktruss/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ibcs2/ibcs2_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:114:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/osf1/osf1_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../ktrace/../../sys/compat/linux/arch/m68k/linux_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/osf1/osf1_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:115:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos/sunos_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/osf1/osf1_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos/sunos_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:116:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos/sunos_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:117:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4/svr4_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/sunos32/sunos32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4/svr4_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:118:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4/svr4_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:119:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4_32/svr4_32_syscalls.c:11: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: warning: initializer-string for array of chars is too long
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:121:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/hpux/hpux_errno.c:46: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ultrix/ultrix_syscalls.c:11: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:122:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4/svr4_errno.c:44: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/hpux/hpux_errno.c:46: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:123:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ibcs2/ibcs2_errno.c:35: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/svr4/svr4_errno.c:44: `rcsid0' previously defined here
In file included from /usr/cvs/src/usr.bin/ktruss/../kdump/setemul.c:124:
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/linux/common/linux_errno.c:40: redefinition of `rcsid0'
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/ibcs2/ibcs2_errno.c:35: `rcsid0' previously defined here
/usr/cvs/src/usr.bin/ktruss/../kdump/../../sys/compat/linux/common/linux_errno.c:40: warning: initializer-string for array of chars is too long
*** Error code 1

Stop.
make: stopped in /usr/cvs/src/usr.bin/ktruss


>How-To-Repeat:

Do a `make` in either the kdump or ktruss directories.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: