Date: Thu, 18 Jan 2001 02:10:13 -0800 From: Kent Stewart <kstewart@urx.com> To: Ashley Penney <ashp@unloved.org> Cc: freebsd-stable@freebsd.org Subject: Re: Urgh, buildworld errors. Message-ID: <3A66C105.108DA108@urx.com> References: <20010118095951.A11812@kyra.unloved.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ashley Penney wrote: > > Hiya, > > I upgraded the box to -STABLE, because of problems with the ida device > in 4.2-RELEASE. I noticed it failed to build ssh, so I figured I'd just > buildworld again. Now I get: > > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree > -------------------------------------------------------------- > rm -rf /usr/obj/usr/src/i386 > mkdir -p /usr/obj/usr/src/i386/usr/bin > mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout > mkdir -p /usr/obj/usr/src/i386/usr/games > mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts > mkdir -p /usr/obj/usr/src/i386/usr/libexec/elf > mkdir -p /usr/obj/usr/src/i386/usr/sbin > mkdir -p /usr/obj/usr/src/i386/usr/share/misc > mkdir -p /usr/obj/usr/src/i386/usr/include/arpa > mkdir -p /usr/obj/usr/src/i386/usr/include/g++/std > mkdir -p /usr/obj/usr/src/i386/usr/include/objc > mkdir -p /usr/obj/usr/src/i386/usr/include/protocols > mkdir -p /usr/obj/usr/src/i386/usr/include/readline > mkdir -p /usr/obj/usr/src/i386/usr/include/rpc > mkdir -p /usr/obj/usr/src/i386/usr/include/rpcsvc > mkdir -p /usr/obj/usr/src/i386/usr/include/openssl > mkdir -p /usr/obj/usr/src/i386/usr/include/security > mkdir -p /usr/obj/usr/src/i386/usr/include/ss > ln -sf /usr/src/sys /usr/obj/usr/src/i386/sys > > -------------------------------------------------------------- > >>> 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/usr/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 You can check the archives around 10/30/2000 for a number of threads on this. O'Brien had to change the initialization stuff to keep the gcc people considering our system. The are a number of fixes. If the csu directory only has the Makefile in it, the following worked for me cd /usr/src/gnu/lib/csu make make install Then do your buildworld again. Some people had to do 2 "make cleandir"'s before the first make. Then the buildworld would finish. 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-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A66C105.108DA108>