Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Compile error, 2.0b1

2005-02-12 by Steven Stern

What should the value be for SPF_FALSE?

Attempting to build in the same environment in which building 1.75 worked:

./configure --with-libspf=/usr/lib
 ...
make
 ...
spf.c: In function `spf_check':
spf.c:79: error: `SPF_FALSE' undeclared (first use in this function)
spf.c:79: error: (Each undeclared identifier is reported only once
spf.c:79: error: for each function it appears in.)


Not found in any defines:

# grep  define * | grep SPF

acl.h:#define   EXF_SPF         (1 << 10)
conf.h:#define C_NOSPF          0x00008 
config.h:#define HAVE_SPF 
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:| #define HAVE_SPF
config.log:#define HAVE_SPF
configure:#define HAVE_SPF2
configure:#define HAVE_SPF2
configure:#define HAVE_SPF_ALT
configure:#define HAVE_SPF_ALT
configure:#define HAVE_SPF
conf_yacc.c:#define NOSPF 271
milter-greylist.c:#if (defined(HAVE_SPF) || defined(HAVE_SPF_ALT)) 
milter-greylist.h:#if (defined(HAVE_SPF) || defined(HAVE_SPF_ALT))
spf.c:#if defined(HAVE_SPF_ALT) || defined(HAVE_SPF2)
spf.h:#define _SPF_H_
spf.h:#if defined(HAVE_SPF_ALT) || defined(HAVE_SPF2)
spf.h:#define SPF_CHECK(w,x,y,z) spf_alt_check((w),(x),(y),(z))
spf.h:#elif defined(HAVE_SPF)
spf.h:#define SPF_CHECK(w,x,y,z) spf_check((w),(x),(y),(z))
spf.h:#define SPF_CHECK(w,x,y,z) EXF_NONE
-- 
  Steve

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.