Subject: kern/19150: kernel with ipf support does not compile on NetBSD/m68k 1.5.4_ALPHA
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@netbsd.org>
List: netbsd-bugs
Date: 11/23/2002 19:57:00
>Number: 19150
>Category: kern
>Synopsis: kernel with ipf support does not compile on NetBSD/m68k 1.5.4_ALPHA
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 23 10:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Thorsten Frueauf
>Release: NetBSD 1.5.4_ALPHA checked out as of 23.11.2002
>Organization:
private
>Environment:
System: NetBSD cyberdyne 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (amiga) #0: Sun Sep 22 18:45:17 MEST 2002 frueauf@cyberdyne:/home/frueauf/amiga amiga
Architecture: m68k
Machine: amiga
my guess is that every aout m68k port has this problem.
>Description:
If I try to compile a kernel with ipf support with NetBSD 1.5.4_ALPHA
src checked out 23.11.2002, I get the following error:
cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-main -O2 -m68060 -Wa,-m68030 -Wa,-m68851 -msoft-float -I. -I/src/sys/arch -I/src/sys -nostdinc -DM68060 -DM060SP -DM68030 -DLKM -DNMBCLUSTERS="0x400" -DMAXUSERS=32 -D_KERNEL -Damiga -DFPCOPROC -c /src/sys/netinet/ip_proxy.c
In file included from /src/sys/netinet/ip_proxy.c:107:
/src/sys/netinet/ip_netbios_pxy.c:37: redefinition of `rcsid1'
/src/sys/netinet/ip_ftp_pxy.c:4: `rcsid1' previously defined here
cc1: warnings being treated as errors
/src/sys/netinet/ip_netbios_pxy.c:37: warning: initializer-string for array of chars is too long
In file included from /src/sys/netinet/ip_proxy.c:108:
/src/sys/netinet/ip_h323_pxy.c:31: redefinition of `rcsid1'
/src/sys/netinet/ip_netbios_pxy.c:37: `rcsid1' previously defined here
In file included from /src/sys/netinet/ip_proxy.c:110:
/src/sys/netinet/ip_ipsec_pxy.c:11: redefinition of `rcsid1'
/src/sys/netinet/ip_h323_pxy.c:31: `rcsid1' previously defined here
*** Error code 1
>How-To-Repeat:
Try to build a NetBSD/m68k kernel (I verified amiga) with ipf support
with 1.5.4_ALPHA src checked out from 23.11.2002.
>Fix:
There was some issue with the last ipf import that showed exaclty the same
problem, but I forgot how to proper fix it. I guess as workarround its
enough to remove the offending rcsid1 declaration.
A proper fix needs a pullup for 1.5.4_ALPHA (netbsd-1-5).
>Release-Note:
>Audit-Trail:
>Unformatted:
kernel with ipf support does not compile on NetBSD/m68k 1.5.4_ALPHA