[milters] Archive

Lists Index Date Thread Search

Article: 717
From: Jeff Powell
Date: 2005-09-07 17:21:37 -0400
Subject: milter-sender 1.4 build error

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

I am attempting to build milter-sender 1.4 and I am getting a build error.
I made libsnert 1.52 just fine, but when I attempted to make milter-sender, this is the
output:
 
[root@aphrodite milter-sender]# make build
gcc -DMILTER_BUILD=`cat BUILD_ID.TXT` -DMILTER_BUILD_STRING='"'`cat
BUILD_ID.TXT`'"' \
-D_REENTRANT -g -I./../../include  -L./../../lib  -o milter-sender milter-sender.c -lsnert
-ldb-4.2 -lrt -lpthread
In file included from milter-sender.c:126:
./../../include/com/snert/lib/mail/smf.h:24:29: libmilter/mfapi.h: No such file or
directory
In file included from milter-sender.c:126:
./../../include/com/snert/lib/mail/smf.h:120: error: field `handlers' has incomplete type
./../../include/com/snert/lib/mail/smf.h:124: error: syntax error before
"SMFICTX"
./../../include/com/snert/lib/mail/smf.h:124: warning: no semicolon at end of struct or
union
./../../include/com/snert/lib/mail/smf.h:132: error: syntax error before '}' token
./../../include/com/snert/lib/mail/smf.h:132: warning: data definition has no type or
storage class
./../../include/com/snert/lib/mail/smf.h:161: error: syntax error before
"smfNullWorkspaceError"
./../../include/com/snert/lib/mail/smf.h:161: warning: data definition has no type or
storage class
./../../include/com/snert/lib/mail/smf.h:162: error: syntax error before
"smfReply"
./../../include/com/snert/lib/mail/smf.h:162: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:162: warning: data definition has no type or
storage class
./../../include/com/snert/lib/mail/smf.h:163: error: syntax error before
"smfReplyV"
./../../include/com/snert/lib/mail/smf.h:163: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:163: warning: data definition has no type or
storage class
./../../include/com/snert/lib/mail/smf.h:171: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:172: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:174: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:175: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:176: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:178: error: syntax error before '*' token
./../../include/com/snert/lib/mail/smf.h:179: error: syntax error before '*' token
milter-sender.c:183: error: syntax error before "sfsistat"
milter-sender.c:183: warning: no semicolon at end of struct or union
milter-sender.c:186: error: syntax error before '}' token
milter-sender.c:186: warning: data definition has no type or storage class
milter-sender.c:190: error: syntax error before "cachesmfUndefinedEntry"
milter-sender.c:190: warning: excess elements in scalar initializer
milter-sender.c:190: warning: (near initialization for `cachesmfUndefinedEntry')
milter-sender.c:190: warning: excess elements in scalar initializer
milter-sender.c:190: warning: (near initialization for `cachesmfUndefinedEntry')
milter-sender.c:190: warning: data definition has no type or storage class
milter-sender.c:193: error: syntax error before "smfWork"
milter-sender.c:193: warning: no semicolon at end of struct or union
milter-sender.c:210: error: syntax error before "heloStatus"
milter-sender.c:210: warning: data definition has no type or storage class
milter-sender.c:211: error: syntax error before "mailStatus"
milter-sender.c:211: warning: data definition has no type or storage class
milter-sender.c:232: error: syntax error before '}' token
milter-sender.c:232: warning: data definition has no type or storage class
milter-sender.c:509: error: syntax error before "setReply"
milter-sender.c:509: error: syntax error before "data"
milter-sender.c: In function `setReply':
milter-sender.c:511: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:511: error: (Each undeclared identifier is reported only once
milter-sender.c:511: error: for each function it appears in.)
milter-sender.c:511: error: syntax error before "rc"
milter-sender.c:514: error: `fmt' undeclared (first use in this function)
milter-sender.c:516: error: `rc' undeclared (first use in this function)
milter-sender.c:516: error: `data' undeclared (first use in this function)
milter-sender.c:516: error: `code' undeclared (first use in this function)
milter-sender.c:516: error: `ecode' undeclared (first use in this function)
milter-sender.c:530: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:514: error: `va_start' used in function with fixed args
milter-sender.c: At top level:
milter-sender.c:538: error: syntax error before "data"
milter-sender.c: In function `printline':
milter-sender.c:543: error: `data' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:578: error: syntax error before "data"
milter-sender.c: In function `printlines':
milter-sender.c:580: error: `lines' undeclared (first use in this function)
milter-sender.c:581: error: `data' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:589: error: syntax error before "data"
milter-sender.c: In function `getSmtpResponse':
milter-sender.c:618: error: `data' undeclared (first use in this function)
milter-sender.c:630: error: `linesize' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:666: error: syntax error before "data"
milter-sender.c: In function `cacheGet':
milter-sender.c:673: error: `entry' undeclared (first use in this function)
milter-sender.c:674: error: `name' undeclared (first use in this function)
milter-sender.c:677: error: `data' undeclared (first use in this function)
milter-sender.c:686: error: syntax error before ')' token
milter-sender.c: At top level:
milter-sender.c:698: error: syntax error before "data"
milter-sender.c: In function `cachePut':
milter-sender.c:704: error: `entry' undeclared (first use in this function)
milter-sender.c:705: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:706: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:710: error: `SMFIS_REJECT' undeclared (first use in this function)
milter-sender.c:711: error: `SMFIS_TEMPFAIL' undeclared (first use in this function)
milter-sender.c:717: error: `name' undeclared (first use in this function)
milter-sender.c:721: error: `data' undeclared (first use in this function)
milter-sender.c: In function `cacheExpireEntries':
milter-sender.c:737: error: `entry' undeclared (first use in this function)
milter-sender.c:737: error: syntax error before ')' token
milter-sender.c:740: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:741: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:746: error: `SMFIS_REJECT' undeclared (first use in this function)
milter-sender.c:747: error: `SMFIS_DISCARD' undeclared (first use in this function)
milter-sender.c:748: error: `SMFIS_TEMPFAIL' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:774: error: syntax error before "data"
milter-sender.c:811: error: syntax error before "filterOpen"
milter-sender.c:811: error: syntax error before '*' token
milter-sender.c: In function `filterOpen':
milter-sender.c:815: error: syntax error before "data"
milter-sender.c:817: error: `data' undeclared (first use in this function)
milter-sender.c:820: error: `ctx' undeclared (first use in this function)
milter-sender.c:822: error: `raw_client_addr' undeclared (first use in this function)
milter-sender.c:828: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:837: error: `MI_FAILURE' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:872: error: syntax error before "data"
milter-sender.c: In function `isLocalHost':
milter-sender.c:882: error: `data' undeclared (first use in this function)
milter-sender.c:882: error: `host' undeclared (first use in this function)
milter-sender.c:884: warning: assignment makes pointer from integer without a cast
milter-sender.c:886: warning: assignment makes pointer from integer without a cast
milter-sender.c: At top level:
milter-sender.c:926: error: syntax error before "filterHelo"
milter-sender.c:926: error: syntax error before '*' token
milter-sender.c: In function `filterHelo':
milter-sender.c:928: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:928: error: syntax error before "rc"
milter-sender.c:934: error: `data' undeclared (first use in this function)
milter-sender.c:934: error: syntax error before "smfi_getpriv"
milter-sender.c:937: error: `rc' undeclared (first use in this function)
milter-sender.c:937: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:946: error: `ctx' undeclared (first use in this function)
milter-sender.c:946: error: `helohost' undeclared (first use in this function)
milter-sender.c:948: warning: assignment makes pointer from integer without a cast
milter-sender.c:950: warning: assignment makes pointer from integer without a cast
milter-sender.c:1015: warning: assignment makes pointer from integer without a cast
milter-sender.c:1017: warning: assignment makes pointer from integer without a cast
milter-sender.c: At top level:
milter-sender.c:1206: error: syntax error before "data"
milter-sender.c: In function `mxIpBlocked':
milter-sender.c:1215: error: `data' undeclared (first use in this function)
milter-sender.c:1215: warning: assignment makes pointer from integer without a cast
milter-sender.c:1220: error: `error' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1238: error: syntax error before "data"
milter-sender.c: In function `mxStatus':
milter-sender.c:1240: error: `code' undeclared (first use in this function)
milter-sender.c:1240: error: `data' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1249: error: syntax error before "data"
milter-sender.c: In function `mxClose':
milter-sender.c:1257: error: `data' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1275: error: syntax error before "data"
milter-sender.c: In function `mxCommand':
milter-sender.c:1277: error: `data' undeclared (first use in this function)
milter-sender.c:1277: error: `command' undeclared (first use in this function)
milter-sender.c:1280: error: `code' undeclared (first use in this function)
milter-sender.c:1283: error: `expect' undeclared (first use in this function)
milter-sender.c:1283: error: `error' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1296: error: syntax error before "data"
milter-sender.c: In function `mxWelcome':
milter-sender.c:1298: error: `code' undeclared (first use in this function)
milter-sender.c:1298: error: `data' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1317: error: syntax error before "data"
milter-sender.c: In function `mxHelo':
milter-sender.c:1323: error: `data' undeclared (first use in this function)
milter-sender.c:1323: warning: assignment makes pointer from integer without a cast
milter-sender.c:1326: warning: assignment makes pointer from integer without a cast
milter-sender.c:1332: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1336: error: syntax error before "data"
milter-sender.c: In function `mxRset':
milter-sender.c:1338: error: `data' undeclared (first use in this function)
milter-sender.c:1338: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1342: error: syntax error before "data"
milter-sender.c: In function `mxMail':
milter-sender.c:1344: error: `data' undeclared (first use in this function)
milter-sender.c:1344: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1348: error: syntax error before "data"
milter-sender.c: In function `mxData':
milter-sender.c:1350: error: `data' undeclared (first use in this function)
milter-sender.c:1350: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1354: error: syntax error before "data"
milter-sender.c: In function `mxDot':
milter-sender.c:1356: error: `data' undeclared (first use in this function)
milter-sender.c:1356: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1360: error: syntax error before "data"
milter-sender.c: In function `mxRcpt':
milter-sender.c:1362: error: `data' undeclared (first use in this function)
milter-sender.c:1363: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1367: error: syntax error before "data"
milter-sender.c: In function `mxConnect':
milter-sender.c:1371: error: `data' undeclared (first use in this function)
milter-sender.c:1379: error: `code' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1417: error: syntax error before "mxIsRejected"
milter-sender.c:1417: error: syntax error before "data"
milter-sender.c: In function `mxIsRejected':
milter-sender.c:1423: error: `data' undeclared (first use in this function)
milter-sender.c:1442: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:1454: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1492: error: syntax error before "mxCallBack"
milter-sender.c:1492: error: syntax error before "data"
milter-sender.c: In function `mxCallBack':
milter-sender.c:1495: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:1495: error: syntax error before "rc"
milter-sender.c:1497: error: syntax error before "entry"
milter-sender.c:1506: error: `rc' undeclared (first use in this function)
milter-sender.c:1506: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:1508: error: `data' undeclared (first use in this function)
milter-sender.c:1597: warning: assignment makes pointer from integer without a cast
milter-sender.c:1763: error: `entry' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1785: error: syntax error before "filterMail"
milter-sender.c:1785: error: syntax error before '*' token
milter-sender.c: In function `filterMail':
milter-sender.c:1787: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:1787: error: syntax error before "rc"
milter-sender.c:1791: error: `data' undeclared (first use in this function)
milter-sender.c:1791: error: syntax error before "smfi_getpriv"
milter-sender.c:1811: error: `ctx' undeclared (first use in this function)
milter-sender.c:1814: error: `args' undeclared (first use in this function)
milter-sender.c:1828: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:1830: error: `SMFIS_REJECT' undeclared (first use in this function)
milter-sender.c:1838: error: `cacheEntry' undeclared (first use in this function)
milter-sender.c:1869: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:1897: error: `SMFIS_DISCARD' undeclared (first use in this function)
milter-sender.c:1898: error: `rc' undeclared (first use in this function)
milter-sender.c:1903: error: `SMFIS_TEMPFAIL' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1924: error: syntax error before "data"
milter-sender.c: In function `mxConnectMx':
milter-sender.c:1935: error: `data' undeclared (first use in this function)
milter-sender.c:1935: warning: assignment makes pointer from integer without a cast
milter-sender.c:1938: error: `domain' undeclared (first use in this function)
milter-sender.c:1977: error: `status' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:1992: error: syntax error before "mxCallAhead"
milter-sender.c:1992: error: syntax error before "data"
milter-sender.c: In function `mxCallAhead':
milter-sender.c:1994: error: syntax error before "entry"
milter-sender.c:1996: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:1996: error: syntax error before "rc"
milter-sender.c:1999: error: `data' undeclared (first use in this function)
milter-sender.c:1999: warning: assignment makes pointer from integer without a cast
milter-sender.c:2000: warning: assignment makes pointer from integer without a cast
milter-sender.c:2001: warning: assignment makes pointer from integer without a cast
milter-sender.c:2023: error: `entry' undeclared (first use in this function)
milter-sender.c:2032: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:2033: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:2040: error: `SMFIS_REJECT' undeclared (first use in this function)
milter-sender.c:2042: error: `rc' undeclared (first use in this function)
milter-sender.c:2047: error: `SMFIS_TEMPFAIL' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:2119: error: syntax error before "filterRcpt"
milter-sender.c:2119: error: syntax error before '*' token
milter-sender.c: In function `filterRcpt':
milter-sender.c:2121: error: `sfsistat' undeclared (first use in this function)
milter-sender.c:2121: error: syntax error before "rc"
milter-sender.c:2128: error: `data' undeclared (first use in this function)
milter-sender.c:2128: error: syntax error before "smfi_getpriv"
milter-sender.c:2133: error: `ctx' undeclared (first use in this function)
milter-sender.c:2133: error: `args' undeclared (first use in this function)
milter-sender.c:2157: error: `SMFIS_REJECT' undeclared (first use in this function)
milter-sender.c:2179: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c:2194: error: `rc' undeclared (first use in this function)
milter-sender.c:2229: error: `SMFIS_TEMPFAIL' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:2254: error: syntax error before "filterHeader"
milter-sender.c:2254: error: syntax error before '*' token
milter-sender.c: In function `filterHeader':
milter-sender.c:2256: error: syntax error before "data"
milter-sender.c:2258: error: `data' undeclared (first use in this function)
milter-sender.c:2258: error: syntax error before "smfi_getpriv"
milter-sender.c:2263: error: `ctx' undeclared (first use in this function)
milter-sender.c:2263: error: `name' undeclared (first use in this function)
milter-sender.c:2263: error: `value' undeclared (first use in this function)
milter-sender.c:2280: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:2284: error: syntax error before "filterEndMessage"
milter-sender.c:2284: error: syntax error before '*' token
milter-sender.c: In function `filterEndMessage':
milter-sender.c:2287: error: syntax error before "data"
milter-sender.c:2289: error: `data' undeclared (first use in this function)
milter-sender.c:2289: error: syntax error before "smfi_getpriv"
milter-sender.c:2294: error: `ctx' undeclared (first use in this function)
milter-sender.c:2299: warning: assignment makes pointer from integer without a cast
milter-sender.c:2308: warning: assignment makes pointer from integer without a cast
milter-sender.c:2310: warning: assignment makes pointer from integer without a cast
milter-sender.c:2337: error: syntax error before "entry"
milter-sender.c:2341: error: `entry' undeclared (first use in this function)
milter-sender.c:2341: error: `SMFIS_ACCEPT' undeclared (first use in this function)
milter-sender.c:2352: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:2359: error: syntax error before "filterClose"
milter-sender.c:2359: error: syntax error before '*' token
milter-sender.c: In function `filterClose':
milter-sender.c:2361: error: syntax error before "data"
milter-sender.c:2364: error: `data' undeclared (first use in this function)
milter-sender.c:2364: error: syntax error before "smfi_getpriv"
milter-sender.c:2377: error: `ctx' undeclared (first use in this function)
milter-sender.c:2379: error: `SMFIS_CONTINUE' undeclared (first use in this function)
milter-sender.c: At top level:
milter-sender.c:2402: warning: braces around scalar initializer
milter-sender.c:2402: warning: (near initialization for `milter.handlers')
milter-sender.c:2404: warning: excess elements in scalar initializer
milter-sender.c:2404: warning: (near initialization for `milter.handlers')
milter-sender.c:2405: error: `SMFIF_ADDHDRS' undeclared here (not in a function)
milter-sender.c:2405: warning: excess elements in scalar initializer
milter-sender.c:2405: warning: (near initialization for `milter.handlers')
milter-sender.c:2406: warning: excess elements in scalar initializer
milter-sender.c:2406: warning: (near initialization for `milter.handlers')
milter-sender.c:2407: warning: excess elements in scalar initializer
milter-sender.c:2407: warning: (near initialization for `milter.handlers')
milter-sender.c:2408: warning: excess elements in scalar initializer
milter-sender.c:2408: warning: (near initialization for `milter.handlers')
milter-sender.c:2409: warning: excess elements in scalar initializer
milter-sender.c:2409: warning: (near initialization for `milter.handlers')
milter-sender.c:2410: warning: excess elements in scalar initializer
milter-sender.c:2410: warning: (near initialization for `milter.handlers')
milter-sender.c:2411: warning: excess elements in scalar initializer
milter-sender.c:2411: warning: (near initialization for `milter.handlers')
milter-sender.c:2412: warning: excess elements in scalar initializer
milter-sender.c:2412: warning: (near initialization for `milter.handlers')
milter-sender.c:2413: warning: excess elements in scalar initializer
milter-sender.c:2413: warning: (near initialization for `milter.handlers')
milter-sender.c:2414: warning: excess elements in scalar initializer
milter-sender.c:2414: warning: (near initialization for `milter.handlers')
milter-sender.c:2422: warning: excess elements in scalar initializer
milter-sender.c:2422: warning: (near initialization for `milter.handlers')
make: *** [milter-sender] Error 1
Any idea what the matter is?
 
Thanks,
 
Jeff


Lists Index Date Thread Search