Subject: NetBSD 1.5.2 build of NetBSD 1.6.1 failing (fwd)
To: None <tech-toolchain@NetBSD.org>
From: VaX#n8 <vax@carolina.rr.com>
List: tech-toolchain
Date: 02/21/2004 17:35:31
------- Forwarded Message
From vax Wed Feb 18 18:07:23 2004
Return-path: <netbsd-users-owner-vax=carolina.rr.com@NetBSD.org>
by localhost with POP3 (fetchmail-6.1.0)
for vax@localhost (single-drop); Wed, 18 Feb 2004 18:07:22 -0500 (EST)
by ms-mss-02.southeast.rr.com
(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))
with ESMTP id <0HTA000NXWQWUX@ms-mss-02.southeast.rr.com> for
vax@carolina.rr.com; Wed, 18 Feb 2004 17:21:28 -0500 (EST)
by ms-mta-01.southeast.rr.com
(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))
with ESMTP id <0HTA00NAMWRQ0C@ms-mta-01.southeast.rr.com> for
vax@carolina.rr.com (ORCPT vax@carolina.rr.com); Wed,
18 Feb 2004 17:21:26 -0500 (EST)
by ncmx03.mgw.rr.com (8.12.10/8.12.8) with SMTP id i1IMLNgs010933 for
<vax@carolina.rr.com>; Wed, 18 Feb 2004 17:21:24 -0500 (EST)
(24.93.83.78) by mail.netbsd.org with SMTP; Wed, 18 Feb 2004 22:21:06 +0000
by linkdead.gangsta.local (Postfix) with ESMTP id 7EA3FB5F2 for
<netbsd-users@NetBSD.ORG>; Wed, 18 Feb 2004 17:18:51 -0500 (EST)
Date: Wed, 18 Feb 2004 17:18:50 -0500
From: VaX#n8 <vax@carolina.rr.com>
Subject: NetBSD 1.5.2 build of NetBSD 1.6.1 failing
Sender: netbsd-users-owner@NetBSD.org
To: netbsd-users@NetBSD.org
Message-id: <20040218221851.7EA3FB5F2@linkdead.gangsta.local>
Delivered-to: netbsd-users@netbsd.org
Original-recipient: rfc822;vax@carolina.rr.com
I compiled a NetBSD-1.6.1 kernel, but had to compile and install the new
config program.
I would like to build a 1.6.1 world but don't want to install over /
until later. I think I have to use -D to do so.
Thus I am trying to build a 1.6.1 world in /mnt/tmp using this command:
./build.sh -u -D /mnt/tmp
I am getting a bomb-out as follows:
...
/usr/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/i386--netbsdelf-gcc -O2 -Wall -W
strict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werr
or -I/usr/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSI
X_HEADERS -nostdinc -isystem /mnt/tmp/usr/include -c /usr/src/gnu/libexec/uucp/
cu/../common_sources/copy.c
/usr/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/i386--netbsdelf-gcc -o cu -nost
dlib /mnt/tmp/usr/lib/crt0.o /mnt/tmp/usr/lib/crtbegin.o cu.o prot.o log.o chat
.o conn.o copy.o /usr/src/gnu/libexec/uucp/libunix/obj/libunix.a /usr/src/gnu/li
bexec/uucp/libuuconf/obj/libuuconf.a /usr/src/gnu/libexec/uucp/libuucp/obj/libuu
cp.a -L/mnt/tmp/usr/lib -lgcc -lc -lgcc /mnt/tmp/usr/lib/crtend.o
/mnt/tmp/usr/lib/crt0.o: In function `___start':
/mnt/tmp/usr/lib/crt0.o(.text+0x9c): undefined reference to `atexit'
/mnt/tmp/usr/lib/crt0.o(.text+0xbe): undefined reference to `exit'
/mnt/tmp/usr/lib/crt0.o: In function `_rtld_setup':
/mnt/tmp/usr/lib/crt0.o(.text+0x122): undefined reference to `__syscall'
/mnt/tmp/usr/lib/crt0.o(.text+0x133): undefined reference to `__syscall'
/mnt/tmp/usr/lib/crt0.o(.text+0x155): undefined reference to `__syscall'
/mnt/tmp/usr/lib/crt0.o(.text+0x166): undefined reference to `__syscall'
/mnt/tmp/usr/lib/crt0.o(.text+0x177): undefined reference to `atexit'
cu.o: In function `main':
cu.o(.text+0xf0): undefined reference to `_ctype_'
cu.o(.text+0x112): undefined reference to `zbufalc'
...[lots more commonly-named functions]...
What am I doing wrong?
------- End of Forwarded Message