Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2011 10:34:41 +0300
From:      Lystopad Aleksandr <laa@laa.zp.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 8.2-PRE: hastd: Compile Error
Message-ID:  <20110118073441.GT34926@laa.zp.ua>
In-Reply-To: <4D35411A.6090102@rdtc.ru>
References:  <alpine.BSF.2.00.1101171638080.70357@borg> <4D35411A.6090102@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
 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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110118073441.GT34926>