From owner-freebsd-questions Thu Nov 2 8:33: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from p0016c23.us.kpmg.com (p0016c23.us.kpmg.com [199.207.255.23]) by hub.freebsd.org (Postfix) with ESMTP id 4308A37B479 for ; Thu, 2 Nov 2000 08:33:01 -0800 (PST) Received: from p0016c56.kweb.us.kpmg.com by p0016c23.us.kpmg.com(Pro-8.9.3/Pro-8.9.3) with SMTP id LAA13468 for ; Thu, 2 Nov 2000 11:33:00 -0500 (EST) Received: from p0016c22.kweb.us.kpmg.com by p0016c56.kweb.us.kpmg.com via smtpd (for p0016c23.us.kpmg.com [199.207.255.23]) with SMTP; 2 Nov 2000 16:33:00 UT Received: from usnssexc11.kweb.us.kpmg.com by kpmg.com(Pro-8.9.2/Pro-8.9.2) with ESMTP id LAA08411 for ; Thu, 2 Nov 2000 11:32:59 -0500 (EST) Received: from usnssexc11.kweb.us.kpmg.com (unverified) by usnssexc11.kweb.us.kpmg.com (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Thu, 02 Nov 2000 11:32:47 -0500 Received: by usnssexc11.kweb.us.kpmg.com with Internet Mail Service (5.5.2650.21) id ; Thu, 2 Nov 2000 11:32:46 -0500 Message-Id: <7799D023E51ED311BFB50008C75DD7B402881A16@uschiexc05.kweb.us.kpmg.com> From: "Passki, Jonathan P" To: "'Lowell Gilbert'" , "'freebsd-questions@freebsd.org'" Subject: RE: [freebsd-questions] kernel compile stop error w/ references t o _init & _fini Date: Thu, 2 Nov 2000 11:32:39 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > After cvsup'n source a couple days ago for the 4.1.1 > branch, and after doing > > a make world last night w/o a reboot, I attempted to > recompile the kernel, > > but was unsuccessful, and it ended abruptly w/ a Stop Error. > > You really should use the updating procedure described in > /usr/src/UPDATING. > It may not be fatal in this case, but it's always a good idea. The updating procedure I used was gleamed from /usr/src/UPDATING. It advices to at least do a make buildworld before kernel compilation so that all modules are present for the new kernel if new source has been added to the system. After that, I believed it outlined the kernel compilation as this: cd /usr/src make buildkernel KERNEL=MYKERNEL make installkernel KERNEL=MYKERNEL Also, the file then talked about rebuilding the disk dev's and making sure the config files are up to date in /etc and the such. Since I don't have the document in front of me, I may be mistaken. Is there something else in the UPDATING file that you're refering to, or did what I just mention cover the procedures you questioned? >> last amount of info I wrote down: >> >> cc -0 -pipe -nostdinc -I/usr/obj/usr/src/sys/NOVA/../../.. -I. >> -I/usr/include >> -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c >> cc -0 -pipe -nostdinc -I/usr/obj/usr/src/sys/NOVA/../../.. -I. >> -I/usr/include >> -o aicasm aicasm_gram.o aicasm_scan.o aicasm.o aicasm_symbol.o -ll >> /usr/lib/crtbegin.o: In function '_init': >> /usr/lib/crtbegin.o(.init+0x0): multiple definition of '_init' >> /usr/lib/crti.o (.init+0x0): first defined here >> /usr/lib/crtbegin.o: In function '_fini': >> /usr/lib/crtbegin.o(.fini+0x0): multiple definition of '_fini' >> /usr/lib/crti.o (.fini+0x0): first defined here > > This was an actual problem in the sources, but it was only > there for a few > hours. If you cvsup again, you shouldn't see it any more. > [Transitory > problems of this sort are an unavoidable risk of trying to > build sources > from a development repository, as I assume you did -- > downloading releases > instead of the latest -STABLE *would* avoid such problems.] > > Be well. I'm not gutsy enought to go w/ -CURRENT, if that's what you're refering to :-) And as far as I knew, -RELEASE is the actual release source that gets promoted by FreeBSD.org and pressed onto CD's, while -STABLE is the 'kept-up-to-date' version that's obtainable by updating and recompiling the source (http://www.freebsd.org/handbook/current-stable.html) I was presently at 4.1 -STABLE before this, and was going to try out a whole bunch of new servers (samba and some gnome stuff), so I wanted to update the source and rebuild. I knowingly updated just the RELENG_4 branch, so I might have just caught a transitory bug, like you suggested. Thanks for the insight, and if you know of anything else that might help me out, I would appreciate all comments. Jon ***************************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. ***************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message