Skip site navigation (1)Skip section navigation (2)
Date:      Mon 11 Feb 2002 14:58:06 MET
From:      "Roeland Moors" <roelandmoors@pandora.be>
To:        freebsd-questions@freebsd.org
Subject:   freebsd 4.5 kernel compile error
Message-ID:  <20020211135824.2205937B400@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020211135824.2205937B400>