8.2-PRE: hastd: Compile Error
Duane H. Hesser
dhesser at accima.com
Tue Jan 18 20:11:16 UTC 2011
On Mon, 17 Jan 2011 16:38:57 -0600 (CST)
Larry Rosenman <ler at lerctr.org> 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.
> # $
"make -i" will get you past it, provided you do not need 'hastd',
and provided you watch carefully for other possible errors (there
appear to be no others at this time).
--
Duane H. Hesser <dhesser at accima.com>
More information about the freebsd-stable
mailing list