From owner-freebsd-questions Fri Dec 8 22:24:21 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 22:24:17 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 5F0C237B400 for ; Fri, 8 Dec 2000 22:24:17 -0800 (PST) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id AAA37302; Sat, 9 Dec 2000 00:24:11 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sat, 9 Dec 2000 00:24:11 -0600 (CST) From: Ryan Thompson To: chip Cc: questions@freebsd.org, Greg Lehey Subject: Re: Kernel compile error In-Reply-To: <20001209154129.P53111@wantadilla.lemis.com> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote to chip: > On Friday, 8 December 2000 at 21:12:14 -0800, chip wrote: > > I copied the GENERIC kernel to WIEGAND, ran vi to add one > > line at the bottom of the file - Did you also remember to change the target "ident" form GENERIC to WIEGAND near the top of the file? > > device pcm then ran > > /usr/sbin/config -g WIEGAND and all is okay > > ../../compile/WIEGAND and get the following error: > > cc -c -0 -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc > > -I- -I. -I../.. -I../../../include -D_KERNEL -include > > opt_global.h -el -mpreferred-stack-boundary=2 > > ../../dev/aic7xxx/aic7770.c In file included from > > ../../dev/aic7xxx/aic7xxx_freebsd.h:176, from > > ../../dev/aic7xxx/aic7770.c:41: > > ../../dev/aic7xxx/aic7xxx.h:40: aic7xxx_reg.h: > > no such file or directory Error Code 1 > > stop in /usr/src/sys/compile/WIEGAND > > > > I then ran vi WIEGAND and found one line with aic and > > commented out that one line, reran the above and got > > the same results. I then deleted WIEGAND and started > > over but did not comment out the aic line, just added > > the device pcm only, and now get access denied even > > though I am doing this as root. > > > > I can't find a log file of the errors, is there one? > > I wrote all that stuff down on paper then typed it all > > in this long-hand. If you need to send the output of something, try script(1). A typical session would be accomplished like this... # cd /sys/i386/conf # script Script started, output file is typescript # config WIEGAND Don't forget to do a ``make depend'' Kernel build directory is ../../compile/WIEGAND # cd ../../compile/WIEGAND # make depend .. make depend output .. # make .. make output .. # make install .. install (short output) .. # exit exit Script done, output file is typescript You can then send us portions of the file "typescript" from the current directory that show the errors. There are many more options with script(1). man 1 script. > > Help please, I just want to enable a sb64 card. > > Did you read this message? > > # config WIEGAND > Don't forget to do a ``make depend'' > Kernel build directory is ../../compile/WIEGAND > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply. > For more information, see http://www.lemis.com/questions.html > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message