[milters] Archive

Lists Index Date Thread Search

Article: 484
From: Jeff Groves
Date: 2005-04-07 15:19:34 -0400
Subject: Re: Milter-Ahead compile issues

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

You ran the ./configure script before doing the make, right?
Jeff G.

David Hooton wrote:

>Removal...........: milters-request@milter.info?subject=remove
>More information..: http://www.milter.info/#Support
>--------------------------------------------------------
>
>Hi All,
>
>Trying to compile milter-ahead on a Red Hat Enterprise 3 machine, but
>seem to be having some issues..
>
>Output of make:
>
>[root@mx2 milter-ahead]# make
>gcc -DMILTER_BUILD=`cat BUILD_ID.TXT` -DMILTER_BUILD_STRING='"'`cat
>BUILD_ID.TXT`'"' \
>-D_REENTRANT -D_THREAD_SAFE -I../../include -g -Wall -fvolatile
>-I/usr/local/include  -L../../lib -L/usr/local/lib -o milter-ahead
>milter-ahead.c -ldb-4.1 -lsnert -lpthread -lrt
>In file included from milter-ahead.c:112:
>../../include/com/snert/lib/mail/smf.h:15:29: libmilter/mfapi.h: No
>such file or directory
>In file included from milter-ahead.c:112:
>../../include/com/snert/lib/mail/smf.h:94: syntax error before "SMFICTX"
>../../include/com/snert/lib/mail/smf.h:94: warning: no semicolon at
>end of struct or union
>../../include/com/snert/lib/mail/smf.h:102: syntax error before '}' token
>../../include/com/snert/lib/mail/smf.h:102: warning: type defaults to
>`int' in declaration of `smfWork'
>../../include/com/snert/lib/mail/smf.h:102: warning: data definition
>has no type or storage class
>../../include/com/snert/lib/mail/smf.h:124: syntax error before
>"smfNullWorkspaceError"
>../../include/com/snert/lib/mail/smf.h:124: warning: type defaults to
>`int' in declaration of `smfNullWorkspaceError'
>../../include/com/snert/lib/mail/smf.h:124: warning: data definition
>has no type or storage class
>../../include/com/snert/lib/mail/smf.h:125: syntax error before "smfReply"
>../../include/com/snert/lib/mail/smf.h:125: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:125: warning: type defaults to
>`int' in declaration of `smfReply'
>../../include/com/snert/lib/mail/smf.h:125: warning: data definition
>has no type or storage class
>../../include/com/snert/lib/mail/smf.h:126: syntax error before "smfReplyV"
>../../include/com/snert/lib/mail/smf.h:126: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:126: warning: type defaults to
>`int' in declaration of `smfReplyV'
>../../include/com/snert/lib/mail/smf.h:126: warning: data definition
>has no type or storage class
>../../include/com/snert/lib/mail/smf.h:128: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:129: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:131: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:132: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:133: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:135: syntax error before '*' token
>../../include/com/snert/lib/mail/smf.h:140: warning: `struct smfiDesc'
>declared inside parameter list
>../../include/com/snert/lib/mail/smf.h:140: warning: its scope is only
>this definition or declaration, which is probably not what you want
>../../include/com/snert/lib/mail/smf.h:140: warning: parameter has
>incomplete type
>milter-ahead.c:136: syntax error before "sfsistat"
>milter-ahead.c:136: warning: no semicolon at end of struct or union
>milter-ahead.c:139: syntax error before '}' token
>milter-ahead.c:139: warning: type defaults to `int' in declaration of
>`CacheEntry'
>milter-ahead.c:139: warning: data definition has no type or storage class
>milter-ahead.c:141: syntax error before "cacheUndefinedEntry"
>milter-ahead.c:141: warning: type defaults to `int' in declaration of
>`cacheUndefinedEntry'
>milter-ahead.c:141: warning: excess elements in scalar initializer
>milter-ahead.c:141: warning: (near initialization for `cacheUndefinedEntry')
>milter-ahead.c:141: warning: excess elements in scalar initializer
>milter-ahead.c:141: warning: (near initialization for `cacheUndefinedEntry')
>milter-ahead.c:141: warning: data definition has no type or storage class
>milter-ahead.c:148: syntax error before "smfWork"
>milter-ahead.c:148: warning: no semicolon at end of struct or union
>milter-ahead.c:151: syntax error before '}' token
>milter-ahead.c:151: warning: type defaults to `int' in declaration of
>`workspace'
>milter-ahead.c:151: warning: data definition has no type or storage class
>milter-ahead.c:206: syntax error before "data"
>milter-ahead.c: In function `printline':
>milter-ahead.c:212: `data' undeclared (first use in this function)
>milter-ahead.c:212: (Each undeclared identifier is reported only once
>milter-ahead.c:212: for each function it appears in.)
>milter-ahead.c: At top level:
>milter-ahead.c:247: syntax error before "data"
>milter-ahead.c: In function `printlines':
>milter-ahead.c:249: `lines' undeclared (first use in this function)
>milter-ahead.c:250: `data' undeclared (first use in this function)
>milter-ahead.c: At top level:
>milter-ahead.c:258: syntax error before "data"
>milter-ahead.c: In function `getSmtpResponse':
>milter-ahead.c:264: `linesize' undeclared (first use in this function)
>milter-ahead.c:265: `data' undeclared (first use in this function)
>milter-ahead.c:335: `status' undeclared (first use in this function)
>milter-ahead.c:338: `code' undeclared (first use in this function)
>milter-ahead.c: At top level:
>milter-ahead.c:346: syntax error before "data"
>milter-ahead.c: In function `cacheGet':
>milter-ahead.c:351: `entry' undeclared (first use in this function)
>milter-ahead.c:352: `name' undeclared (first use in this function)
>milter-ahead.c:358: `data' undeclared (first use in this function)
>milter-ahead.c:368: syntax error before ')' token
>milter-ahead.c: At top level:
>milter-ahead.c:378: syntax error before "data"
>milter-ahead.c: In function `cachePut':
>milter-ahead.c:383: `name' undeclared (first use in this function)
>milter-ahead.c:384: `entry' undeclared (first use in this function)
>milter-ahead.c:390: `data' undeclared (first use in this function)
>milter-ahead.c: In function `cacheExpireEntries':
>milter-ahead.c:404: `entry' undeclared (first use in this function)
>milter-ahead.c:404: syntax error before ')' token
>milter-ahead.c: At top level:
>milter-ahead.c:416: syntax error before "data"
>milter-ahead.c: In function `cacheGarbageCollect':
>milter-ahead.c:421: `data' undeclared (first use in this function)
>milter-ahead.c: At top level:
>milter-ahead.c:456: syntax error before "filterOpen"
>milter-ahead.c:456: syntax error before '*' token
>milter-ahead.c:457: warning: return type defaults to `int'
>milter-ahead.c: In function `filterOpen':
>milter-ahead.c:458: syntax error before "data"
>milter-ahead.c:462: `ctx' undeclared (first use in this function)
>milter-ahead.c:462: `client_name' undeclared (first use in this function)
>milter-ahead.c:462: `raw_client_addr' undeclared (first use in this function)
>milter-ahead.c:467: `data' undeclared (first use in this function)
>milter-ahead.c:470: warning: implicit declaration of function `smfi_setpriv'
>milter-ahead.c:470: `MI_FAILURE' undeclared (first use in this function)
>milter-ahead.c:479: `SMFIS_CONTINUE' undeclared (first use in this function)
>milter-ahead.c: At top level:
>milter-ahead.c:487: syntax error before "filterRcpt"
>milter-ahead.c:487: syntax error before '*' token
>milter-ahead.c:488: warning: return type defaults to `int'
>milter-ahead.c: In function `filterRcpt':
>milter-ahead.c:490: `sfsistat' undeclared (first use in this function)
>milter-ahead.c:490: syntax error before "rc"
>milter-ahead.c:495: `rc' undeclared (first use in this function)
>milter-ahead.c:495: `SMFIS_CONTINUE' undeclared (first use in this function)
>milter-ahead.c:497: `data' undeclared (first use in this function)
>milter-ahead.c:497: syntax error before "smfi_getpriv"
>milter-ahead.c:503: warning: implicit declaration of function `smfi_getsymval'
>milter-ahead.c:503: `ctx' undeclared (first use in this function)
>milter-ahead.c:506: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:507: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:508: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:509: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:514: `args' undeclared (first use in this function)
>milter-ahead.c:542: `entry' undeclared (first use in this function)
>milter-ahead.c:551: `SMFIS_ACCEPT' undeclared (first use in this function)
>milter-ahead.c:559: `SMFIS_REJECT' undeclared (first use in this function)
>milter-ahead.c:565: `SMFIS_TEMPFAIL' undeclared (first use in this function)
>milter-ahead.c:632: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:633: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c:634: warning: assignment makes pointer from integer
>without a cast
>milter-ahead.c: At top level:
>milter-ahead.c:721: syntax error before "filterClose"
>milter-ahead.c:721: syntax error before '*' token
>milter-ahead.c:722: warning: return type defaults to `int'
>milter-ahead.c: In function `filterClose':
>milter-ahead.c:723: syntax error before "data"
>milter-ahead.c:726: `data' undeclared (first use in this function)
>milter-ahead.c:726: syntax error before "smfi_getpriv"
>milter-ahead.c:733: `ctx' undeclared (first use in this function)
>milter-ahead.c:735: `SMFIS_CONTINUE' undeclared (first use in this function)
>milter-ahead.c: At top level:
>milter-ahead.c:742: variable `smfilter' has initializer but incomplete type
>milter-ahead.c:743: warning: excess elements in struct initializer
>milter-ahead.c:743: warning: (near initialization for `smfilter')
>milter-ahead.c:744: `SMFI_VERSION' undeclared here (not in a function)
>milter-ahead.c:744: warning: excess elements in struct initializer
>milter-ahead.c:744: warning: (near initialization for `smfilter')
>milter-ahead.c:745: warning: excess elements in struct initializer
>milter-ahead.c:745: warning: (near initialization for `smfilter')
>milter-ahead.c:746: warning: excess elements in struct initializer
>milter-ahead.c:746: warning: (near initialization for `smfilter')
>milter-ahead.c:747: warning: excess elements in struct initializer
>milter-ahead.c:747: warning: (near initialization for `smfilter')
>milter-ahead.c:748: warning: excess elements in struct initializer
>milter-ahead.c:748: warning: (near initialization for `smfilter')
>milter-ahead.c:749: warning: excess elements in struct initializer
>milter-ahead.c:749: warning: (near initialization for `smfilter')
>milter-ahead.c:750: warning: excess elements in struct initializer
>milter-ahead.c:750: warning: (near initialization for `smfilter')
>milter-ahead.c:751: warning: excess elements in struct initializer
>milter-ahead.c:751: warning: (near initialization for `smfilter')
>milter-ahead.c:752: warning: excess elements in struct initializer
>milter-ahead.c:752: warning: (near initialization for `smfilter')
>milter-ahead.c:753: warning: excess elements in struct initializer
>milter-ahead.c:753: warning: (near initialization for `smfilter')
>milter-ahead.c:754: warning: excess elements in struct initializer
>milter-ahead.c:754: warning: (near initialization for `smfilter')
>milter-ahead.c:755: warning: excess elements in struct initializer
>milter-ahead.c:755: warning: (near initialization for `smfilter')
>milter-ahead.c: In function `main':
>milter-ahead.c:775: warning: implicit declaration of function `smfi_settimeout'
>milter-ahead.c:859: `smfilter' has an incomplete type
>milter-ahead.c:859: type of formal parameter 2 is incomplete
>milter-ahead.c: At top level:
>milter-ahead.c:742: storage size of `smfilter' isn't known
>make: *** [milter-ahead] Error 1
>
>Any help or advice greatly appreciated!  It's built flawlessly on a
>few other boxes but keeps failing on this one.
>  
>

-- 
Jeff Groves
email: jgroves@krenim.org             Web Site: http://www.krenim.org/
blog: http://blogs.krenim.org/Jeff




Lists Index Date Thread Search