Date: Fri, 09 Mar 2001 13:33:21 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Speedy Juggler <Juggler@CyberFlat.nl> Cc: freebsd-questions@FreeBSD.org Subject: RE: compiling my kernel Message-ID: <XFMail.010309133321.jhb@FreeBSD.org> In-Reply-To: <20010309220818.A7736@moscow.earth.intra>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010309133321.jhb>