From owner-freebsd-stable@FreeBSD.ORG Sat Oct 7 10:00:13 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35C5916A415; Sat, 7 Oct 2006 10:00:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AC2B43D46; Sat, 7 Oct 2006 10:00:12 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 4C1D41FFDD3; Sat, 7 Oct 2006 12:00:10 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id AED6E1FFBB6; Sat, 7 Oct 2006 12:00:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id ABAB744487F; Sat, 7 Oct 2006 09:55:16 +0000 (UTC) Date: Sat, 7 Oct 2006 09:55:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Ruslan Ermilov In-Reply-To: <20061007094855.GA156@rambler-co.ru> Message-ID: <20061007095251.M18224@maildrop.int.zabbadoz.net> References: <20061007090725.GA3229@droopy.unibe.ch> <20061007094855.GA156@rambler-co.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: stable@freebsd.org, Tobias Roth Subject: Re: buildworld: undefined reference to `SHA256_Update' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2006 10:00:13 -0000 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