Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2000 12:11:36 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        tony <tony@tntpro.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Question with make world breakage
Message-ID:  <3A01CA78.2CA4055C@urx.com>
References:  <14847.65087.529538.447033@guru.mired.org> <007c01c04506$22d55320$0a00a8c0@tntpro.com>

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


tony wrote:
> 
> where do I go from here? this started two days ago, I keep cvsuping hoping
> it will fix it self but everytime I make world I get this:
> 
> PS it should be noted that make world went fine once, then I went to
> config/make install kernel and that failed, so I recvsuped and that is when
> make world started stalling
> 
> >>> stage 1: bootstrap tools
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386
> DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"
> MACHINE_ARCH=i386  TOOLS_PREFIX=/usr/obj/usr/src/i386
> PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/u
> sr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f
> Makefile.inc1 -DNOMAN -DNOINFO -DNOHTML bootstrap-tools
> cd /usr/src/games/fortune/strfile;  make obj;  make depend;  make all;  make
> install
> /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for
> /usr/src/games/fortune/strfile
> rm -f .depend
> mkdep -f .depend -a    -I/usr/obj/usr/src/i386/usr/include
> /usr/src/games/fortune/strfile/strfile.c
> cd /usr/src/games/fortune/strfile; make _EXTRADEPEND
> echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a  >> .depend
> cc -O -pipe -Wall   -I/usr/obj/usr/src/i386/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> cc -O -pipe -Wall   -I/usr/obj/usr/src/i386/usr/include  -o strfile
> strfile.o
> /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
> *** Error code 1
> 
> Stop in /usr/src/games/fortune/strfile.
> *** Error code 1

You are asking 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 this on -stable.

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 the upgrade first came out, I was hit with this problem. At that
time, I didn't find this all necessary. I only had to modify .../csu
and then I did a make all install. The crt...'s are built in stage 2
but strfile needs the changes in stage 1.

Also make sure you don't have anything but the Makefile in
/usr/src/gnu/lib/csu.

Kent

> 
> 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?3A01CA78.2CA4055C>