Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 15:38:31 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        current@FreeBSD.ORG
Subject:   Re: Make world breakage...
Message-ID:  <20000112153831.W302@sturm.canonware.com>
In-Reply-To: <20000113001631.C4148@yedi.iaf.nl>; from wilko@yedi.iaf.nl on Thu, Jan 13, 2000 at 12:16:31AM %2B0100
References:  <200001121956.e0CJuNw65075@gratis.grondar.za> <20000112220725.A2942@yedi.iaf.nl> <20000112132225.T302@sturm.canonware.com> <20000113001631.C4148@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 13, 2000 at 12:16:31AM +0100, Wilko Bulte wrote:
> On Wed, Jan 12, 2000 at 01:22:25PM -0800, Jason Evans wrote:
> > On Wed, Jan 12, 2000 at 10:07:25PM +0100, Wilko Bulte wrote:
> > > On Wed, Jan 12, 2000 at 09:56:22PM +0200, Mark Murray wrote:
> > > > Hi
> > > > 
> > > > Anyone else seeing this?
> 
> ...
> 
> > > /usr/obj/usr/src/alpha/usr/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a(mktemp.o)
> > > In function `_gettemp':
> > > mktemp.c(.text+0x3f0): undefined reference to `_libc_open'
> > > mktemp.c(.text+0x3f4): undefined reference to `_libc_open'
> > > *** Error code 1
> > > 
> > > Stop in /usr/src/gnu/usr.bin/cc/cpp.
> > > *** Error code 1
> > 
> > libc successfully builds on Alpha with the changes I committed, though the
> > bootstrapping problem issue is the same.  As noted in another email I just
> > sent, do:
> 
> I had to add:
> 
> 	cd /usr/src
> 	make includes

What errors did you run into?

> make install did not work, maybe I should not do this multiuser?
> 
> miata#make install
> install -c -o root -g wheel -m 444   libc.a /usr/lib
> install -c -o root -g wheel -m 444   libc_p.a /usr/lib
> install -c -s -o root -g wheel -m 444     libc.so.4 /usr/lib
> /usr/libexec/ld-elf.so.1: /usr/lib/libc.so.4: Undefined symbol "_libc_open"
> *** Error code 70
> 
> I copied libc.so.4 manually to /usr/lib but that is not sufficient.
> It looks like ld-elf sticks to libc.so.4 even if I move the symlink 
> libc.so back from libc.so.4 to libc.so.3
> 
> > before doing a buildworld.  This probably isn't the correct way of
> > resolving such bootstrapping issues, but it works.
> 
> I'm no bootstrapping expert either, but I get the distinct feeling there
> should be an easier way :-(
> 
> Help! For now I don't date reboot my Alpha

Oh, that looks bad. =(  I got myself into a similar fix yesterday and had
to install FreeBSD on another partition to put a working libc.so.4 back in
place.  Keeping a spare copy of one that is known to work is a good idea.
This advice comes a wee bit late... =(

Jason


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000112153831.W302>