From owner-freebsd-questions Fri Jun 11 14:50:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from luke.cpl.net (luke.cpl.net [209.150.92.68]) by hub.freebsd.org (Postfix) with ESMTP id 91CB414F2C for ; Fri, 11 Jun 1999 14:50:37 -0700 (PDT) (envelope-from shawn@luke.cpl.net) Received: (from shawn@localhost) by luke.cpl.net (8.9.3/8.9.3) id OAA28973; Fri, 11 Jun 1999 14:51:14 -0700 (PDT) Message-ID: <19990611145113.F26537@cpl.net> Date: Fri, 11 Jun 1999 14:51:13 -0700 From: Shawn Ramsey To: Marie-Josee Blais , "questions@FreeBSD.ORG" Subject: Re: Problem adding SCSI support to kernel References: <199906111817.OAA05225@norton.miranda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <199906111817.OAA05225@norton.miranda.com>; from Marie-Josee Blais on Fri, Jun 11, 1999 at 02:14:21PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have tried to compile both the GENERIC and my machine specific kernel but > both stop at the same place. If I remove the ahc0 line, then it compiles > fine. > > When I try to recompile my kernel everything goes fine until I try the make > depend > Here is the output: > > # make depend > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointerc > cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arm > ./genassym >assym.s > rm -f param.c > cp ../../conf/param.c . > sh ../../kern/vnode_if.sh ../../kern/vnode_if.src > make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx > Warning: Object directory not changed from original > /usr/src/sys/compile/GENERIC > yacc -d ../../dev/aic7xxx/aicasm_gram.y > mv y.tab.c aicasm_gram.c > cc -O -I. -c aicasm_gram.c > lex -t ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c > cc -O -I. -c aicasm_scan.c > ../../dev/aic7xxx/aicasm_scan.l: In function `yylex': > ../../dev/aic7xxx/aicasm_scan.l:68: `T_DOWNLOAD' undeclared (first use this > function) > ../../dev/aic7xxx/aicasm_scan.l:68: (Each undeclared identifier is reported > only once > ../../dev/aic7xxx/aicasm_scan.l:68: for each function it appears in.) > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > controller scbus0 > > #device sd0 Maybe its different in 3.1, but in 2.x, this option is a requirement for SCSI disks. Or maybe even for SCSI period, its been awhile since I recompiled a kernel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message