From owner-freebsd-questions Fri Sep 29 21:28:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ash25.adelaide.on.net (ash25.internode.on.net [203.16.214.248]) by hub.freebsd.org (Postfix) with ESMTP id EE1CB37B66C for ; Fri, 29 Sep 2000 21:28:40 -0700 (PDT) Received: from zen.dodsworth.org ([150.101.250.204]) by internode.on.net (PMDF V5.2-32 #42627) with ESMTP id <01JUSBS7OUM400PLQ1@internode.on.net> for freebsd-questions@FreeBSD.ORG; Sat, 30 Sep 2000 14:00:21 +0930 Date: Sat, 30 Sep 2000 13:56:32 +0930 (CST) From: marcd@internode.on.net Subject: Re: Problem building kernel (4.1S to 4.1.1) In-reply-to: <39D560F4.654A39A4@urx.com> To: Kent Stewart Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 X-Mailer: XFMail 1.4.0 on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thankx for the reply. I've tried both the buildkernel and the config approach and both fail. The buildkernel dies with :- (and an errorcode 2 appears a couple of times during the kernel build but I can't see where). for /develop/src/sys/modules/wi 1 error *** Error code 2 env MKDEP_CPP="/usr/bin/gcc -E" mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/develop/src/sys -I/develop/src/sys/../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /develop/src/sys/i386/i386/bioscall.s /develop/src/sys/i386/i386/exception.s /develop/src/sys/i386/i386/globals.s /develop/src/sys/i386/i386/support.s /develop/src/sys/i386/i386/swtch.s /develop/src/sys/i386/i386/locore.s rm -f .depend mv -f .newdep .depend 1 error *** Error code 2 1 error *** Error code 2 1 error On 30-Sep-00 Kent Stewart wrote: > > > marcd@internode.on.net wrote: >> >> Hi >> >> I'm currnently running 4.1 Stable on my system and am trying to upgrade to >> 4.1. >> >> I CVS'ed my sources Sept 27, I can go succesfull build the sources except >> for the kernel. (using make buildworld) but then I try and build the kernel >> it dies. When I try and manually build the kernel (i.e config, make depend, >> make etc) it dies with the following > > You have already deviated from the methods specified in > /usr/src/UPDATING. Try doing a buildkernel sequence instead of the > config method. > > Kent > >> >> al.h -elf -mpreferred-stack-boundary=2 vers.c >> linking kernel >> ffs_softdep.o: In function `softdep_flushfiles': >> ffs_softdep.o(.text+0x607): undefined reference to `ffs_flushfiles' >> ffs_softdep.o(.text+0x6d6): undefined reference to `ffs_flushfiles' >> ffs_softdep.o: In function `handle_workitem_freefrag': >> ffs_softdep.o(.text+0x1265): undefined reference to `ffs_blkfree' >> ffs_softdep.o: In function `handle_workitem_freeblocks': >> ffs_softdep.o(.text+0x1ef4): undefined reference to `ffs_blkfree' >> ffs_softdep.o(.text+0x1f6a): undefined reference to `ffs_blkfree' >> ffs_softdep.o: In function `indir_trunc': >> ffs_softdep.o(.text+0x210b): undefined reference to `ffs_blkfree' >> ffs_softdep.o: In function `handle_workitem_freefile': >> ffs_softdep.o(.text+0x2e0e): undefined reference to `ffs_freefile' >> *** Error code 1 >> >> Stop in /develop/src/sys/compile/ZEN. >> >> Thankx in Advance >> >> Marc >> >> ---------------------------------- >> E-Mail: marcd@internode.on.net >> Date: 30-Sep-00 >> Time: 12:38:44 >> ---------------------------------- >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > -- > Kent Stewart > Richland, WA > > mailto:kbstew99@hotmail.com > http://kstewart.urx.com/kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: marcd@internode.on.net Date: 30-Sep-00 Time: 13:48:54 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message