can't build custom kernel

2000-10-21 Thread Len Conrad

Hackers,

Sorry to bother, but two postings to -question of the msg below in 
two days got now response. I'm dead in the water.

tia,
Len



FreeBSD 4.1.1 from an .iso image

Making a custom kernal

make depend

gives:

In file included from ../../i386/isa/isa_compat.c:46:
../../i386/isa/isa_compat.h:42: bw.h: No such file or directory
mkdep: compile failed
*** Error code 1

I cannot

find / -name "bw.h" -print

... this file on our disk.

Nor can I find "bw.h" in my -questions archive as a pb for anybody else.

What's up?

tia,
Len

http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K
http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-21 Thread Chris BeHanna

On Sat, 21 Oct 2000, Len Conrad wrote:

> Hackers,
> 
> Sorry to bother, but two postings to -question of the msg below in 
> two days got now response. I'm dead in the water.

First thing:  read /usr/src/UPDATING.  The proper procedure to
build a kernel is in there.  To save you some time:

cd /usr/src
make buildkernel KERNEL=
make installkernel KERNEL=

If the build still fails, then yes, you have a legitimate problem.

--
Chris BeHanna
Software Engineer (at yourfit.com)
[EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-21 Thread Len Conrad


>First thing:  read /usr/src/UPDATING.

but I'm not UPDATING, I've installed to virgin disk from 4.1.1 iso-image.

>The proper procedure to
>build a kernel is in there.  To save you some time:
>
> cd /usr/src
> make buildkernel KERNEL=
> make installkernel KERNEL=
>
> If the build still fails, then yes, you have a legitimate problem.

With this pb from a fresh 4.1.1 cdrom install, a legit pb or is it me?

thanks,
Len




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-21 Thread Doug Barton

Len Conrad wrote:
> 
> Hackers,
> 
> Sorry to bother, but two postings to -question of the msg below in
> two days got now response. I'm dead in the water.
> 
> tia,
> Len
> 
> 
> 
> FreeBSD 4.1.1 from an .iso image
> 
> Making a custom kernal
> 
> make depend
> 
> gives:
> 
> In file included from ../../i386/isa/isa_compat.c:46:
> ../../i386/isa/isa_compat.h:42: bw.h: No such file or directory
> mkdep: compile failed
> *** Error code 1

Your sources are corrupt. There has never been a 'bw.h' file in the
FreeBSD tree. How did you install the sources? You might want to delete
them and install a fresh set with cvsup. Take a look at
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/Attic/isa_compat.h?rev=1.27.2.6&content-type=text/x-cvsweb-markup
for the current version of this file in RELENG_4. 

Good luck,

Doug
-- 
"The dead cannot be seduced."
- Kai, "Lexx"

Do YOU Yahoo!?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-21 Thread Len Conrad


> Your sources are corrupt. There has never been a 'bw.h' file in the
>FreeBSD tree. How did you install the sources?

from 4.1.1-R .iso image from ftp.de.freebsd.org

>You might want to delete them and install a fresh set with cvsup.

[EMAIL PROTECTED] has since told me his etinc drivers don't work with 
4.1.1 so I've got to drop back to 4.1, for which I have the .iso on cdrom.

>Good luck,

thanks, an fbsd airhead like me needs it.  First time I've been 
bitten by an .iso image.

Len


http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K
http://IMGate.MEIway.com:  Build free, hi-perf, anti-spam mail gateways



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-22 Thread Leif Neland

> First thing:  read /usr/src/UPDATING.  The proper procedure to
> build a kernel is in there.  To save you some time:
>
> cd /usr/src
> make buildkernel KERNEL=
> make installkernel KERNEL=
>
> If the build still fails, then yes, you have a legitimate problem.
>
At least when the normal (faster) config MYKERNEL;; cd
../../compile/MYKERNEL;make depend && make && make install fails.

I also couldn't build a kernel the normal way, but the buildkernel cleaned
something, so my preferred method worked again.

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: can't build custom kernel

2000-10-22 Thread Warner Losh

In message <[EMAIL PROTECTED]> Len Conrad writes:
: >First thing:  read /usr/src/UPDATING.
: 
: but I'm not UPDATING, I've installed to virgin disk from 4.1.1 iso-image.

The problem is that you need to add the ISA compat shims:

options COMPAT_OLDISA   # compatability shims for lnc, le

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message