[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bsdi and 2.9.3b15p1



Hi,

the new resolve code breaks some stuff on BSDI.

dunno what changed but b14 was fine.. I only checked one symbol and there
the change is simple :-)

resolv.h:u_int16_t res_randomid __P((void));

is defined in the /usr/include/resolv.h
and b15 redefines it in ircd/res_init.c:
u_int16_t
res_randomid()

in b14 same routine has ircd name not system name:
u_int16_t
ircdres_randomid()

now.. should I make ircd use his own randomid and not link the libs including
system code or why was the name redefined :-) 

nxgen: {19} % uname -a
BSD/OS nxgen.webbernet.net 3.0 BSDI BSD/OS 3.0 Kernel #0: Fri Apr  4 18:00:33 EST 1997     ircadmin@xxxxxxxxxxxxxxxxxxx:/usr/src/sys/compile/opti-ircd.sec.kern-1  i386

nxgen: {22} % make
Building ircd
/bin/sh version.c.SH
Extracting IRC/ircd/version.c...
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include -c version.c
gcc -g -O2 -DHAVE_CONFIG_H -I. -I../include channel.o class.o hash.o ircd.o list.o res.o s_auth.o s_bsd.o s_conf.o  s_debug.o s_err.o s_misc.o s_numeric.o s_serv.o s_service.o s_user.o  s_zip.o whowas.o note.o res_init.o res_comp.o res_mkquery.o bsd.o dbuf.o packet.o send.o match.o parse.o support.o inet_addr.o version
.o  -lz -o ircd -lm
../ircd/res_init.c:648: Definition of symbol ___res_randomid (multiply defined)
../ircd/res_comp.c:90: Definition of symbol _dn_expand (multiply defined)
../ircd/res_comp.c:175: Definition of symbol _dn_comp (multiply defined)
../ircd/res_comp.c:253: Definition of symbol ___dn_skipname (multiply defined)
../ircd/res_comp.c:348: Definition of symbol __getshort (multiply defined)
../ircd/res_comp.c:370: Definition of symbol __getlong (multiply defined)
../ircd/res_comp.c:385: Definition of symbol ___putshort (multiply defined)
../ircd/res_comp.c:393: Definition of symbol ___putlong (multiply defined)
res_comp.o: Definition of symbol __getshort (multiply defined)
res_comp.o: Definition of symbol _dn_expand (multiply defined)
res_comp.o: Definition of symbol ___putshort (multiply defined)
res_comp.o: Definition of symbol ___dn_skipname (multiply defined)
res_comp.o: Definition of symbol __getlong (multiply defined)
res_comp.o: Definition of symbol ___putlong (multiply defined)
res_comp.o: Definition of symbol _dn_comp (multiply defined)
res_init.o: Definition of symbol ___res_randomid (multiply defined)
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.


tschoe Andi
-- 
 E-Mail: andyb@xxxxxxxxxxxxxx
 -
 Life is a beach in Southern California