From owner-freebsd-sparc64@FreeBSD.ORG Mon Nov 10 05:26:31 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AA6B16A4CE for ; Mon, 10 Nov 2003 05:26:31 -0800 (PST) Received: from mx10.webware.be (hope.webware.be [213.193.231.167]) by mx1.FreeBSD.org (Postfix) with SMTP id 830BE43FA3 for ; Mon, 10 Nov 2003 05:26:29 -0800 (PST) (envelope-from ward@webware.be) Received: (qmail 12641 invoked by uid 1000); 10 Nov 2003 13:26:24 -0000 Received: from 193.190.138.75 (SquirrelMail authenticated user ward@webware.be) by webmail.webware.be with HTTP; Mon, 10 Nov 2003 14:26:24 +0100 (CET) Message-ID: <1159.193.190.138.75.1068470784.squirrel@webmail.webware.be> In-Reply-To: References: <1068420378.2203.17.camel@Static.thuis.be> Date: Mon, 10 Nov 2003 14:26:24 +0100 (CET) From: ward@webware.be To: "Garance A Drosihn" , freebsd-sparc64@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Re: kernelbuild failure X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 13:26:31 -0000 > 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. > > -- > Garance Alistair Drosehn = gad@gilead.netel.rpi.edu > Senior Systems Programmer or gad@freebsd.org > Rensselaer Polytechnic Institute or drosih@rpi.edu > I added src-secure and src-crypto to my supfile, did a cvsup, buildworld, installworld and buildkernel, but I still got the same error. Ward