Date: Sat, 7 Oct 2006 09:55:16 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Ruslan Ermilov <ru@freebsd.org> Cc: stable@freebsd.org, Tobias Roth <roth@iam.unibe.ch> Subject: Re: buildworld: undefined reference to `SHA256_Update' Message-ID: <20061007095251.M18224@maildrop.int.zabbadoz.net> In-Reply-To: <20061007094855.GA156@rambler-co.ru> References: <20061007090725.GA3229@droopy.unibe.ch> <20061007094855.GA156@rambler-co.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Oct 2006, Ruslan Ermilov wrote: Hi, >> I get this buildworld error with a reshly updated RELENG_6: >> >> >> cc -O2 -pipe -fno-strict-aliasing -march=pentium-m -I/usr/src/secure/libexec/sftp-server/../../../crypto/openssh -include ssh_namespace.h -DNO_IDEA -o sftp-server sftp-server.o sftp-common.o -lssh -lcrypt -lcrypto -lz >> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_Update' >> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_Final' >> /usr/obj/usr/src/tmp/usr/lib/libssh.so: undefined reference to `SHA256_Init' >> *** Error code 1 >> >> Stop in /usr/src/secure/libexec/sftp-server. >> >> >> I was away for the last two weeks, so maybe this is already known? >> All I did so far was check the latest security advisories and google, >> but that turned out nothing usable. >> > Verify that libssh.so in objdir lists libmd as its dependency. > Verify that libmd.so in objdir has these functions. You should > get output similar to this: I have/had a similar problem yesterday evening. But I have the MK_ changes locally backported and built WITHOUT_KERBEROS which made things fail. I haven't had the time to diff to HEAD to find what was causing above. I could not reproduce it with __MAKE_CONF and SRCCONF set to /dev/null. So it might be a locally set option in make.conf? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061007095251.M18224>