From owner-freebsd-questions Fri Dec 8 22:42:26 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 22:42:23 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (pop3.pioneernet.net [208.240.196.25]) by hub.freebsd.org (Postfix) with ESMTP id D916E37B401 for ; Fri, 8 Dec 2000 22:42:22 -0800 (PST) Received: from wiegand.org [208.194.173.26] by pioneernet.net with ESMTP (SMTPD32-6.03) id A8D58750082; Fri, 08 Dec 2000 23:01:41 -0800 Sender: chip@FreeBSD.ORG Message-ID: <3A31D4EF.F5603DDE@wiegand.org> Date: Fri, 08 Dec 2000 22:45:03 -0800 From: chip X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: questions@freebsd.org Subject: Re: Kernel compile error References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, my 5 unix books, 1 freebsd book and 5 linux books don't even mention typescript or script (except in the other contexts). Thanks for the tip. -- Chip Ryan Thompson wrote: > > 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 -- Chip W. www.wiegand.org Alternative Operating Systems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message