Subject: Re: Undefined PLT symbol "__stat30" (symnum = 44)
To: Tom Spindler <dogcow@babymeat.com>
From: Kenneth Freidank <kennethcf@earthlink.net>
List: current-users
Date: 09/25/2007 21:07:30
1) I just rebuilt the toolset on box A.  Box A is running 4.99.19.  I 
even used the -m flag to make no mistakes.
===> Summary of results:
         build.sh command: ./build.sh -O /usr/obj -T /usr/tools -D 
/usr/destdir/ -U -m i386 tools
         build.sh started: Tue Sep 25 20:08:57 EST 2007
         NetBSD version:   4.99.31
         MACHINE:          i386
         MACHINE_ARCH:     i386
         Build platform:   NetBSD 4.99.19 i386
         HOST_SH:          /bin/sh
         TOOLDIR path:     /usr/tools
         DESTDIR path:     /usr/destdir
         RELEASEDIR path:  /usr/obj/releasedir
         makewrapper:      /usr/tools/bin/nbmake-i386
         Updated /usr/tools/bin/nbmake-i386
         Tools built to /usr/tools
         build.sh ended:   Tue Sep 25 20:21:02 EST 2007
===> .
t5048$

2) I telnetted to box B and changed to root and NFS mounted all my 
directories.
3) TRY1:  From telnet session on box B, I tried to install new 4.99.31 
userland.  Same problem and error.  Remember box B has 4.99.31 kernel 
with old 3.1 userland.
4) TRY2:  From telnet session on box B, I then restored the old 3.1 
kernel on box B, i.e. back to original 3.1 config with GENERIC.   I 
remounted directories, then tried to install new 4.99.31 userland...same 
problem

t600# ./build.sh -O /usr/obj -T /usr/tools -D /usr/destdir -x install=/
===> build.sh command: ./build.sh -O /usr/obj -T /usr/tools -D 
/usr/destdir -x install=/
===> build.sh started: Tue Sep 25 15:30:51 EST 2007
===> NetBSD version:   4.99.31
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 3.1 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#

Tom Spindler wrote:
> How did you try installing your userland? This is symptomatic of
> "the programs were installed, but the libraries weren't."
>  
>
>