Subject: building -current odd warnings
To: NetBSD-current <current-users@NetBSD.org>
From: dixie <dixieml@imap.cc>
List: current-users
Date: 02/02/2006 15:16:29
Hi list, I've just built macppc-3.99.15 from yesterday sources but while 
watching the screen I noticed some warnings appearing very frequently.
They appeared also while building tools.

As an example here follow one of those, they are all slightly identical.
---------------------------------------------------------------------------------------------------------------------------------------

In file included from /usr/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/libexec/makewhatis/makewhatis.c:40:
                 /usr/src/tools/compat/compat_defs.h:580:1: warning: 
"htole64" 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/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/libexec/makewhatis/makewhatis.c:40:
                 /usr/include/sys/endian.h:142:1: warning: this is the 
location of the previous definition
compile  makewhatis/manconf.lo
In file included from /usr/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/src/tools/compat/compat_defs.h:574:1: warning: 
"htole16" 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/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/include/sys/endian.h:140:1: warning: this is the 
location of the previous definition
In file included from /usr/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/src/tools/compat/compat_defs.h:577:1: warning: 
"htole32" 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/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/include/sys/endian.h:141:1: warning: this is the 
location of the previous definition
In file included from /usr/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/src/tools/compat/compat_defs.h:580:1: warning: 
"htole64" 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/obj/tools/compat/nbtool_config.h:137,
                 from /usr/src/usr.bin/man/manconf.c:33:
                 /usr/include/sys/endian.h:142:1: warning: this is the 
location of the previous definition
------------------------------------------------------------------------------------------------------------------------------------------

Are they normal?
I don't remember to have seen them in the past.
Anyway distribution  completed successfully.
Cheers

dixie