Subject: sys_socket.c:130: error: structure has no member named `snd'
To: None <current-users@netbsd.org>
From: Thomas T. Thai <tom@minnesota.com>
List: current-users
Date: 11/10/2004 19:51:03
Trying to compile -current kernel on i386. I have source of sys.tar.gz
and contrib.tar.gz.
# compile ICE.MP/sys_socket.o
cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I.
-I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -I../../../../dist/ipf -c ../../../../kern/sys_socket.c
../../../../kern/sys_socket.c: In function `soo_ioctl':
../../../../kern/sys_socket.c:130: error: structure has no member named
`snd'
../../../../kern/sys_socket.c:130: error: structure has no member named
`snd'
../../../../kern/sys_socket.c:131: error: structure has no member named
`snd'
../../../../kern/sys_socket.c:131: error: structure has no member named
`snd'
../../../../kern/sys_socket.c:134: error: invalid type argument of `->'
../../../../kern/sys_socket.c:134: error: invalid type argument of `->'
../../../../kern/sys_socket.c:134: error: invalid type argument of `->'
../../../../kern/sys_socket.c:134: error: invalid type argument of `->'
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/ICE.MP
---
Thomas