From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 08:33:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67A00106566B for ; Thu, 22 Jan 2009 08:33:55 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2128FC1A for ; Thu, 22 Jan 2009 08:33:54 +0000 (UTC) (envelope-from web@3dresearch.com) Received: by smtp.3dresearch.com (Postfix, from userid 33) id 34E387E38F; Thu, 22 Jan 2009 02:48:45 -0500 (EST) To: freebsd-questions@freebsd.org Received: from 96.236.181.152 (auth. user janos@imap.3dresearch.com) by vmail.3dresearch.com with HTTP; Thu, 22 Jan 2009 02:48:45 -0500 X-IlohaMail-Blah: janos@imap.3dresearch.com X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.14 (On: vmail.3dresearch.com) Message-ID: From: "Janos Dohanics" Bounce-To: "Janos Dohanics" Errors-To: "Janos Dohanics" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Jan 2009 02:48:45 -0500 (EST) Subject: error: field 'aio_sigevent' has incomplete type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 08:33:55 -0000 I am trying to build a new kernel for an amd64 machine but the build fails: objcopy --only-keep-debug ahd.ko.debug ahd.ko.symbols objcopy --strip-debug --add-gnu-debuglink=3Dahd.ko.symbols ahd.ko.debug ahd.ko =3D=3D=3D> aio (all) cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/scanc.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/skpc.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/strcasecmp.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/strcat.c cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=3Dc99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/FRACASSO2009012201/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/FRACASSO2009012201 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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 /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2564: error: field 'aio_sigevent' has incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function 'convert_old_sigevent32': /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2575: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2580: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2584: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2585: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function 'convert_sigevent32': /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2621: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2626: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2629: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2632: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2633: error: dereferencing pointer to incomplete type /usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function 'freebsd32_olio_listio': /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2859: error: storage size of 'osig' isn't known /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2859: warning: unused variable 'osig' /usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function 'freebsd32_lio_listio': /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2904: error: storage size of 'sig32' isn't known /usr/src/sys/modules/aio/../../kern/vfs_aio.c:2904: warning: unused variable 'sig32' *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/strcmp.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000=20 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/libkern/strcpy.c 1 error *** Error code 2 1 error *** Error code 2 1 error # uname -prsv FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008=20 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I Googled and found a page which seems to show a similar error: http://www.mavetju.org/mail/view_message.php?list=3Dfreebsd-tinderbox&id=3D28= 55870&raw=3Dyes Would you please advise...