8.2-PRE: hastd: Compile Error

Eugene Grosbein egrosbein at rdtc.ru
Tue Jan 18 07:28:35 UTC 2011


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.

Eugene Grosbein





More information about the freebsd-stable mailing list