Date: Thu, 28 Nov 2019 13:50:15 +0100 From: Peter Blok <pblok@bsd4all.org> To: freebsd-hackers@freebsd.org Subject: dynamic loadable library multiple degined symbols Message-ID: <BEA0011D-0981-4FF7-8035-3D26C94FDD36@bsd4all.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, named (bind9.14) has a function called dns_name_equal. (0000000000443ac0 T dns_name_equal) named dynamically loads dlz_bind9_14.so is build from dlz_bind9.c and calls this function, but dns_name_equal was undefined so it got resolved to the version of named. The function is defined in dns_utils.c, so I changed the building to include that file. Now dlz_bind9_14.so is using dlz_bind9.c and dns_utils.c also has the right dns_name_equal (000000000000bee0 T dns_name_equal) defined Unfortunately the code inside dlz_bind9_14.so still calls the function out of named. Is this something that should have been resolved at compile/link time of dlz_bind9_14.so? If so, how? Note that the samba build uses waf and wscript files. Peter [-- Attachment #2 --] 0 *H 010 `He 0 *H 00 l"ϫmW0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA0 180414000000Z 210413235959Z0D10 UNL10U Peter Blok1 0 *H pblok@bsd4all.org0"0 *H 0 O̴͚UFkڅUĈIGm2C:C<&㎎ְkx҃M\xiKdD<eb#ۨ>EgN YFNU5 4dȬZ T.~qt #2^A ^|<2G"plj84I(ARٝ*WHPdvKۑsY,pyM/ٔUاO)`nj90sn%ԛ 00U#0la|=+qH^ċ0U\Yx%Z&?^0U0U0 0U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0ZUS0Q0OMKIhttp://crl.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crl0+0}0U+0Ihttp://crt.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0 *H e5pm| Z3"2pgX*<θQD0.1TFu3Bqϙ}')uao."YTcRa8yv4>Yv;?K(Z7?kNZY6o0,0=։ϣK_yv6c]R3ѵrʀNξK)k ?bD'vnoDkRO3{$H 4uD!100010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA l"ϫmW0 `He 0 *H 1 *H 0 *H 1 191128125015Z0/ *H 1" I5Dsf;eNclxv+&Kex0 +710010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA l"ϫmW0*H 1010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA l"ϫmW0 *H &lr':<eZV_~;I+l͡ FW,HZ>?K1Hgu.Nޛ1k/e<gSA=tO]&Zbizxs|G=!>$5wuz ⦥XC|oT89Q 51jY<l0t xȄ_#EQt0nk4z][ޟz]SZ)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEA0011D-0981-4FF7-8035-3D26C94FDD36>
