Menu

#43 Unable to install, getting errors, please help

v0.4.1
closed
Compilation (9)
5
2015-01-07
2007-01-20
No

Just downloaded the latest version dk-milter-0.4.1 and tried installing it on a plain RHEL4 box, no control panel, downloaded and untarred the package into /usr/local/src/, but "sh Build" gives the following errors:

cc -O2 -I. -I../../include -I../libdk/ -D_REENTRANT -DXP_MT -c -o dk-filter.o dk-filter.c
dk-filter.c:64:29: libmilter/mfapi.h: No such file or directory
dk-filter.c:172: error: syntax error before "_SOCK_ADDR"
dk-filter.c:172: warning: no semicolon at end of struct or union
dk-filter.c:174: error: syntax error before '}' token
dk-filter.c:192: error: `SMFIS_ACCEPT' undeclared here (not in a function)
dk-filter.c:192: error: initializer element is not constant
dk-filter.c:192: error: (near initialization for `defaults.cfg_nosig')
dk-filter.c:193: error: initializer element is not constant
dk-filter.c:193: error: (near initialization for `defaults.cfg_badsig')
dk-filter.c:194: error: initializer element is not constant
dk-filter.c:194: error: (near initialization for `defaults.cfg_sigmissing')
dk-filter.c:195: error: `SMFIS_TEMPFAIL' undeclared here (not in a function)
dk-filter.c:195: error: initializer element is not constant
dk-filter.c:195: error: (near initialization for `defaults.cfg_dnserr')
dk-filter.c:197: error: initializer element is not constant
dk-filter.c:197: error: (near initialization for `defaults.cfg_internal')
dk-filter.c:245: error: initializer element is not constant
dk-filter.c:245: error: (near initialization for `dkf_values[0].code')
dk-filter.c:245: error: initializer element is not constant
dk-filter.c:245: error: (near initialization for `dkf_values[0]')
dk-filter.c:246: error: initializer element is not constant
dk-filter.c:246: error: (near initialization for `dkf_values[1].code')
dk-filter.c:246: error: initializer element is not constant
dk-filter.c:246: error: (near initialization for `dkf_values[1]')
dk-filter.c:247: error: `SMFIS_DISCARD' undeclared here (not in a function)
dk-filter.c:247: error: initializer element is not constant
dk-filter.c:247: error: (near initialization for `dkf_values[2].code')
dk-filter.c:247: error: initializer element is not constant
dk-filter.c:247: error: (near initialization for `dkf_values[2]')
dk-filter.c:248: error: initializer element is not constant
dk-filter.c:248: error: (near initialization for `dkf_values[3].code')
dk-filter.c:248: error: initializer element is not constant
dk-filter.c:248: error: (near initialization for `dkf_values[3]')
dk-filter.c:249: error: `SMFIS_REJECT' undeclared here (not in a function)
dk-filter.c:249: error: initializer element is not constant
dk-filter.c:249: error: (near initialization for `dkf_values[4].code')
dk-filter.c:249: error: initializer element is not constant
dk-filter.c:249: error: (near initialization for `dkf_values[4]')
dk-filter.c:250: error: initializer element is not constant
dk-filter.c:250: error: (near initialization for `dkf_values[5].code')
dk-filter.c:250: error: initializer element is not constant
dk-filter.c:250: error: (near initialization for `dkf_values[5]')
dk-filter.c:251: error: initializer element is not constant
dk-filter.c:251: error: (near initialization for `dkf_values[6].code')
dk-filter.c:251: error: initializer element is not constant
dk-filter.c:251: error: (near initialization for `dkf_values[6]')
dk-filter.c:252: error: initializer element is not constant
dk-filter.c:252: error: (near initialization for `dkf_values[7].code')
dk-filter.c:252: error: initializer element is not constant
dk-filter.c:252: error: (near initialization for `dkf_values[7]')
dk-filter.c:253: error: initializer element is not constant
dk-filter.c:253: error: (near initialization for `dkf_values[8]')
dk-filter.c:277: error: syntax error before "mlfi_abort"
dk-filter.c:277: error: syntax error before '*' token
dk-filter.c:277: warning: data definition has no type or storage class
dk-filter.c:278: error: syntax error before "mlfi_body"
dk-filter.c:278: error: syntax error before '*' token
dk-filter.c:278: warning: data definition has no type or storage class
dk-filter.c:279: error: syntax error before "mlfi_connect"
dk-filter.c:279: error: syntax error before '*' token
dk-filter.c:279: warning: data definition has no type or storage class
dk-filter.c:280: error: syntax error before "mlfi_envfrom"
dk-filter.c:280: error: syntax error before '*' token
dk-filter.c:280: warning: data definition has no type or storage class
dk-filter.c:281: error: syntax error before "mlfi_envrcpt"
dk-filter.c:281: error: syntax error before '*' token
dk-filter.c:281: warning: data definition has no type or storage class
dk-filter.c:282: error: syntax error before "mlfi_eoh"
dk-filter.c:282: error: syntax error before '*' token
dk-filter.c:282: warning: data definition has no type or storage class
dk-filter.c:283: error: syntax error before "mlfi_eom"
dk-filter.c:283: error: syntax error before '*' token
dk-filter.c:283: warning: data definition has no type or storage class
dk-filter.c:284: error: syntax error before "mlfi_header"
dk-filter.c:284: error: syntax error before '*' token
dk-filter.c:284: warning: data definition has no type or storage class
dk-filter.c:286: error: syntax error before '*' token
dk-filter.c:595: error: syntax error before '*' token
dk-filter.c: In function `dkf_cleanup':
dk-filter.c:601: error: `ctx' undeclared (first use in this function)
dk-filter.c:601: error: (Each undeclared identifier is reported only once
dk-filter.c:601: error: for each function it appears in.)
dk-filter.c:609: error: dereferencing pointer to incomplete type
dk-filter.c:636: error: dereferencing pointer to incomplete type
dk-filter.c: At top level:
dk-filter.c:762: error: syntax error before "dkf_libstatus"
dk-filter.c:762: error: syntax error before '*' token
dk-filter.c: In function `dkf_libstatus':
dk-filter.c:764: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c:769: error: `ctx' undeclared (first use in this function)
dk-filter.c:772: warning: assignment makes pointer from integer without a cast
dk-filter.c:774: error: dereferencing pointer to incomplete type
dk-filter.c:777: error: `status' undeclared (first use in this function)
dk-filter.c:790: error: `where' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:1329: error: syntax error before "mlfi_connect"
dk-filter.c:1329: error: syntax error before '*' token
dk-filter.c: In function `mlfi_connect':
dk-filter.c:1346: error: `host' undeclared (first use in this function)
dk-filter.c:1354: error: `ip' undeclared (first use in this function)
dk-filter.c:1362: error: invalid application of `sizeof' to incomplete type `connctx'
dk-filter.c:1374: error: dereferencing pointer to incomplete type
dk-filter.c:1374: error: dereferencing pointer to incomplete type
dk-filter.c:1384: error: dereferencing pointer to incomplete type
dk-filter.c:1384: error: dereferencing pointer to incomplete type
dk-filter.c:1388: error: dereferencing pointer to incomplete type
dk-filter.c:1388: error: dereferencing pointer to incomplete type
dk-filter.c:1391: error: dereferencing pointer to incomplete type
dk-filter.c:1393: error: `ctx' undeclared (first use in this function)
dk-filter.c:1395: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:1410: error: syntax error before "mlfi_envfrom"
dk-filter.c:1410: error: syntax error before '*' token
dk-filter.c: In function `mlfi_envfrom':
dk-filter.c:1416: error: `ctx' undeclared (first use in this function)
dk-filter.c:1417: error: `envfrom' undeclared (first use in this function)
dk-filter.c:1448: error: dereferencing pointer to incomplete type
dk-filter.c:1454: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:1472: error: syntax error before "mlfi_header"
dk-filter.c:1472: error: syntax error before '*' token
dk-filter.c: In function `mlfi_header':
dk-filter.c:1479: error: `ctx' undeclared (first use in this function)
dk-filter.c:1481: error: `headerf' undeclared (first use in this function)
dk-filter.c:1482: error: `headerv' undeclared (first use in this function)
dk-filter.c:1489: error: dereferencing pointer to incomplete type
dk-filter.c:1538: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:1552: error: syntax error before "mlfi_eoh"
dk-filter.c:1552: error: syntax error before '*' token
dk-filter.c: In function `mlfi_eoh':
dk-filter.c:1568: error: `ctx' undeclared (first use in this function)
dk-filter.c:1576: error: dereferencing pointer to incomplete type
dk-filter.c:1583: warning: assignment makes pointer from integer without a cast
dk-filter.c:1645: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c:1799: warning: assignment makes pointer from integer without a cast
dk-filter.c:1824: warning: assignment makes pointer from integer without a cast
dk-filter.c:1842: warning: assignment makes pointer from integer without a cast
dk-filter.c:1847: error: dereferencing pointer to incomplete type
dk-filter.c:1848: error: dereferencing pointer to incomplete type
dk-filter.c:1851: error: dereferencing pointer to incomplete type
dk-filter.c:1852: error: dereferencing pointer to incomplete type
dk-filter.c:1856: error: dereferencing pointer to incomplete type
dk-filter.c: At top level:
dk-filter.c:2003: error: syntax error before "mlfi_body"
dk-filter.c:2003: error: syntax error before '*' token
dk-filter.c: In function `mlfi_body':
dk-filter.c:2010: error: `ctx' undeclared (first use in this function)
dk-filter.c:2012: error: `bodyp' undeclared (first use in this function)
dk-filter.c:2019: error: dereferencing pointer to incomplete type
dk-filter.c:2026: error: `bodylen' undeclared (first use in this function)
dk-filter.c:2027: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:2049: error: syntax error before "mlfi_eom"
dk-filter.c:2049: error: syntax error before '*' token
dk-filter.c: In function `mlfi_eom':
dk-filter.c:2057: error: `sfsistat' undeclared (first use in this function)
dk-filter.c:2057: error: syntax error before "ret"
dk-filter.c:2068: error: `ctx' undeclared (first use in this function)
dk-filter.c:2076: error: dereferencing pointer to incomplete type
dk-filter.c:2080: warning: assignment makes pointer from integer without a cast
dk-filter.c:2239: error: `MI_FAILURE' undeclared (first use in this function)
dk-filter.c:2346: error: `MI_SUCCESS' undeclared (first use in this function)
dk-filter.c:2360: error: `ret' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:2416: error: syntax error before "mlfi_abort"
dk-filter.c:2416: error: syntax error before '*' token
dk-filter.c: In function `mlfi_abort':
dk-filter.c:2421: error: `ctx' undeclared (first use in this function)
dk-filter.c:2422: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:2436: error: syntax error before "mlfi_close"
dk-filter.c:2436: error: syntax error before '*' token
dk-filter.c: In function `mlfi_close':
dk-filter.c:2441: error: `ctx' undeclared (first use in this function)
dk-filter.c:2459: error: `SMFIS_CONTINUE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:2467: error: variable `smfilter' has initializer but incomplete type
dk-filter.c:2469: warning: excess elements in struct initializer
dk-filter.c:2469: warning: (near initialization for `smfilter')
dk-filter.c:2470: error: `SMFI_VERSION' undeclared here (not in a function)
dk-filter.c:2470: warning: excess elements in struct initializer
dk-filter.c:2470: warning: (near initialization for `smfilter')
dk-filter.c:2471: error: `SMFIF_ADDHDRS' undeclared here (not in a function)
dk-filter.c:2471: error: `SMFIF_CHGHDRS' undeclared here (not in a function)
dk-filter.c:2471: warning: excess elements in struct initializer
dk-filter.c:2471: warning: (near initialization for `smfilter')
dk-filter.c:2472: warning: excess elements in struct initializer
dk-filter.c:2472: warning: (near initialization for `smfilter')
dk-filter.c:2473: warning: excess elements in struct initializer
dk-filter.c:2473: warning: (near initialization for `smfilter')
dk-filter.c:2474: warning: excess elements in struct initializer
dk-filter.c:2474: warning: (near initialization for `smfilter')
dk-filter.c:2475: warning: excess elements in struct initializer
dk-filter.c:2475: warning: (near initialization for `smfilter')
dk-filter.c:2476: warning: excess elements in struct initializer
dk-filter.c:2476: warning: (near initialization for `smfilter')
dk-filter.c:2477: warning: excess elements in struct initializer
dk-filter.c:2477: warning: (near initialization for `smfilter')
dk-filter.c:2478: warning: excess elements in struct initializer
dk-filter.c:2478: warning: (near initialization for `smfilter')
dk-filter.c:2479: warning: excess elements in struct initializer
dk-filter.c:2479: warning: (near initialization for `smfilter')
dk-filter.c:2480: warning: excess elements in struct initializer
dk-filter.c:2480: warning: (near initialization for `smfilter')
dk-filter.c:2481: warning: excess elements in struct initializer
dk-filter.c:2481: warning: (near initialization for `smfilter')
dk-filter.c: In function `main':
dk-filter.c:3795: error: `smfilter' has an incomplete type
dk-filter.c:3795: error: `MI_FAILURE' undeclared (first use in this function)
dk-filter.c: At top level:
dk-filter.c:2467: error: storage size of `smfilter' isn't known
make[1]: *** [dk-filter.o] Error 1
make[1]: Leaving directory `/usr/local/src/dk-milter-0.4.1/obj.Linux.2.6.9-42.0.3.EL.i686/dk-filter'
make: *** [all] Error 2

Discussion

  • Anonymous

    Anonymous - 2007-03-08
    • milestone: --> v0.4.1
    • assigned_to: nobody --> sm-msk
     
  • Anonymous

    Anonymous - 2007-03-08

    Logged In: YES
    user_id=1048957
    Originator: NO

    Looks like you're not compiling with libmilter and its includes in your build path.

    Do you have them installed?

     
  • Anonymous

    Anonymous - 2007-03-09
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.