Subject: Re: mail/postfix build: HAS_DB redefined
To: Jukka Salmi <j+nbsd@2005.salmi.ch>
From: Johnny Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 02/28/2005 10:44:38
Jukka Salmi wrote:
>
> While building mail/postfix from current pkgsrc on a NetBSD 2.0_STABLE
> i386 system, a message like the following is printed every time sys_defs.h
> is included:
>
> cc [...] -DHAS_DB [...] -c verify.c
> In file included from verify.c:166:
> ../../include/sys_defs.h:42:1: warning: "HAS_DB" redefined
> <command line>:14:1: warning: this is the location of the previous definition
>
> Removing 'CCARGS+=-DHAS_DB' from options.mk (or '#define HAS_DB' from
> sys_defs.h) suppresses the warning.
>
> So, what is the correct solution? -DHAS_DB was added to options.mk on
> Nov 30 by jlam.
This is a harmless warning that can be ignored.
Cheers,
-- Johnny Lam <jlam@NetBSD.org>