Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

error while compiling a current kernel on amd64



Hi all,

I just got an error while compiling a amd64 kernel:

making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.o' is up to date.
#   compile  WOPR/netbsd32_compat_43.o
cc -mcmodel=kernel -mno-red-zone -ffreestanding
-fno-zero-initialized-in-bss -O2 -fno-omit-frame-pointer -std=gnu99
-fstack-protector -Wstack-protector --param ssp-buffer-size=1
-fno-strict-aliasing -fstack-protector -Wstack-protector --param
ssp-buffer-size=1 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra
-Wno-unused-parameter -Werror -Damd64 -Dx86_64 -I.
-I../../../../../common/include -I../../../../arch -I../../../..
-nostdinc -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I../../../../dist/ipf -I../../../../external/isc/atheros_hal/dist
-I../../../../external/isc/atheros_hal/ic
-I../../../../external/bsd/drm/dist/bsd-core
-I../../../../external/bsd/drm/dist/shared-core
-I../../../../../common/include
-I../../../../external/intel-public/acpica/dist/include -c
../../../../compat/netbsd32/netbsd32_compat_43.c
../../../../compat/netbsd32/netbsd32_compat_43.c: In function
'compat_43_netbsd32_orecvmsg':
../../../../compat/netbsd32/netbsd32_compat_43.c:497: error: invalid
application of 'sizeof' to incomplete type 'struct iov' 
../../../../compat/netbsd32/netbsd32_compat_43.c: In function
'compat_43_netbsd32_osendmsg':
../../../../compat/netbsd32/netbsd32_compat_43.c:554: error: invalid
application of 'sizeof' to incomplete type 'struct iov' 
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/amd64/compile/WOPR


Any idea how to fix this or can somebody commit a fix?

Greetings,
Helge

-- 
Helge Mühlmeier <H_Muehlmeier%gmx.de@localhost>

Am Löbner 21
38165 Lehre

Fon:    ++49 5308 961947
Mobil:  ++49 177 2175812

##########################

"Of course it runs NetBSD"
<http://www.netbsd.org/>
<http://pkgsrc.se/>
<http://www.netbsd.org/docs/software/packages.html>


Home | Main Index | Thread Index | Old Index