From owner-freebsd-stable@FreeBSD.ORG Tue Jan 18 07:53:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE9821065694 for ; Tue, 18 Jan 2011 07:53:35 +0000 (UTC) (envelope-from laa@cemu.ru) Received: from m.cemu.ru (m.cemu.ru [194.186.216.68]) by mx1.freebsd.org (Postfix) with ESMTP id 639898FC20 for ; Tue, 18 Jan 2011 07:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=laa.zp.ua; s=dkim; h=Sender:In-Reply-To:Content-Type:Mime-Version:References:Message-ID:Subject:Cc:From:Date; bh=1pkWpPan7h9V+XI2/mvPriRq2fq5yOBkkhoGZqidfrk=; b=XfuvxD9gI+8wb9cJqIyqlxlrTl12MCljIUv8fmCinIZx01yjJbz/x3QE01/6drOopXcnWF/FTEcK1cu0iLIJdnthFSVrLiD5SUv4HIgQIT4/34CoFXPH01HVzOcVLG0FUCYQ29haG5hJjGK73v0nsEh9CGBhSYjRs6n8Liym+so=; Received: by m.cemu.ru with local (Exim) (envelope-from ) id 1Pf65R-000GvL-L0 for freebsd-stable@freebsd.org; Tue, 18 Jan 2011 10:34:41 +0300 Date: Tue, 18 Jan 2011 10:34:41 +0300 From: Lystopad Aleksandr Cc: freebsd-stable@freebsd.org Message-ID: <20110118073441.GT34926@laa.zp.ua> References: <4D35411A.6090102@rdtc.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4D35411A.6090102@rdtc.ru> User-Agent: Mutt/1.4.2.3i Sender: laa Subject: Re: 8.2-PRE: hastd: Compile Error 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: Tue, 18 Jan 2011 07:53:35 -0000 Hello, Eugene Grosbein! On Tue, Jan 18, 2011 at 01:28:26PM +0600 egrosbein@rdtc.ru wrote about "Re: 8.2-PRE: hastd: Compile Error": > On 18.01.2011 04:38, Larry Rosenman wrote: > > What can I do to fix this? > > > > csup'd around 2pm Central (US) time from cvsup5. > > > > cc -O2 -pipe -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c token.c > > cc1: warnings being treated as errors > > /usr/src/sbin/hastd/token.l:456: warning: function declaration isn't a prototype > > *** Error code 1 > > > > Stop in /usr/src/sbin/hastd. > > *** Error code 1 > > > > Stop in /usr/src/sbin. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > # $ > > Someone have to fix hastd's Makefile and change WARNS level there. > This problem breaks source upgrade. There are solution from Vsevolod Lobko: : just do: : : cd /usr/src/usr.bin/lex : make obj : make : make install : : and buildworld works properly in http://www.freebsd.org/cgi/query-pr.cgi?pr=153947 I make buildworld without problems after that yesturday. -- Lystopad Olexandr