On Sat, Apr 23, 2011 at 02:25:01AM +0200, Pawel Tyll
wrote:> Hi list,
> 
> ===> sbin/hastctl (all)
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c /usr/src/sbin/hastctl/../hastd/activemap.c
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c /usr/src/sbin/hastctl/../hastd/crc32.c
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c /usr/src/sbin/hastctl/../hastd/ebuf.c
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c /usr/src/sbin/hastctl/../hastd/hast_checksum.c
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c
/usr/src/sbin/hastctl/../hastd/hast_compression.c
> cc -O2 -pipe  -I/usr/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT
-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 -Wno-format -c /usr/src/sbin/hastctl/../hastd/hast_proto.c
> /usr/src/sbin/hastctl/../hastd/hast_proto.c:72: error:
'checksum_send' undeclared here (not in a function)
> /usr/src/sbin/hastctl/../hastd/hast_proto.c:72: error:
'checksum_recv' undeclared here (not in a function)
> cc1: warnings being treated as errors
> /usr/src/sbin/hastctl/../hastd/hast_proto.c:72: warning: missing
initializer
> /usr/src/sbin/hastctl/../hastd/hast_proto.c:72: warning: (near
initialization for 'pipeline[1].hps_send')
> *** Error code 1
> 
> Stop in /usr/src/sbin/hastctl.
> *** 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.
> 
> 
> 
> # cat /etc/make.conf
> NO_ATM=true
> NO_BLUETOOTH=true
> NO_SENDMAIL=true
> NO_X11=true
> NO_GAMES=true
> NO_I4B=true
> NO_KERBEROS=true
> NO_LPR=true
> WITHOUT_X11=true
> NO_OPENSSL=true
> WITH_OPENSSL_PORT=yes
> NO_OPENSSH=true
> NO_X=true
> NO_BIND=true
> BOOT_COMCONSOLE_SPEED=38400
> PERL_VERSION=5.10.1
> WRKDIRPREFIX=/usr/obj
> 
> # added by use.perl 2010-11-10 06:40:47
> PERL_VERSION=5.10.1
What tag are you following / FreeBSD version are you using?  I ask
because you have a bunch of variables in make.conf that probably need to
go into /etc/src.conf.
I just rebuild world and kernel last night on a few of our systems
(RELENG_8) without any issue, and I did see in csup that some hast
changes were pulled down.
-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |