From owner-freebsd-current@FreeBSD.ORG Thu Mar 3 22:51:39 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D22C16A4CE for ; Thu, 3 Mar 2005 22:51:39 +0000 (GMT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA89543D3F for ; Thu, 3 Mar 2005 22:51:38 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050303225138.FTAT6521.lakermmtao02.cox.net@mezz.mezzweb.com>; Thu, 3 Mar 2005 17:51:38 -0500 Date: Thu, 03 Mar 2005 16:52:53 -0600 To: "Alec Berryman" References: <1109729753.757.6.camel@OmniBook.accton.com.tw> <20050302024418.GA57759@thened.net> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20050302024418.GA57759@thened.net> User-Agent: Opera M2/7.54 (Linux, build 955) cc: Chen Lihong cc: freebsd-current@freebsd.org Subject: Re: New kerberos 5 failed to build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 22:51:39 -0000 On Tue, 1 Mar 2005 21:44:18 -0500, Alec Berryman wrote: > Chen Lihong on 2005-03-02 10:15:53 +0800: > >> I cvsup'ed src this morning (2 March 01:00 UTC). And run this: > > > >> -c >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c: >> In function `setpw_send_request': >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c:170: >> error: syntax error before "chpw" >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c:188: >> error: `chpw' undeclared (first use in this function) >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c:188: >> error: (Each undeclared identifier is reported only once >> /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c:188: >> error: for each function it appears in.) > > I got the same error on 5-STABLE from a cvsup an hour ago, with and > without ccache. I don't feel like this was caused by the Heimdal > update half a week ago; it compiled fine around the day before > yesterday. For some reason, it doesn't like the CC and CXX if they were poked. I used to get the same errors until I disable the CC and CXX in the make.conf. If you are using same exactly from ccache's guide, then you should change like this.. ================================= .if !defined(NOCCACHE) .if ${.CURDIR:M/usr/src*} CC=/usr/local/libexec/ccache/cc CXX=/usr/local/libexec/ccache/c++ .else CC=cc CXX=c++ .endif .else CC=/usr/bin/cc CXX=/usr/bin/c++ .endif ================================= to... ================================= .if !defined(NOCCACHE) .if ${.CURDIR:M/usr/src*} #CC=/usr/local/libexec/ccache/cc #CXX=/usr/local/libexec/ccache/c++ .else CC=cc CXX=c++ .endif .else CC=/usr/bin/cc CXX=/usr/bin/c++ .endif ================================= The 'make buildworld' works now without ccache and with CC/CXX untouch. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org