Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2000 16:01:21 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        "Dave Preece (KB Group)" <dave.preece@kbgroup.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Kernel compile problem?
Message-ID:  <20000905.16012100@bartequi.ottodomain.org>
In-Reply-To: <67B808B0DD93D211ABEE0000B498356B3617AF@internet.kbgroup.co.nz>
References:  <67B808B0DD93D211ABEE0000B498356B3617AF@internet.kbgroup.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 9/5/00, 8:30:03 AM, "Dave Preece (KB Group)" 
<dave.preece@kbgroup.co.nz> wrote regarding RE: Kernel compile problem?:


> > Just wondered if anyone could help me out here, Im trying to
> > cvsup from
> > 4.0-RELEASE to 4.1-STABLE and on a make depend on my kernel I get the
> > following:
> >
> > ===> agp
> > make: don't know how to make agp_if.c. Stop
> > *** Error code 2
> >
> > Anyone else getting this error on a build?

> Yup. I've spent the last hour or two banging my head on it. There's a
> variety of answers on freebsd-questions
> 
(http://www.freebsd.org/cgi/search.cgi?words=agp+cvsup&max=25&sort=score&sou
> rce=freebsd-questions). These include " 'make buildkernel' works fine 
",
> "RTFM /usr/src/UPDATING" and "get usr-share as well". None of which 
work for
> me. I currently have a really minimal install, so I'm currently 
installing
> all the 4.0 sources to do a cvsup with src-all then a make buildkernel 
(or
> even a world) to see how it goes.

> Last time I tried cvsup'ing it was 3.3 to 4.0 and a complete disaster. 
Had
> to use the CD's in the end (me=lam3r).

> Dave



Dear Dave Preece,

people don't usually say,`please RTFM,' just for the sake of it :-)

There ARE reasons for laying down the procedure described in 
/usr/src/UPATING. If you like, you can retrieve the discussions about 
those reasons in the -stable archive (a number of HEADS UP after July 
10, 2000), as well as recovering the historic[al] debate that would 
eventually lead to the present method.   

You need to perform a buildworld in order to compile, as it were, your 
new kernel on top of it. There is ONE source tree; kernel and userland 
are designed "holistically", ie they are thought of as a harmonious whole.

Albeit source updating is not a very difficult task, it is NOT exactly 
a child's play: you are supposed to be careful, and to read the docs 
and the mailing archives.

And yes, sometimes the world does not even build, or, if it builds, it 
doesn't work correctly (cf eg the reports posted in the past few 
days). As you may have noticed, these problems are usually fixed 
within few hours/days.

Needeless to say, if you don't update your sources (ie if you don't 
cvsup), you can safely use the classical kernel build sequence (config 
[-r], make depend, make, make install).

Best regards,
Salvo





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?20000905.16012100>