kernelbuild failure
Ward Viaene
ward at webware.be
Sun Nov 9 16:13:05 PST 2003
On Mon, 2003-11-10 at 01:07, Garance A Drosihn wrote:
> At 12:26 AM +0100 11/10/03, Ward Viaene wrote:
> >Hi,
> >I am trying to do a make buildkernel KERNCONF=GENERIC in /usr/src, using
> >FreeBSD 5.1 (uname: FreeBSD 5.1-RELEASE #10: Mon Aug 4 00:10:10 CEST
> >sparc64), after a while I get this error:
> >./aicasm -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev
> >-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter
> >-I/usr/src/sys/cam/scsi -I/usr/src/sys/dev/aic7xxx -o aic7xxx_seq.h -r
> >aic7xxx_reg.h -p aic7xxx_reg_print.c -i
> >/usr/src/sys/dev/aic7xxx/aic7xxx_osm.h
> >/usr/src/sys/dev/aic7xxx/aic7xxx.seq
> >./aicasm: 879 instructions used
> >make: don't know how to make /usr/src/sys/libkern/arc4random.c. Stop
> >*** Error code 2
> >
> >Stop in /usr/obj/usr/src/sys/STORM.
> >*** Error code 1
>
> It seems odd to me that this is in /usr/obj/usr/src/sys/STORM
> when you think you're compiling a GENERIC kernel. What lines
> do you have in /etc/make.conf? Do you have a file called
> /usr/src/sys/sparc64/conf/STORM ?
>
> >After that I edited the supfile again, did the cvsup, buildworld,
> >installworld en buildkernel again (back to the normal 5.1 release),
> >but still the same error.
> >
> >I don't know what to do now, some suggestions can help.
>
> You might try doing: rm -Rf /usr/obj/usr/src/*
> before doing the buildworld.
>
> Also, you said that your cvsup file has:
>
> src-all
> ports-all tag=.
>
> In my case I also have the lines:
>
> src-crypto
> src-secure
>
> but it may very well be that you don't need those anymore.
Yeah, I'm sorry, this was an old error I saved... but I've got the same
with GENERIC (STORM was a copy of GENERIC).
I already deleted /usr/obj/* before my last buildworld, it didn't help.
I will try src-crypto and src-secure.
Ward
More information about the freebsd-sparc64
mailing list