Subject: amd build error
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 07/05/1999 18:56:48
Building from today's sources, I get tons of underfined symbols.  It 
may be a result of my tring to upgrade to ELF from source, but I don't
think so.  I've checked all the libraries, and they're all curernt.  
And nothing else has failed like this...

cc   -o amd -nostdlib -L/.././usr/lib /.././usr/lib/crt0.o /.././usr/lib/crtbegin.o conf_parse.o conf_tok.o srvr_nfs.o srvr_amfs_auto.o sched.o rpc_fwd.o restart.o opts.o ops_unionfs.o ops_umapfs.o ops_ufs.o ops_tmpfs.o ops_tfs.o ops_pcfs.o ops_nullfs.o ops_nfs3.o ops_nfs.o ops_mfs.o ops_cdfs.o ops_autofs.o nfs_subr.o nfs_start.o nfs_prot_svc.o mntfs.o mapc.o map.o info_union.o info_passwd.o info_nis.o info_ndbm.o info_file.o info_hesiod.o get_args.o conf.o clock.o autil.o amq_svc.o amq_subr.o amfs_union.o amfs_toplvl.o amfs_root.o amfs_program.o amfs_nfsx.o amfs_nfsl.o amfs_linkx.o amfs_link.o amfs_inherit.o amfs_host.o amfs_error.o amfs_direct.o amfs_auto.o amd.o am_ops.o -L/usr/src/usr.sbin/amd/libamu/obj -lamu -lrpcsvc -ll -lgcc -lc -lgcc /.././usr/lib/crtend.o
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08049f34
srvr_nfs.o: In function `start_ping':
srvr_nfs.o(.text+0x50): undefined reference to `plog'
srvr_nfs.o(.text+0x60): undefined reference to `plog'
srvr_nfs.o(.text+0x71): undefined reference to `rpc_msg_init'
srvr_nfs.o(.text+0xa0): undefined reference to `plog'
srvr_nfs.o(.text+0xa7): undefined reference to `going_down'
srvr_nfs.o: In function `got_portmap':
srvr_nfs.o(.text+0x125): undefined reference to `pickup_rpc_reply'
srvr_nfs.o(.text+0x145): undefined reference to `debug_flags'
srvr_nfs.o(.text+0x156): undefined reference to `dplog'

(lots more snipped)

am_ops.o: In function `ops_match':
am_ops.o(.text+0x448): undefined reference to `plog'
am_ops.o(.text+0x491): undefined reference to `plog'
am_ops.o(.text+0x4f4): undefined reference to `plog'
collect2: ld returned 1 exit status
*** Error code 1

Stop.

--------------------------------------------------------------------------
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------