From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 15:53:36 2003 Return-Path: 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 B42FB37B408 for ; Fri, 25 Jul 2003 15:53:36 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D03943F3F for ; Fri, 25 Jul 2003 15:53:35 -0700 (PDT) (envelope-from alexander.gillissen@gmx.de) Received: (qmail 5581 invoked by uid 65534); 25 Jul 2003 22:53:33 -0000 Received: from levk-d9b9e206.pool.mediaWays.net (EHLO alexander.gmx.de) (217.185.226.6) by mail.gmx.net (mp027) with SMTP; 26 Jul 2003 00:53:33 +0200 Message-Id: <5.2.0.9.2.20030726004828.00a89830@pop.gmx.de> X-Sender: alexander.gillissen@gmx.de@pop.gmx.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 26 Jul 2003 00:53:34 +0200 To: freebsd-questions@freebsd.org From: "A. Gillissen" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 22:53:37 -0000 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@gmx.de icq uin: 62304741 www: http://drdoo.mine.nu gpg public key: http://drdoo.mine.nu/ag_public_key.gpg