Subject: Re: hp300 + NEW_TOOLCHAIN
To: None <jarkko.teppo@er-grp.com>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 10/11/2001 15:40:54
jarkko.teppo@er-grp.com wrote:

> On Wed, Oct 10, 2001 at 12:50:55PM +0100, Ben Harris wrote:
> > I think you need to run gnu/toolchain2netbsd.  That runs the "configure"
> > script for the toolchain on your architecture and converts the output to a
> > form that's usable by the NetBSD build process.  It needs to be run (and to
> > have the results committed) on each architecture, and this apparently hasn't
> > happened on m68k yet.
> >
> 
> Will try, as soon as I get myself out of *this* knot:
> 
> (after installing new libc:)
> bash-2.05# pwd
> /home/jarkko/NetBSD/src/usr.bin/make
> bash-2.05# make MKLINT=NO
> /usr/lib/libc.so.12: Undefined symbol "SYS___clone" (reloc type = 1, symnum = 83)
> bash-2.05# ls -l /usr/lib/libc.so.*
> lrwxr-xr-x  1 root  wheel      13 Oct 11 08:17 /usr/lib/libc.so.12 -> libc.so.12.79
> -r--r--r--  1 root  wheel  460166 Nov  3  2000 /usr/lib/libc.so.12.40.2
> -r--r--r--  1 root  wheel  610577 Jan  3  2001 /usr/lib/libc.so.12.69
> -r--r--r--  1 root  wheel  626764 Sep 26 22:51 /usr/lib/libc.so.12.78
> -r--r--r--  1 root  wheel  629166 Oct 11 08:17 /usr/lib/libc.so.12.79
> bash-2.05#

If you still have a root shell (or boot to single user and "mount -u /"
or /usr if it's a separate partition) and:

	cd /usr/lib
	rm /usr/lib/libc.so.12
	ln -s /usr/lib/libc.so.12.78 /usr/lib/libc.so.12
	rm /usr/lib/libc.so
	ln -s /usr/lib/libc.so.12.78 /usr/lib/libc.so

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/