Subject: 2.0RC4 build failure with MKDYNAMICROOT=no
To: None <netbsd-help@netbsd.org>
From: Cheese Lottery <cheeselottery@gmail.com>
List: netbsd-help
Date: 10/25/2004 22:32:13
With MKDYNAMICROOT=no, I get this error when doing ./build.sh distribution

/usr/src/tooldir.i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld:
warning: libdes.so.7, needed by
/usr/src/destdir.i386/usr/lib/libkrb.so, not found (try using -rpath
or -rpath-link)
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_pcbc_encrypt'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_new_random_key'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_key_sched'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_read_pw_string'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_set_key'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_cbc_cksum'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_quad_cksum'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_ecb_encrypt'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_string_to_key'
/usr/src/destdir.i386/usr/lib/libkrb.so: undefined reference to
`des_fixup_key_parity'
collect2: ld returned 1 exit status

ERROR: Failed to make distribution
*** BUILD ABORTED ***

This doesn't occur with MKDYNAMICROOT=yes.  Is MKDYNAMICROOT now an
unsupported option?

Contents of my /etc/mk.conf:

.sinclude "/usr/pkg/share/mk/cpuflags.mk"

ACCEPTABLE_LICENSES+=no-profit

COPTS+=-pipe
CFLAGS+=-pipe

DESTDIR=/usr/src/destdir.i386
TOOLDIR=/usr/src/tooldir.i386
RELEASEDIR=/usr/src/release.i386
MKDYNAMICROOT=no
MKX11=no