Subject: Re: Build failure in udp_usrreq.c
To: None <>
From: Matthias Scheler <>
List: current-users
Date: 07/17/2003 05:34:46
In article <>,
	Dublet <> writes:
> This is with most current sources, cvs status tells me the file is up to
> date (1.103).
> /files/mirror/NetBSD-CVS/src/tools/tools.NetBSD-1.6U-i386/bin/i386--netbsdelf-gcc   -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DUCONSOLE -DLKM -DNMBCLUSTERS="0x2000" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/netinet/udp_usrreq.c
> /usr/src/sys/netinet/udp_usrreq.c: In function `udp_init':
> /usr/src/sys/netinet/udp_usrreq.c:206: `MOWNER' undeclared (first use in this function)
> /usr/src/sys/netinet/udp_usrreq.c:206: (Each undeclared identifier is reported only once
> /usr/src/sys/netinet/udp_usrreq.c:206: for each function it appears in.)
> cc1: warnings being treated as errors
> /usr/src/sys/netinet/udp_usrreq.c:206: warning: implicit declaration of function `ATTACH'
> /usr/src/sys/netinet/udp_usrreq.c:206: `udp_tx_mowner' undeclared (first use in this function)
> /usr/src/sys/netinet/udp_usrreq.c:206: parse error before `;'
> *** Error code 1

It looks like your sources are corrupt. This file uses neither "MOWNER" nor
"ATTACH", only "MOWNER_ATTACH". Line 206 looks like this for me:


	Kind regards

Matthias Scheler