Kernel Compile Error

A. Gillissen alexander.gillissen at gmx.de
Fri Jul 25 15:53:37 PDT 2003


Hi,

While I was builing a custom kernel the following error occured during the 
"make depend" (FreeBSD 5.0 RELEASE):

--------------
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev 
-I@/../in
clude -I/usr/include /usr/src/sys/modules/aha/../../dev/aha/aha.c 
/usr/src/sys/modu
les/aha/../../dev/aha/aha_isa.c
===> aic7xxx
===> aic7xxx/aicasm
===> aic7xxx/ahc
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
( cd /usr/src/sys/modules/aic7xxx/ahc/../aicasm; make aicasm; )
cc -O -pipe -mcpu=pentiumpro -nostdinc -I/usr/include -I. 
-I/usr/src/sys/modules/aic
7xxx/aicasm/../../../dev/aic7xxx/aicasm -c 
/usr/src/sys/modules/aic7xxx/aicasm/..
/../../dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe -mcpu=pentiumpro -nostdinc -I/usr/include -I. 
-I/usr/src/sys/modules/aic
7xxx/aicasm/../../../dev/aic7xxx/aicasm -c 
/usr/src/sys/modules/aic7xxx/aicasm/..
/../../dev/aic7xxx/aicasm/aicasm_symbol.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:52:19: fcntl.h: No such 
file or dire
ctory
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_CREAT' undeclared 
(first use
in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: (Each undeclared 
identifier is
reported only once
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: for each function it 
appears in
.)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_NONBLOCK' 
undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_RDWR' undeclared 
(first use
in this function)
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx/aicasm.
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx/ahc.
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/MYKERNEL.
bsdbox#
--------------

This happens with any configuration file - even with the GENERIC kernel 
config.
I've tried to comment out several options / devices but nothing worked.
Does anybody know a solution to this problem?


Best Regards,
Alexander Gillissen

Tel: +49 ( 0 ) 214 / 20 29 239
Mobil: +49 ( 0 ) 179 / 73 25 616

e-mail: alexander.gillissen at gmx.de
icq uin: 62304741
www: http://drdoo.mine.nu
gpg public key: http://drdoo.mine.nu/ag_public_key.gpg  



More information about the freebsd-questions mailing list