Subject: Re: Undefined PLT symbol "__stat30" (symnum = 44)
To: Kenneth Freidank <kennethcf@earthlink.net>
From: Sarton O'Brien <bsd-xen@roguewrt.org>
List: current-users
Date: 09/26/2007 09:22:19
On Wed, 26 Sep 2007 09:53:30 am Kenneth Freidank wrote:
> I copied the kernel from box A to B.  Rebooted box B and it worked!
>
> When I tried to install userland, that is when I got my failure.
>
> t600# pwd
> /usr/src
> t600# ./build.sh -O /usr/obj/ -T /usr/tools/ -D /usr/destdir/ -U -x
> install=/
> ===> build.sh command: ./build.sh -O /usr/obj/ -T /usr/tools/ -D
> /usr/destdir/ -U -x install=/
> ===> build.sh started: Tue Sep 25 08:17:46 EST 2007
> ===> NetBSD version:   4.99.31
> ===> MACHINE:          i386
> ===> MACHINE_ARCH:     i386
> ===> Build platform:   NetBSD 4.99.31 i386
> ===> HOST_SH:          /bin/sh
> /usr/tools/bin/nbmake: Undefined PLT symbol "__stat30" (symnum = 44)
>
> ERROR: raw_getmakevar TOOLCHAIN_MISSING: /usr/tools/bin/nbmake failed
> *** BUILD ABORTED ***
> t600#

I'd be guessing but I'd say your tools are out or linked against something 
that is out or not applicable under the new kernel.

Once again, I'd be guessing but I'd try rebuilding your tools under the new 
kernel.

Simplest form: 

./build.sh tools

And see if that helps.

Sarton