[milters] Archive

Lists Index Date Thread Search

Article: 1326
From: Thom Paine
Date: 2006-12-02 09:59:47 -0500
Subject: milter-date RHEL3

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

I am trying to install my first milter on sendmail 8.12 running on RHEL3.

I am getting errors building the milter-date package.

I've followed through the installation notes, but I'm getting errors.

cd (path to)/com/snert/src/lib
./configure

This command completes successfully.

make build

This command completes successfully.


cd ../milter-date
make build

This gives me an error.

[root@ns1 milter-date]# make build
gcc -D_REENTRANT -O2 -Wall -I./../../include  -c convertDateToGMT.c
In file included from convertDateToGMT.c:54:
../../include/com/snert/lib/mail/smf.h:24:29: libmilter/mfapi.h: No
such file or directory
In file included from convertDateToGMT.c:54:
../../include/com/snert/lib/mail/smf.h:130: field `handlers' has incomplete type
../../include/com/snert/lib/mail/smf.h:134: syntax error before "SMFICTX"
../../include/com/snert/lib/mail/smf.h:134: warning: no semicolon at
end of struct or union
../../include/com/snert/lib/mail/smf.h:143: syntax error before '}' token
../../include/com/snert/lib/mail/smf.h:143: warning: type defaults to
`int' in declaration of `smfWork'
../../include/com/snert/lib/mail/smf.h:143: warning: data definition
has no type or storage class
../../include/com/snert/lib/mail/smf.h:203: syntax error before
"smfNullWorkspaceError"
../../include/com/snert/lib/mail/smf.h:203: warning: type defaults to
`int' in declaration of `smfNullWorkspaceError'
../../include/com/snert/lib/mail/smf.h:203: warning: data definition
has no type or storage class
../../include/com/snert/lib/mail/smf.h:204: syntax error before "smfReply"
../../include/com/snert/lib/mail/smf.h:204: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:204: warning: type defaults to
`int' in declaration of `smfReply'
../../include/com/snert/lib/mail/smf.h:204: warning: data definition
has no type or storage class
../../include/com/snert/lib/mail/smf.h:205: syntax error before "smfReplyV"
../../include/com/snert/lib/mail/smf.h:205: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:205: warning: type defaults to
`int' in declaration of `smfReplyV'
../../include/com/snert/lib/mail/smf.h:205: warning: data definition
has no type or storage class
../../include/com/snert/lib/mail/smf.h:213: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:214: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:238: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:316: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:424: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:471: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:520: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:570: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:624: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:626: syntax error before '*' token
../../include/com/snert/lib/mail/smf.h:627: syntax error before '*' token
convertDateToGMT.c:57: syntax error before "smfWork"
convertDateToGMT.c:57: warning: no semicolon at end of struct or union
convertDateToGMT.c:58: warning: type defaults to `int' in declaration
of `workspace'
convertDateToGMT.c:58: warning: data definition has no type or storage class
convertDateToGMT.c:314: syntax error before "data"
convertDateToGMT.c: In function `convertTimeZone':
convertDateToGMT.c:320: `date' undeclared (first use in this function)
convertDateToGMT.c:320: (Each undeclared identifier is reported only once
convertDateToGMT.c:320: for each function it appears in.)
convertDateToGMT.c:332: `data' undeclared (first use in this function)
convertDateToGMT.c:343: `value' undeclared (first use in this function)
convertDateToGMT.c:344: `stop' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:361: syntax error before "data"
convertDateToGMT.c: In function `convertWeekDay':
convertDateToGMT.c:369: `date' undeclared (first use in this function)
convertDateToGMT.c:386: `strict' undeclared (first use in this function)
convertDateToGMT.c:387: `data' undeclared (first use in this function)
convertDateToGMT.c:418: `value' undeclared (first use in this function)
convertDateToGMT.c:419: `stop' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:425: syntax error before "data"
convertDateToGMT.c: In function `convertDay':
convertDateToGMT.c:429: `date' undeclared (first use in this function)
convertDateToGMT.c:432: `stop' undeclared (first use in this function)
convertDateToGMT.c:435: `data' undeclared (first use in this function)
convertDateToGMT.c:441: `value' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:447: syntax error before "data"
convertDateToGMT.c: In function `convertMonth':
convertDateToGMT.c:452: `date' undeclared (first use in this function)
convertDateToGMT.c:474: `data' undeclared (first use in this function)
convertDateToGMT.c:480: `value' undeclared (first use in this function)
convertDateToGMT.c:481: `stop' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:487: syntax error before "data"
convertDateToGMT.c: In function `convertYear':
convertDateToGMT.c:492: `date' undeclared (first use in this function)
convertDateToGMT.c:492: `stop' undeclared (first use in this function)
convertDateToGMT.c:494: `data' undeclared (first use in this function)
convertDateToGMT.c:509: `value' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:515: syntax error before "data"
convertDateToGMT.c: In function `convertTime':
convertDateToGMT.c:519: `date' undeclared (first use in this function)
convertDateToGMT.c:522: `stop' undeclared (first use in this function)
convertDateToGMT.c:524: `data' undeclared (first use in this function)
convertDateToGMT.c:562: `H' undeclared (first use in this function)
convertDateToGMT.c:563: `M' undeclared (first use in this function)
convertDateToGMT.c:564: `S' undeclared (first use in this function)
convertDateToGMT.c: At top level:
convertDateToGMT.c:582: syntax error before "data"
convertDateToGMT.c: In function `convertDateToGMT':
convertDateToGMT.c:588: `data' undeclared (first use in this function)
convertDateToGMT.c:588: `date' undeclared (first use in this function)
convertDateToGMT.c:592: `strict' undeclared (first use in this function)
convertDateToGMT.c:676: `gmt_seconds_since_epoch' undeclared (first
use in this function)
make: *** [convertDateToGMT.o] Error 1

Anyone know what could be wrong with my setup for this to fail?
I have never installed a milter into sendmail before, but I thought
the date one would be a good one to start and figure it out before I
install other ones to help combat spam.

Thanks.

-- 
-=/>Thom

Lists Index Date Thread Search