Subject: kern/19088: Kernel from 1.5 release branch does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 11/17/2002 14:07:38
>Number:         19088
>Category:       kern
>Synopsis:       Kernel from 1.5 release branch does not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 17 05:12:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 1.5.3
>Organization:
Einzeln auftretender Radfahrer
>Environment:
System: NetBSD espresso.causeuse.org 1.5.3 NetBSD 1.5.3 (GENERICSBC) #3: Tue Jul 2 07:49:25 CST 2002 oster@piggy.oster.net:/u3/mac68k/src/sys/arch/mac68k/compile/GENERICSBC mac68k
Architecture: m68k
Machine: mac68k

>Description:
	An attempt to build a 1.5/mac68k release kernel from anoncvs
sources fails with

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DM68030 -DM68020 -DFPU_EMULATE -DLKM -DDIAGNOSTIC -DGRF_COMPAT -DMAXUSERS=16 -D_KERNEL -Dmac68k  -c ../../../../netinet/ip_proxy.c
In file included from ../../../../netinet/ip_proxy.c:107:
../../../../netinet/ip_netbios_pxy.c:37: redefinition of `rcsid1'
../../../../netinet/ip_ftp_pxy.c:4: `rcsid1' previously defined here
cc1: warnings being treated as errors
../../../../netinet/ip_netbios_pxy.c:37: warning: initializer-string for array of chars is too long
In file included from ../../../../netinet/ip_proxy.c:108:
../../../../netinet/ip_h323_pxy.c:31: redefinition of `rcsid1'
../../../../netinet/ip_netbios_pxy.c:37: `rcsid1' previously defined here
In file included from ../../../../netinet/ip_proxy.c:110:
../../../../netinet/ip_ipsec_pxy.c:11: redefinition of `rcsid1'
../../../../netinet/ip_h323_pxy.c:31: `rcsid1' previously defined here
*** Error code 1

Stop.

>How-To-Repeat:
	Get syssrc tree from 1.5 release branch, build kernel.

>Fix:
	cpp macro voodoo (I have  none).

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