Postfixをspf対応

| コメント(0) | トラックバック(0)

Postfixをspf対応しようと思ってやってみました とりあえず参照ページ libspf2 Postfixパッチ #tar xzvf postfix-2.2.0.tar.gz #cd postfix-2.2.0 #wget http://www.ipnet6.org/postfix/download/postfix-libspf2-2.2.0-5.patch #patch -p1 < postfix-libspf2-2.2.0-5.patch #make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/local/include" AUXLIBS="-L/usr/local/lib -lspf2" #make ここでエラー出まくり・・・ gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include -DHAS_PCRE -I/usr/include/pcre -g -O -I. -I../../include -DLINUX2 -c smtpd.c In file included from smtpd.c:799: smtpd.h:148: parse error before `SPF_config_t' smtpd.h:148: warning: no semicolon at end of struct or union smtpd.h:175: parse error before `}' smtpd.h:175: warning: data definition has no type or storage class smtpd.h:189: parse error before `*' smtpd.h:190: parse error before `*' smtpd.h:241: parse error before `*' smtpd.h:242: parse error before `*' smtpd.h:283: parse error before `*' smtpd.h:284: parse error before `*' smtpd.h:285: parse error before `*' In file included from smtpd.c:800: smtpd_check.h:17: parse error before `*' smtpd_check.h:18: parse error before `*' smtpd_check.h:19: parse error before `*' smtpd_check.h:20: parse error before `*' smtpd_check.h:21: parse error before `*' smtpd_check.h:22: parse error before `*' smtpd_check.h:23: parse error before `*' smtpd_check.h:24: parse error before `*' smtpd_check.h:25: parse error before `*' smtpd_check.h:26: parse error before `*' In file included from smtpd.c:801: smtpd_chat.h:15: parse error before `*' smtpd_chat.h:16: parse error before `*' smtpd_chat.h:17: parse error before `*' smtpd_chat.h:18: parse error before `*' In file included from smtpd.c:802: smtpd_sasl_proto.h:14: parse error before `*' smtpd_sasl_proto.h:15: parse error before `*' smtpd_sasl_proto.h:16: parse error before `*' smtpd_sasl_proto.h:17: parse error before `*' smtpd_sasl_proto.h:18: parse error before `*' In file included from smtpd.c:803: smtpd_sasl_glue.h:15: parse error before `*' smtpd_sasl_glue.h:16: parse error before `*' smtpd_sasl_glue.h:17: parse error before `*' smtpd_sasl_glue.h:18: parse error before `*' smtpd_sasl_glue.h:19: parse error before `*' In file included from smtpd.c:804: smtpd_proxy.h:26: parse error before `*' smtpd_proxy.h:27: parse error before `*' smtpd_proxy.h:30: parse error before `*' smtpd.c:972: parse error before `*' smtpd.c:973: parse error before `*' smtpd.c:974: parse error before `*' smtpd.c:975: parse error before `*' smtpd.c:1007: parse error before `*' smtpd.c: In function `sasl_client_exception': smtpd.c:1020: `state' undeclared (first use in this function) smtpd.c:1020: (Each undeclared identifier is reported only once smtpd.c:1020: for each function it appears in.) smtpd.c: At top level: smtpd.c:1046: parse error before `*' smtpd.c: In function `helo_cmd': smtpd.c:1050: `argc' undeclared (first use in this function) smtpd.c:1051: `state' undeclared (first use in this function) smtpd.c:1056: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1082: parse error before `*' smtpd.c: In function `ehlo_cmd': smtpd.c:1094: `argc' undeclared (first use in this function) smtpd.c:1095: `state' undeclared (first use in this function) smtpd.c:1100: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1224: parse error before `*' smtpd.c:1225: warning: `helo_reset' was used with no prototype before its definition smtpd.c: In function `helo_reset': smtpd.c:1226: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1233: parse error before `*' smtpd.c: In function `mail_open_stream': smtpd.c:1257: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1339: parse error before `*' smtpd.c: In function `extract_addr': smtpd.c:1372: `arg' undeclared (first use in this function) smtpd.c:1408: `strict_rfc821' undeclared (first use in this function) smtpd.c:1410: `state' undeclared (first use in this function) smtpd.c:1431: `allow_empty_addr' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1451: parse error before `*' smtpd.c: In function `mail_cmd': smtpd.c:1459: `state' undeclared (first use in this function) smtpd.c:1482: `argc' undeclared (first use in this function) smtpd.c:1483: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1605: parse error before `*' smtpd.c:1606: warning: `mail_reset' was used with no prototype before its definition smtpd.c: In function `mail_reset': smtpd.c:1607: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1671: parse error before `*' smtpd.c: In function `rcpt_cmd': smtpd.c:1687: `state' undeclared (first use in this function) smtpd.c:1692: `argc' undeclared (first use in this function) smtpd.c:1693: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1810: parse error before `*' smtpd.c:1811: warning: `rcpt_reset' was used with no prototype before its definition smtpd.c: In function `rcpt_reset': smtpd.c:1812: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:1858: parse error before `*' smtpd.c: In function `data_cmd': smtpd.c:1885: `state' undeclared (first use in this function) smtpd.c:1894: `argc' undeclared (first use in this function) smtpd.c:1956: `SPF_config_t' undeclared (first use in this function) smtpd.c:1956: parse error before `0' smtpd.c: At top level: smtpd.c:2175: parse error before `*' smtpd.c: In function `rset_cmd': smtpd.c:2181: `argc' undeclared (first use in this function) smtpd.c:2182: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2199: parse error before `*' smtpd.c: In function `noop_cmd': smtpd.c:2220: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2226: parse error before `*' smtpd.c: In function `vrfy_cmd': smtpd.c:2255: `state' undeclared (first use in this function) smtpd.c:2259: `argc' undeclared (first use in this function) smtpd.c:2265: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2292: parse error before `*' smtpd.c: In function `etrn_cmd': smtpd.c:2299: `state' undeclared (first use in this function) smtpd.c:2309: `argc' undeclared (first use in this function) smtpd.c:2314: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2366: parse error before `*' smtpd.c: In function `quit_cmd': smtpd.c:2372: `state' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2385: parse error before `*' smtpd.c: In function `xclient_cmd': smtpd.c:2408: `state' undeclared (first use in this function) smtpd.c:2413: `argc' undeclared (first use in this function) smtpd.c:2433: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2546: parse error before `*' smtpd.c: In function `xforward_cmd': smtpd.c:2576: `state' undeclared (first use in this function) smtpd.c:2581: `argc' undeclared (first use in this function) smtpd.c:2602: `argv' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2747: parse error before `*' smtpd.c:2748: warning: `chat_reset' was used with no prototype before its definition smtpd.c: In function `chat_reset': smtpd.c:2757: `state' undeclared (first use in this function) smtpd.c:2757: `threshold' undeclared (first use in this function) smtpd.c: At top level: smtpd.c:2883: parse error before `*' smtpd.c:2917: parse error before `*' smtpd.c: In function `smtpd_proto': smtpd.c:2943: `state' undeclared (first use in this function) smtpd.c:2994: `service' undeclared (first use in this function) smtpd.c: In function `smtpd_service': smtpd.c:3140: parse error before `state' smtpd.c:3157: `state' undeclared (first use in this function) make: *** [smtpd.o] エラー 1 make: *** [update] エラー 1 何故?誰か解る方詳細キボンヌ・・・

トラックバック(0)

トラックバックURL: http://blog.cuvie.net/mt-tb.cgi/598

コメントする

最近のブログ記事

宝物
さっき、荒川アンダーザブリッジで「宝物」…
あまり報道されていない気がするのだが・・・炎上し暴徒が叫ぶ、故郷イギリスの今
http://www.timeout.j…
NTTドコモがパケット定額プランの今後を検討へ、FOMAの定額制は当面維持 - GIGAZINE
http://gigazine.net/…
OpenID対応しています OpenIDについて

Amazonトップセラー

リンク

人気Blog Ranking

    人気ブログランキングへ