From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 18:32:47 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 0390A1065672 for ; Thu, 22 Jan 2009 18:32:47 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from n67.bullet.mail.sp1.yahoo.com (n67.bullet.mail.sp1.yahoo.com [98.136.44.47]) by mx1.freebsd.org (Postfix) with SMTP id D54498FC1C for ; Thu, 22 Jan 2009 18:32:46 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from [216.252.122.217] by n67.bullet.mail.sp1.yahoo.com with NNFMP; 22 Jan 2009 18:32:46 -0000 Received: from [67.195.9.83] by t2.bullet.sp1.yahoo.com with NNFMP; 22 Jan 2009 18:32:46 -0000 Received: from [67.195.9.105] by t3.bullet.mail.gq1.yahoo.com with NNFMP; 22 Jan 2009 18:32:46 -0000 Received: from [127.0.0.1] by omp109.mail.gq1.yahoo.com with NNFMP; 22 Jan 2009 18:32:46 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 406800.16600.bm@omp109.mail.gq1.yahoo.com Received: (qmail 27816 invoked by uid 60001); 22 Jan 2009 18:32:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=LTKFdDBVhVzGj5JQ9MxEdmUqwhHNUS5QAZtDs14zRjpZRGshpDnRPxIHREz8/psHq+FvY9+Ts4G2iQGOBUz5pfgWZcKooGo4dVV4i/SQ6UyGcWs2/8T38aicYmwuAaCMg6Bq2VBzyDpZL+zREQ1ewC/XQebUnRFwUV//n/Mu6C0=; X-YMail-OSG: LgtHsHcVM1mJuNaGMWL5Abl9g75rqqlQwrpqv2oxQ5yVarxUKGlZ6nKEoaPPx7agEu4UdGWb3IerChis7x9ocmeSZxrFlvbNnehqJMkcVmCjcSRmKUxAfeDwXB.WYXFnG2OvEgE7d3BqjDngqiDDIMbeWwq3eoW.UBG05hchURtHUpXnXUaC9X_4.AEdN6SiFnkJ1YFsEEXBJeOiOIUEWg-- Received: from [78.101.71.254] by web111307.mail.gq1.yahoo.com via HTTP; Thu, 22 Jan 2009 10:32:45 PST X-Mailer: YahooMailRC/1156.82 YahooMailWebService/0.7.260.1 References: <200901220924.14957.fbsd.questions@rachie.is-a-geek.net> Date: Thu, 22 Jan 2009 10:32:45 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Mel , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <37861.8202.qm@web111307.mail.gq1.yahoo.com> Cc: Janos Dohanics Subject: Re: 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 18:32:47 -0000 ----- Original Message ---- > From: Mel > To: freebsd-questions@freebsd.org > Cc: Janos Dohanics > Sent: Thursday, January 22, 2009 9:24:14 PM > Subject: Re: error: field 'aio_sigevent' has incomplete type > > 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 > > > > > *** 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. Here we go without -j flag for the kernel. ===> aio (all) cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/VB/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/VB -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 /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 Stop in /usr/src/sys/modules/aio. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/VB. *** Error code 1 Stop in /usr/src. *** Error code 1 Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/