Date: Thu, 03 Mar 2005 16:52:53 -0600 From: "Jeremy Messenger" <mezz7@cox.net> To: "Alec Berryman" <alec@thened.net> Cc: freebsd-current@freebsd.org Subject: Re: New kerberos 5 failed to build Message-ID: <opsm226f0t9aq2h7@mezz.mezzweb.com> In-Reply-To: <20050302024418.GA57759@thened.net> References: <1109729753.757.6.camel@OmniBook.accton.com.tw> <20050302024418.GA57759@thened.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Mar 2005 21:44:18 -0500, Alec Berryman <alec@thened.net> 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: > > <snip> > >> -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsm226f0t9aq2h7>