Subject: kern/30579: ns_cksum.c is missing in sys/netns/{Makefile,files.netns}.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Tomofumi Hayashi <s1061123@cronos.ocn.ne.jp>
List: netbsd-bugs
Date: 06/23/2005 08:08:00
>Number:         30579
>Category:       kern
>Synopsis:       ns_cksum.c is missing in sys/netns/{Makefile,files.netns}.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 23 08:08:00 +0000 2005
>Originator:     Tomofumi Hayashi
>Release:        NetBSD-current (3.99.6)
>Organization:
>Environment:
NetBSD kagaribi 3.99.6 NetBSD 3.99.6 (KGKERNEL) #9: Tue Jun 21 00:49:09 JST 2005  tom@kagaribi:/usr/src/sys/arch/i386/compile/KGKERNEL i386
>Description:
In file lists of sys/netns/{Makefile,files.netns}, ns_cksum.c is missing.

I try to comile a kernel with NS, it failed because of the compile errors below.
--
ns_error.o(.text+0x238): In function `ns_error':
../../../../netns/ns_error.c:172: undefined reference to `ns_cksum'
ns_error.o(.text+0x580): In function `ns_echo':
../../../../netns/ns_error.c:340: undefined reference to `ns_cksum'
ns_input.o(.text+0x2b4): In function `nsintr':
../../../../netns/ns_input.c:172: undefined reference to `ns_cksum'
idp_usrreq.o(.text+0x3ac): In function `idp_output':
../../../../netns/idp_usrreq.c:227: undefined reference to `ns_cksum'
spp_usrreq.o(.text+0x1994): In function `spp_output':
../../../../netns/spp_usrreq.c:1148: undefined reference to `ns_cksum'
--

This problem is the missing "ns_cksum.c" in the list, Makefile and files.netns.
>How-To-Repeat:
Compile a kernel with NS (and NSIP maybe).
>Fix:
This problem is the missing "ns_cksum.c" in the list, Makefile and files.netns. Please add "ns_cksum.c" into these lists.