Subject: Re: mail/postfix build: HAS_DB redefined
To: Jukka Salmi <>
From: Johnny Lam <>
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 (or '#define HAS_DB' from
> sys_defs.h) suppresses the warning.
> So, what is the correct solution? -DHAS_DB was added to on
> Nov 30 by jlam.

This is a harmless warning that can be ignored.


	-- Johnny Lam <>