From owner-freebsd-questions Mon Feb 11 5:58:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.pandora.be (hercules.telenet-ops.be [195.130.132.33]) by hub.freebsd.org (Postfix) with SMTP id 2205937B400 for ; Mon, 11 Feb 2002 05:58:24 -0800 (PST) Received: (qmail 19163 invoked from network); 11 Feb 2002 13:58:23 -0000 Received: from unknown (HELO localhost) ([195.130.132.82]) (envelope-sender ) by hercules.telenet-ops.be (qmail-ldap-1.03) with SMTP for ; 11 Feb 2002 13:58:23 -0000 From: "Roeland Moors" To: freebsd-questions@freebsd.org Subject: freebsd 4.5 kernel compile error Date: Mon 11 Feb 2002 14:58:06 MET X-GENERATED-BY: Telenet WebMail for user a088854 X-COMPLAINTS-TO: abuse@pandora.be Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20020211135824.2205937B400@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When trying to compile the kernel with the GENERIC config file, I get the follow compilation error: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../kern/kern_intr.c ../../kern/kern_intr.c: In function `register_swi': ../../kern/kern_intr.c:58: `n' undeclared (first use in this function) ../../kern/kern_intr.c:58: (Each undeclared identifier is reported only once ../../kern/kern_intr.c:58: for each function it appears in.) ../../kern/kern_intr.c:58: `swi_gennric' undeclared (first use in this function) ../../kern/kern_intr.c:58: too many arguments to function ../../kern/kern_intr.c:59: syntax error before `panic' ../../kern/kern_intr.c:62: too many arguments to function ../../kern/kern_intr.c:63: syntax error before `ihandlers' ../../kern/kern_intr.c:67: syntax error before `swi_gennric' ../../kern/kern_intr.c:53: warning: unused variable `slq' ../../kern/kern_intr.c: At top level: ../../kern/kern_intr.c:69: warning: type defaults to `int' in declaration of `slq' ../../kern/kern_intr.c:69: invalid type argument of `unary *' ../../kern/kern_intr.c:69: warning: initialization makes integer from pointer without a cast ../../kern/kern_intr.c:69: initializer element is not constant ../../kern/kern_intr.c:69: warning: data definition has no type or storage class ../../kern/kern_intr.c:70: syntax error before `if' *** Error code 1 Does someone know what this error means? And what can I do about it. Thanks Roeland computer info: AMD 1GHz ABIT Motherboard NVIDIA Graphic Card SoundBlaser Live To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message