Subject: make build, next try
To: None <current-users@netbsd.org>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: current-users
Date: 01/02/1999 10:30:00
Hi,

a) mbrlabel sees multiple struct mbr_partition definitions from
   usr.sbin/mbrlabel/mbrlabel.h and machine/disklabel_mbr.h.

   After uncommenting mbrlabel in the Makefile above,

b) apparently I have multiple bind libraries... inside and outside of libc:

cc -static  -o dig dig.o subr.o send.o list.o debug.o -L/usr/local/src/usr.sbin/bind/lib/obj.arm32/ -lbind
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_init.o): Definition of symbol `___res_randomid' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(inet_addr.o): Definition of symbol `_inet_addr' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(inet_addr.o): Definition of symbol `_inet_aton' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `__getshort' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___putshort' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___dn_skipname' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `__getlong' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___res_hnok' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___putlong' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___res_dnok' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___dn_comp' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___res_ownok' (multiply defined)
/usr/local/src/usr.sbin/bind/lib/obj.arm32//libbind.a(res_comp.o): Definition of symbol `___res_mailok' (multiply defined)
/usr/lib/libc.a(res_init.o): Definition of symbol `___res_randomid' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `__getshort' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___putshort' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___dn_skipname' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `__getlong' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___res_hnok' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___putlong' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___res_dnok' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___dn_comp' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___res_ownok' (multiply defined)
/usr/lib/libc.a(res_comp.o): Definition of symbol `___res_mailok' (multiply defined)
/usr/lib/libc.a(inet_pton.o): Definition of symbol `_inet_addr' (multiply defined)
/usr/lib/libc.a(inet_pton.o): Definition of symbol `_inet_aton' (multiply defined)
collect2: ld returned 1 exit status

   

	-is