Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2000 12:25:06 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        tony <tony@tntpro.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: the kernel fails here
Message-ID:  <3A01CDA2.547C4BD0@urx.com>
References:  <14847.65087.529538.447033@guru.mired.org> <007c01c04506$22d55320$0a00a8c0@tntpro.com> <00cc01c04508$777b5440$0a00a8c0@tntpro.com>

next in thread | previous in thread | raw e-mail | index | archive | help


tony wrote:
> 
> ibus __miibus_hack_dep.c
> /usr/lib/crtbeginS.o: In function `_init':
> /usr/lib/crtbeginS.o(.init+0x0): multiple definition of `_init'
> /usr/lib/crti.o(.init+0x0): first defined here
> /usr/lib/crtbeginS.o: In function `_fini':
> /usr/lib/crtbeginS.o(.fini+0x0): multiple definition of `_fini'
> /usr/lib/crti.o(.fini+0x0): first defined here
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/pcn.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/src/sys/compile/LUNAR

You are asking this question in the wrong list. If you try to follow
4-stable, you should also be subscibed to freebsd-stable. You also
have to either follow cvs-all, or have a link to it on freebsd.org.
There are many messages dealing with the crt... problem on -stable. 

If I were a beting person, I would bet you cvsup'ed and probably
didn't do a buildworld before you tried to buildkernel because your
buildworld would have died trying to build
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile in the buildworld
stage 1 section.

Now that your are in trouble, lets see how to fix it and let you get
on with the show.

David O'Brien's fix is as follows

cd /usr/src/lib/csu/i386-elf
make cleandir ; make cleandir ; make obj ; make depend ; make all
install
cd /usr/src/gnu/lib/csu
make cleandir ; make cleandir ; make obj ; make depend ; make all
install

When his upgrade first came out, I was hit with this problem. At that
time, his fix hadn't been developed and I only had to upgrade .../csu.
All I did was a make all install. The crt...'s are built in stage 2
but strfile needs the changes in stage 1. The buildworld dies really
quickly.

Also make sure you don't have anything but the Makefile in
/usr/src/gnu/lib/csu before you do the csu make. Then go to /usr/src
and following the buildworld, build[install]kernel KERNEL=LUNAR,
installworld sequence in /usr/src/UPDATING. It works because I just
finished cvsuping and updating my OPAL system.

Kent

-- 
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?3A01CDA2.547C4BD0>