Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 01:54:42 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter B <pb@ludd.ltu.se>
Cc:        pluknet <pluknet@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Kernel compile R7.0 i386 GENERIC, fails
Message-ID:  <87ljz3upql.fsf@kobe.laptop>
In-Reply-To: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> (Peter B.'s message of "Mon, 11 Aug 2008 18:32:02 %2B0200 (MEST)")
References:  <200808111632.m7BGW26o008612@brother.ludd.ltu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B <pb@ludd.ltu.se> wrote:
>>> Extracted sources: sbase, srelease, ssys
>>
>> You also need scontrib (ACPI sources are there) component and maybe
>> some others for successful build.  btw, this is not a very usual (and
>> a simple) way to make kernel.
>
> I added "device acpi" to the kernel configuration file. And it made the error
> go away. I'm downloading scontrib.* now.
>
> But now it complains on:
> ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h
> awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
> awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
> make: don't know how to make cam.c. Stop
> *** Error code 2

> In previous releases. It was possible to make at leas the generic
> kernel compile out of the box.

It still is.  You have to get the full sources though.

What you are trying to do now, by extracting more parts of the source
tree as you need them is a very good way to learn the dependencies of
the various parts of the source tree, but it is likely to fail a few
times until you get all the necessary bits.

All this is *very* good as learning experience, but it may be
frustrating if you just want ``something that works now, instead of,
say, a week later''.




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