Subject: is there something I need to do with the new zlib?
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 01/17/2006 10:24:29
Somehow, I'm getting this zlib error now on a -current i386 machine
trying to build tools (using build.sh).

#   compile  makewhatis/makewhatis.lo
cc -O -I/usr/src/tools/compat/obj.i386 -I/usr/src/tools/compat/obj.i386/include  -I/usr/src/tools/makewhatis/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -DNROFF="\"nbnroff\"" -I/usr/src/usr.bin -c -o makewhatis.lo.o    /usr/src/libexec/makewhatis/makewhatis.c
In file included from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/src/tools/compat/compat_defs.h:584:1: warning: "htobe16" redefined
In file included from /usr/include/machine/endian.h:3,
                  from /usr/include/sys/types.h:98,
                  from /usr/src/tools/compat/compat_defs.h:32,
                  from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/include/sys/endian.h:153:1: warning: this is the location of the previous definition
In file included from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/src/tools/compat/compat_defs.h:587:1: warning: "htobe32" redefined
In file included from /usr/include/machine/endian.h:3,
                  from /usr/include/sys/types.h:98,
                  from /usr/src/tools/compat/compat_defs.h:32,
                  from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/include/sys/endian.h:154:1: warning: this is the location of the previous definition
In file included from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/src/tools/compat/compat_defs.h:590:1: warning: "htobe64" redefined
In file included from /usr/include/machine/endian.h:3,
                  from /usr/include/sys/types.h:98,
                  from /usr/src/tools/compat/compat_defs.h:32,
                  from /usr/src/tools/compat/obj.i386/nbtool_config.h:137,
                  from /usr/src/libexec/makewhatis/makewhatis.c:40:
/usr/include/sys/endian.h:155:1: warning: this is the location of the previous definition
In file included from /usr/src/libexec/makewhatis/makewhatis.c:69:
/usr/include/zlib.h:79: error: parse error before "OF"
/usr/include/zlib.h:80: error: parse error before "OF"
/usr/include/zlib.h:96: error: parse error before "alloc_func"
/usr/include/zlib.h:103: error: parse error before '}' token
/usr/include/zlib.h:105: error: parse error before '*' token
/usr/include/zlib.h:214: error: parse error before "OF"
/usr/include/zlib.h:244: error: parse error before "OF"

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte