Subject: Re: what is: string_to_flags
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 09/30/2003 04:24:37
Rick Kelly <rmk@toad.rmkhome.com> typed:
: I can't find a reference to "string_to_flags" in any include files.

It's in bin/ls/stat_flags.c but shouldn't be used for the build tool since
HOST_CPPFLAGS should include (-DHAVE_CONFIG_H).  See tools/compat/defs.mk

So what happened with your CPPFLAGS?  Are you overriding it somewhere, e.g.
in /etc/mk.conf ?

:cc -O   -I/usr/src/bin/ls -I/usr/src/usr.sbin/mtree   -o xinstall \
:xinstall.lo getid.lo

Should be (continuations added):

cc -O -I/usr/netbsd/src/tools/compat -I/usr/netbsd/src/tools/compat/include \
-I/usr/netbsd/src/tools/binstall/../compat -DHAVE_CONFIG_H \
-D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE  -I/usr/netbsd/src/bin/ls \
-I/usr/netbsd/src/usr.sbin/mtree -c -o getid.lo.o \
/usr/netbsd/src/usr.sbin/mtree/getid.c

Regards,
-- 
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>