Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 00:24:11 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        chip <chip@wiegand.org>
Cc:        questions@freebsd.org, Greg Lehey <grog@lemis.com>
Subject:   Re: Kernel compile error
Message-ID:  <Pine.BSF.4.21.0012090014500.36482-100000@ren.sasknow.com>
In-Reply-To: <20001209154129.P53111@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012090014500.36482-100000>