Subject: kern/12854: kernel build fails when compiling ../../../../kern/sys_socket.c
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/07/2001 13:54:50
>Number:         12854
>Category:       kern
>Synopsis:       kernel build fails when compiling ../../../../kern/sys_socket.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 06 21:57:00 PDT 2001
>Originator:     KAWAMOTO Yosihisa
>Release:        NetBSD-current by anoncvs at Mon May 7
	NetBSD/i386 (Sony PCG-C1XF)
System: NetBSD 1.5U NetBSD 1.5U (RERUN) #347: Wed Apr 11 16:02:13 JST 2001 i386
Architecture: i386
Machine: i386
	My kernel build fails with a following error when ../../../../kern/sys_socket.c is compiling:

cc -Os -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMSGBUFSIZE="0x8000" -DEXT2FS_SYSTEM_FLAGS -DMAXUSERS=64 -D_KERNEL -Di386  -c ../../../../kern/sys_socket.c
../../../../kern/sys_socket.c: In function `soo_ioctl':
../../../../kern/sys_socket.c:104: structure has no member named `e_flags'
*** Error code 1


	Build kernel on i386 port with following files:
		syssrc/sys/kern/sys_socket.c: 1.25
		syssrc/sys/sys/proc.h: 1.127
		syssrc/sys/arch/i386/include/types.h: 1.29
	I don'w know.