From owner-freebsd-questions Fri Jun 11 16:22: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from c523578-a.sttls1.wa.home.com (c523578-a.sttls1.wa.home.com [24.5.122.51]) by hub.freebsd.org (Postfix) with ESMTP id 3D8ED154C6 for ; Fri, 11 Jun 1999 16:21:57 -0700 (PDT) (envelope-from tbackman@c523578-a.sttls1.wa.home.com) Received: from localhost (tbackman@localhost) by c523578-a.sttls1.wa.home.com (8.9.3/8.9.2) with ESMTP id QAA10522; Fri, 11 Jun 1999 16:28:23 -0700 (PDT) (envelope-from tbackman@c523578-a.sttls1.wa.home.com) Date: Fri, 11 Jun 1999 16:28:23 -0700 (PDT) From: Todd Backman To: Shawn Ramsey Cc: Marie-Josee Blais , "questions@FreeBSD.ORG" Subject: Re: Problem adding SCSI support to kernel In-Reply-To: <19990611145113.F26537@cpl.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rm -rf * in ../../compile/KERNELNAME/ recompile kernel... make depend should then work. On Fri, 11 Jun 1999, Shawn Ramsey wrote: > > > > 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 > ========================================================================= Todd Backman "there are two major products that came out of berkeley: Geek and FreeBSD user lsd and unix. Seattle, WA we don't believe this to be "Chaos is a good teacher..." a coincidence." j.s.anderson ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message