Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 04:35:40 +0000
From:      Jason Henson <jason@ec.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Stop in /usr/obj/usr/src/sys/GENERIC
Message-ID:  <1108614940l.36714l.1l@BARTON>
In-Reply-To: <20050216232012.GA6568@music> (from andy@firman.us on Wed Feb 16 18:20:12 2005)
References:  <20050216232012.GA6568@music>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/16/05 18:20:12, Andy Firman wrote:
>=20
> I have a 5.3-stable system that I am trying to update.
>=20
> This is my stable-supfile:
>=20
> *default host=3Dcvsup14.us.FreeBSD.org
> *default base=3D/var/db
> *default prefix=3D/usr
> *default release=3Dcvs tag=3DRELENG_5
> *default delete use-rel-suffix
> src-all
> ports-all tag=3D.
> doc-all tag=3D.
>=20
> These are the 7 commands I do to update the system:
>=20
> cvsup -g -L 2 stable-supfile
> cd /usr/src
> make buildworld
> make buildkernel
> make installkernel
> mergemaster
> make installworld
>

Do you really do that, or something like
make buildkernel KERNCONF=3DFUBAR
Also try to use mergemaster -p before you install, and after the build=20
(does it have to be after?).


> When I do the make buildkernel I get this:
>=20
> mno-align-long-strings -mpreferred-stack-boundary=3D2 -ffreestanding
> -Werror
> /usr/src/sys/dev/aic7xxx/aic7xxx.c
> /usr/src/sys/dev/aic7xxx/aic7xxx.c: In function `ahc_alloc':
> /usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: `ahd' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: (Each undeclared
> identifier is reported only
> once
> /usr/src/sys/dev/aic7xxx/aic7xxx.c:3854: error: for each function it
> appears in.)
> *** Error code 1
>=20
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
>=20
>=20
> I noticed during the cvsup some aic7xxx stuff was pulled down.
>=20
> Is this question for the current or ports list?
>

Current or questions.  You may have a bad file(corrupted), bad memory, =20
a choice of cvsup server?

What are your make.conf options?  If make.conf is generic I would =20
delete /usr/src/sys/dev, maybe /usr/src/* if there are other problem =20
areas.  Do you always get random errors, or is it in the same spot?  If =20
it fails randomly you may have a hardware problem.

BTW, do you really what a generic kernel? =20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108614940l.36714l.1l>