Subject: PAM errors during current build
To: None <current-users@NetBSD.org, port-sparc64@NetBSD.org>
From: None <sigsegv@rambler.ru>
List: port-sparc64
Date: 03/12/2005 13:28:54
Greetings, I'm doing 'build.sh release' from current source tree for
sparc64 and it fails with the following error messages. Is anyone else
seeing this or is it sparc64 specific?
# link instfs/ramdiskbin
/opt/tools.sparc64/bin/sparc64--netbsd-gcc -Wl,-nostdlib -static -o
ramdiskbin -Wl,-rpath-link,/opt/obj.sparc64/destdir.s
parc64/lib:/opt/obj.sparc64/destdir.sparc64/usr/lib
-L/opt/obj.sparc64/destdir.sparc64/lib -B/opt/obj.sparc64/destdir.sparc
64/usr/lib/ -B/opt/obj.sparc64/destdir.sparc64/usr/lib/ ramdiskbin.o
cat.cro chmod.cro cp.cro dd.cro df.cro ed.cro ln.cro l
s.cro mkdir.cro mt.cro mv.cro pax.cro pwd.cro rcmd.cro rcp.cro rm.cro
sh.cro stty.cro sync.cro dhclient.cro disklabel.cro fsc
k.cro fsck_ffs.cro fsck_lfs.cro ifconfig.cro init.cro mknod.cro
mount.cro mount_cd9660.cro mount_ext2fs.cro mount_ffs.cro mou
nt_kernfs.cro mount_lfs.cro mount_msdos.cro mount_nfs.cro newfs.cro
newfs_lfs.cro ping.cro raidctl.cro reboot.cro restore.cro
route.cro shutdown.cro slattach.cro swapctl.cro sysctl.cro umount.cro
ftp.cro getopt.cro gzip.cro less.cro sed.cro tip.cro l
fs_cleanerd.cro chat.cro chown.cro chroot.cro installboot.cro pppd.cro
sysinst.cro progress.cro libhack.o -ledit -lutil -lcu
rses -ltermcap -lrmt -lbz2 -lcrypt -ll -lm -lpcap -lz
-L/opt/obj.sparc64/destdir.sparc64/usr/lib -L/opt/obj.sparc64/destdir
.sparc64/usr/lib
/opt/obj.sparc64/destdir.sparc64/usr/lib/libc.a(getmntinfo.o)(.text+0x24):
In function `_getmntinfo':
: warning: warning: reference to obsolete getfsstat(); use getvfsstat()
pppd.cro(.text+0x1e00): In function `plogin':
: undefined reference to `pam_start'
pppd.cro(.text+0x1e34): In function `plogin':
: undefined reference to `pam_strerror'
pppd.cro(.text+0x1e5c): In function `plogin':
: undefined reference to `pam_set_item'
pppd.cro(.text+0x1e6c): In function `plogin':
: undefined reference to `pam_authenticate'
pppd.cro(.text+0x1e90): In function `plogin':
: undefined reference to `pam_acct_mgmt'
pppd.cro(.text+0x1ea8): In function `plogin':
: undefined reference to `pam_open_session'
pppd.cro(.text+0x1eb8): In function `plogin':
: undefined reference to `pam_strerror'
pppd.cro(.text+0x1f70): In function `plogout':
: undefined reference to `pam_close_session'
pppd.cro(.text+0x1f7c): In function `plogout':
: undefined reference to `pam_end'
collect2: ld returned 1 exit status
*** Failed target: ramdiskbin
*** Failed command: /opt/tools.sparc64/bin/sparc64--netbsd-gcc
-Wl,-nostdlib -static -o ramdiskbin -Wl,-rpath-link,/opt/obj.s
parc64/destdir.sparc64/lib:/opt/obj.sparc64/destdir.sparc64/usr/lib
-L/opt/obj.sparc64/destdir.sparc64/lib -B/opt/obj.sparc64
/destdir.sparc64/usr/lib/ -B/opt/obj.sparc64/destdir.sparc64/usr/lib/
ramdiskbin.o cat.cro chmod.cro cp.cro dd.cro df.cro ed.
cro ln.cro ls.cro mkdir.cro mt.cro mv.cro pax.cro pwd.cro rcmd.cro
rcp.cro rm.cro sh.cro stty.cro sync.cro dhclient.cro diskl
abel.cro fsck.cro fsck_ffs.cro fsck_lfs.cro ifconfig.cro init.cro
mknod.cro mount.cro mount_cd9660.cro mount_ext2fs.cro mount
_ffs.cro mount_kernfs.cro mount_lfs.cro mount_msdos.cro mount_nfs.cro
newfs.cro newfs_lfs.cro ping.cro raidctl.cro reboot.cro
restore.cro route.cro shutdown.cro slattach.cro swapctl.cro sysctl.cro
umount.cro ftp.cro getopt.cro gzip.cro less.cro sed.c
ro tip.cro lfs_cleanerd.cro chat.cro chown.cro chroot.cro
installboot.cro pppd.cro sysinst.cro progress.cro libhack.o -ledit
-lutil -lcurses -ltermcap -lrmt -lbz2 -lcrypt -ll -lm -lpcap -lz
-L/opt/obj.sparc64/destdir.sparc64/usr/lib -L/opt/obj.sparc6
4/destdir.sparc64/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /opt/src/distrib/sparc64/instfs
*** Failed target: ramdiskbin.strip
*** Failed command: /opt/tools.sparc64/bin/nbmake -f ramdiskbin.mk
ramdiskbin
*** Error code 1