Date: Sat, 30 Sep 2000 01:40:16 -0700 From: Kent Stewart <kstewart@urx.com> To: Mark Rowlands <mark.rowlands@minmail.net> Cc: marcd@internode.on.net, freebsd-questions@FreeBSD.ORG Subject: Re: Problem building kernel (4.1S to 4.1.1) Message-ID: <39D5A6F0.A2C10D04@urx.com> References: <XFMail.000930135632.marcd@internode.on.net> <00093009101702.03987@marbsd.tninet.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Rowlands wrote: > > On Sat, 30 Sep 2000, marcd@internode.on.net wrote: > > 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 > > >> > > I'll probably get jumped for this but when I get problems with kernels not > building i do the following. > > remove /usr/src /usr/obj remove wherever you use as a base for cvsup > nice clean cvsup > then build with a generic kernel I just got through cvsup'ing and building to see if something was wrong. I cleaned out my /usr/obj before I started and didn't have any problems. I think I would remove /usr/obj first unless you are using a T1. The softdep errors could be occurring if you haven't removed the two links and that is also covered in /usr/src/UPDATING. Kent > > These are just my opinions > you are free to disagree > please do so quietly > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D5A6F0.A2C10D04>