Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 09:46:29 -0700 (PDT)
From:      mingo lu <freebiebsd@yahoo.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   kernel customizing problem
Message-ID:  <20020901164629.43404.qmail@web14811.mail.yahoo.com>

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




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