Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4 Fail To Compile with domainkeys

2.4.1
closed
nobody
opendkim (10)
5
2012-09-11
2011-07-06
Leonardo
No

Hi, i try to compile the opendkim with the option --with-domainkeys, the "configure" work is fine, but the "make" command output the following errors:

opendkim.c: In function âdkimf_cleanupâ:
opendkim.c:8727: error: too few arguments to function âdk_freeâ
opendkim.c: In function âmlfi_headerâ:
opendkim.c:10956: error: âDK_SIGNHEADERâ undeclared (first use in this function)
opendkim.c:10956: error: (Each undeclared identifier is reported only once
opendkim.c:10956: error: for each function it appears in.)
opendkim.c: In function âmlfi_eohâ:
opendkim.c:12165: warning: passing argument 2 of âdk_verifyâ from incompatible pointer type
opendkim.c:12165: error: too many arguments to function âdk_verifyâ
opendkim.c:12279: warning: implicit declaration of function âdk_headerâ
opendkim.c:12291: error: too few arguments to function âdk_freeâ
opendkim.c:12302: warning: implicit declaration of function âdk_eohâ
opendkim.c:12312: error: too few arguments to function âdk_freeâ
opendkim.c: In function âmlfi_bodyâ:
opendkim.c:12557: warning: implicit declaration of function âdk_bodyâ
opendkim.c:12567: error: too few arguments to function âdk_freeâ
opendkim.c: In function âmlfi_eomâ:
opendkim.c:13003: warning: implicit declaration of function âdk_getidentityâ
opendkim.c: In function âmainâ:
opendkim.c:16567: error: too many arguments to function âdk_initâ

if i try to configure without the option --with-domainkeys the make works fine.

Discussion

    • status: open --> pending
     
  • What version of libdk are you using, and where did you get it?

    For example, the prototype in libdk v1.0.1 for dk_free() is:

    extern DK_STAT dk_free __P((DK *dk));

    ...and the call to it in opendkim.c is:

    dk_free(dfc->mctx_dk);

    ...which looks right to me.

     
    • status: pending --> closed
     
  • Pending for more than a year now. Closing as abandoned.

    DK support has been discontinued.