8.2-PRE: hastd: Compile Error

Lystopad Aleksandr laa at laa.zp.ua
Tue Jan 18 07:53:35 UTC 2011


 Hello, Eugene Grosbein!

On Tue, Jan 18, 2011 at 01:28:26PM +0600
egrosbein at 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 


More information about the freebsd-stable mailing list