Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 14:51:13 -0700
From:      Shawn Ramsey <shawn@cpl.net>
To:        Marie-Josee Blais <mjblais@miranda.com>, "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: Problem adding SCSI support to kernel
Message-ID:  <19990611145113.F26537@cpl.net>
In-Reply-To: <199906111817.OAA05225@norton.miranda.com>; from Marie-Josee Blais on Fri, Jun 11, 1999 at 02:14:21PM -0400
References:  <199906111817.OAA05225@norton.miranda.com>

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




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