error: field 'aio_sigevent' has incomplete type
Mel
fbsd.questions at rachie.is-a-geek.net
Thu Jan 22 10:24:16 PST 2009
On Wednesday 21 January 2009 22:48:45 Janos Dohanics wrote:
> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99
> -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/FRACASSO2009012201/opt_global.h -I. -I@
> -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
> --param large-function-growth=1000 -fno-common -g
> -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/FRACASSO2009012201
> -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
> -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
> -Wno-pointer-sign -fformat-extensions -c
> /usr/src/sys/modules/aio/../../kern/vfs_aio.c
> /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2548: error: field
> 'aio_sigevent' has incomplete type
<snip more errors>
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
build continues:
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
> -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> -include opt_global.h -fno-common -finline-limit=8000 --param
> inline-unit-growth=100 --param large-function-growth=1000
> -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
> -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -Werror /usr/src/sys/libkern/strcmp.c
Build kernel without -j2, then report if error persists.
--
Mel
Problem with today's modular software: they start with the modules
and never get to the software part.
More information about the freebsd-questions
mailing list