Stop in /usr/obj/usr/src/sys/GENERIC
Jason Henson
jason at ec.rr.com
Thu Feb 17 04:28:03 GMT 2005
On 02/16/05 18:20:12, Andy Firman wrote:
>
> I have a 5.3-stable system that I am trying to update.
>
> This is my stable-supfile:
>
> *default host=cvsup14.us.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr
> *default release=cvs tag=RELENG_5
> *default delete use-rel-suffix
> src-all
> ports-all tag=.
> doc-all tag=.
>
> These are the 7 commands I do to update the system:
>
> 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=FUBAR
Also try to use mergemaster -p before you install, and after the build
(does it have to be after?).
> When I do the make buildkernel I get this:
>
> mno-align-long-strings -mpreferred-stack-boundary=2 -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
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> I noticed during the cvsup some aic7xxx stuff was pulled down.
>
> Is this question for the current or ports list?
>
Current or questions. You may have a bad file(corrupted), bad memory,
a choice of cvsup server?
What are your make.conf options? If make.conf is generic I would
delete /usr/src/sys/dev, maybe /usr/src/* if there are other problem
areas. Do you always get random errors, or is it in the same spot? If
it fails randomly you may have a hardware problem.
BTW, do you really what a generic kernel?
More information about the freebsd-questions
mailing list