From owner-freebsd-questions Fri Mar 9 13:33:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id B34A237B719 for ; Fri, 9 Mar 2001 13:33:44 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f29LXVA74399; Fri, 9 Mar 2001 13:33:31 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010309220818.A7736@moscow.earth.intra> Date: Fri, 09 Mar 2001 13:33:21 -0800 (PST) From: John Baldwin To: Speedy Juggler Subject: RE: compiling my kernel Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-Mar-01 Speedy Juggler wrote: > Hello, > > I'm trying to compile my kernel of my FreeBSD 4.2 machine, but it failes. > In the attachment is my 'MYKERNEL' file and here's the error message: > > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include > -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 > ../../kern/kern_sig.c > ../../kern/kern_sig.c:359: warning: function declaration isn't a prototype > ../../kern/kern_sig.c: In function igaction': > ../../kern/kern_sig.c:367: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:367: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:369: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:370: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:372: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:379: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:384: dereferencing pointer to incomplete type > ../../kern/kern_sig.c: At top level: > ../../kern/kern_sig.c:532: warning: function declaration isn't a prototype > ../../kern/kern_sig.c: In function igprocmask': > ../../kern/kern_sig.c:538: dereferencing pointer to incomplete type > ../../kern/kern_sig.c:539: dereferencing pointer to incomplete type > ../../kern/kern_sig.c: At top level: > ../../kern/kern_sig.c:567: warning: function declaration isn't a prototype > ../../kern/kern_sig.c:721: warning: function declaration isn't a prototype > ../../kern/kern_sig.c: In function igsuspend': > ../../kern/kern_sig.c:729: dereferencing pointer to incomplete type > *** Error code 1 > > Stop in /usr/src/sys/compile/MYKERNEL. > > Bye, Juggler. Erm, your kern_sig.c file is corrupted. The functions should be 'sigaction', 'sigprocmask', 'sigsuspend', etc. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message