Subject: Current Doesn't Build
To: NetBSD Sparc Users <port-sparc@netbsd.org>
From: Curt Sampson <cjs@cynic.net>
List: port-sparc
Date: 12/13/1999 03:29:09
Any fixes for the following?

7thsun # (cd distrib/sparc/ramdisk && make all)
make -f ramdiskbin.mk all
...
cc -static -o ramdiskbin ramdiskbin.o chroot.cro less.cro gzip.cro chflags.cro stty.cro mknod.cro rcp.cro ping.cro rm.cro ls.cro newfs.cro disklabel.cro cp.cro mount_ffs.cro mount_cd9660.cro init.cro fsck.cro sleep.cro mt.cro kill.cro getopt.cro mount_nfs.cro mount_kernfs.cro dd.cro mv.cro ed.cro cat.cro sysctl.cro installboot.cro sort.cro netstat.cro df.cro bzip2.cro expr.cro sed.cro rsh.cro chmod.cro pppd.cro ftp.cro route.cro restore.cro ifconfig.cro fsck_ffs.cro sync.cro pax.cro ln.cro chown.cro mount.cro sh.cro rcmd.cro mkdir.cro hostname.cro umount.cro reboot.cro test.cro -L/export/build/current/install.domestic/usr/lib  libhack.o -lz -lpcap -lbz2 -lrmt -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lkvm
/export/build/current/install.domestic/usr/lib/libc.a(gethnamaddr.o): In function `_gethtbyname':
gethnamaddr.o(.text+0xf3c): multiple definition of `_gethtbyname'
libhack.o(.text+0x1778): first defined here
/usr/bin/ld: Warning: size of symbol `_gethtbyname' changed from 144 to 64 in gethnamaddr.o
/export/build/current/install.domestic/usr/lib/libc.a(gethnamaddr.o): In function `_gethtbyaddr':
gethnamaddr.o(.text+0x1270): multiple definition of `_gethtbyaddr'
libhack.o(.text+0x1808): first defined here
/usr/bin/ld: Warning: size of symbol `_gethtbyaddr' changed from 116 to 164 in gethnamaddr.o
/export/build/current/install.domestic/usr/lib/libc.a(gethnamaddr.o): In function `_gethtent':
gethnamaddr.o(.text+0xce8): multiple definition of `_gethtent'
libhack.o(.text+0x15cc): first defined here
/usr/bin/ld: Warning: size of symbol `_gethtent' changed from 428 to 596 in gethnamaddr.o
/export/build/current/install.domestic/usr/lib/libc.a(gethnamaddr.o): In function `_sethtent':
gethnamaddr.o(.text+0xc64): multiple definition of `_sethtent'
libhack.o(.text+0x1548): first defined here
/export/build/current/install.domestic/usr/lib/libc.a(gethnamaddr.o): In function `_endhtent':
gethnamaddr.o(.text+0xcac): multiple definition of `_endhtent'
libhack.o(.text+0x1590): first defined here
collect2: ld returned 1 exit status
*** Error code 1

Stop.

cjs 
--
Curt Sampson  <cjs@cynic.net>   917 532 4208   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org