Hi, The attached patch worked.
The output of readelf with the patch is in the http://people.freebsd.org/~syrinx/readelf.txt, the file also contains the output of readelf main.o without the patch and with gcc. The output of readelf bsnmpd compiled with clang and gcc is in http://people.freebsd.org/~syrinx/readelf-bsnmpd.txt . I hope this helps. cheers, Shteryana On 12/12/10, Dimitry Andric <d...@freebsd.org> wrote: > On 2010-12-11 16:42, Shteryana Shopova wrote: >> This is now fixed. However I wouldn't expect bsnmpd(1) compiled with >> clang to work - it didn't run last time I checked several months ago, >> and I still get the same error - >> >> udo /usr/sbin/bsnmpd -d -c /root/snmpd.config >> snmpd[80050]: lm_load: open /usr/lib/snmp_mibII.so: Undefined symbol >> "oid_zeroDotZero" >> snmpd[80050]: init dep failed: 13 1.3.6.1.4.1.12325.1.1.1.6 >> 5.109.105.98.73.73 >> snmpd[80050]: error in config file >> >> bsnmpd(1) uses export-dynamic flag > > Can you please try the attached patch, which makes clang pass the > -export-dynamic flag to the linker properly? > _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"