Eray Aslan:
> I am getting the following error when building postfix-2.12-20141207:
> 
> [...]
> [src/smtpd]
> x86_64-pc-linux-gnu-gcc -I. -I../../include -DHAS_PCRE -DHAS_LDAP
> -DUSE_TLS -DHAS_LMDB -DNO_NIS -DHAS_CDB -I/usr/include/cdb
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -DSNAPSHOT -DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\"
> -DUSE_DYNAMIC_LIBS -UUSE_DYNAMIC_MAPS   -march=native -O2 -pipe
> -Wno-comment -I. -I../../include -DLINUX3 -c smtpd.c
> smtpd.c:4678:22: error: ?unimpl_cmd? undeclared here (not in a function)
>      {SMTPD_CMD_AUTH, unimpl_cmd,},
>                       ^

Look for this line and change the && into ||

#if !defined(USE_TLS) && !defined(USE_SASL_AUTH)

        Wietse

Reply via email to