From owner-freebsd-questions Sun Sep 1 9:46:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8522737B400 for ; Sun, 1 Sep 2002 09:46:29 -0700 (PDT) Received: from web14811.mail.yahoo.com (web14811.mail.yahoo.com [66.163.172.95]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D95643E4A for ; Sun, 1 Sep 2002 09:46:29 -0700 (PDT) (envelope-from freebiebsd@yahoo.com) Message-ID: <20020901164629.43404.qmail@web14811.mail.yahoo.com> Received: from [64.157.58.234] by web14811.mail.yahoo.com via HTTP; Sun, 01 Sep 2002 09:46:29 PDT Date: Sun, 1 Sep 2002 09:46:29 -0700 (PDT) From: mingo lu Subject: kernel customizing problem To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi all: Need help from gurus!!! My 4.5 FreeBSD kernel works fine until I decided to add firewall function. when I was compiling the customized kernel (half way through) and realized that i made a mistake, so I used "ctr+C" to abort the compiling process. After I corrected the mistake in the kernel configuration file, i started compiling process again, now it failed. I did nothing else on the kernel configuration file excpet adding one line "options FIREWALL". I tried it again with removing the line "options FIREWALL", well, it failed also and gave out the same error code. Here is the error code: ``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` lex -t /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c cc -O -pipe -I/usr/include -I. -c aicasm_scan.c cc -O -pipe -I/usr/include -I. -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O -pipe -I/usr/include -I. -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_sy bol.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:41: db.h: No such file or direc ory /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:52: syntax error before `*' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:52: warning: data definition ha no type or storage class /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symbol_delete': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:74: syntax error before `key' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:76: `key' undeclared (first use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:76: (Each undeclared identifier is reported only once /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:76: for each function it appear in.) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:78: request for member `del' in something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:119: `DB_HASH' undeclared (firs use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:120: warning: assignment makes ointer from integer without a cast /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_close': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:133: syntax error before `key' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:136: request for member `seq' i something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:136: `key' undeclared (first us in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:136: `data' undeclared (first u e in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:136: `R_FIRST' undeclared (firs use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:142: request for member `close' in something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_get': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:154: syntax error before `key' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:158: `key' undeclared (first us in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:161: request for member `get' i something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:161: `data' undeclared (first u e in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:173: request for member `put' i something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_dump': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:321: syntax error before `key' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:323: `R_FIRST' undeclared (firs use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:325: request for member `seq' i something not a structure or union /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:325: `key' undeclared (first us in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:325: `data' undeclared (first u e in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:356: `R_NEXT' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/koala. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ```````````````````````````````````````````````````````````````````````````````````````````````````````````````` any help will be greatly appreciated. thanks __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message