Subject: (make build, usr.bin/hesinfo) undefined reference to `hesiod_init'
To: None <current-users@netbsd.org>
From: =?iso-2022-jp?B?GyRCRiM4NhsoQiAgGyRCQD8bKEI=?= Makoto Fujiwara <makoto@ki.nu>
List: current-users
Date: 02/21/1999 11:41:29
When make build,
I got following. Could anyone help me to figure out what is wrong ?

all ===> usr.bin/hesinfo
gcc   -o hesinfo hesinfo.o 
hesinfo.o: In function `main':
hesinfo.o(.text+0x114): undefined reference to `hesiod_init'
hesinfo.o(.text+0x188): undefined reference to `hesiod_to_bind'
hesinfo.o(.text+0x240): undefined reference to `hesiod_resolve'
hesinfo.o(.text+0x2d8): undefined reference to `hesiod_free_list'
hesinfo.o(.text+0x2e0): undefined reference to `hesiod_end'
collect2: ld returned 1 exit status
*** Error code 1

Stop.

root@harry  9:54:46/990221(/usr/src)# ls -l usr.bin/hesinfo/
total 15
-rw-r--r--  1 root    wheel   595 Feb 21 09:41 .depend
drwxr-xr-x  2 makoto  wheel   512 Jan 26 21:19 CVS
-rw-rw-r--  1 makoto  wheel    97 Jan 26 07:45 Makefile
-rw-rw-r--  1 makoto  wheel  4669 Jan 26 07:45 hesinfo.1
-rw-rw-r--  1 makoto  wheel  2924 Jan 26 07:45 hesinfo.c
-rw-r--r--  1 root    wheel  3572 Feb 21 09:27 hesinfo.o

root@harry  10:11:17/990221(/usr/src)# uname -a
NetBSD harry 1.3I NetBSD 1.3I (MESH) #5: Sat Feb 20 06:58:16 JST 1999 
makoto@harry:/usr/src2/sys/arch/macppc/compile/MESH macppc
---
(Makoto Fujiwara)