#109 linking filter fails when POPAUTH is enabled

v2.5.1
closed-fixed
5
2008-03-28
2008-03-21
umq
No

When POPAUTH is on (and none of QUERY_CACHE, _FFR_BODYLENGTH_DB nor _FFR_STATS is enabled),
linking dkim-filter fails.

cc -o dkim-filter -pthread -L/usr/local/lib/db46 config.o dkim-ar.o dkim-db.o dkim-filter.o stats.o test.o util.o -lmilter /usr/ports/mail/dkim-milter/work/dkim-milter-2.5.1/obj.FreeBSD.8.0-CURRENT.amd64/libdkim/libdkim.a /usr/ports/mail/dkim-milter/work/dkim-milter-2.5.1/obj.FreeBSD.8.0-CURRENT.amd64/libsm/libsm.a /usr/ports/mail/dkim-milter/work/dkim-milter-2.5.1/obj.FreeBSD.8.0-CURRENT.amd64/libar/libar.a -ldb -lutil -ldb-4.6 -lssl -lcrypto
/usr/ports/mail/dkim-milter/work/dkim-milter-2.5.1/obj.FreeBSD.8.0-CURRENT.amd64/dkim-filter/dkim-filter.c:7508: undefined reference to `dkimf_db_open_ro'
util.o(.text+0x7b7): In function `dkimf_checkpopauth':
/usr/ports/mail/dkim-milter/work/dkim-milter-2.5.1/obj.FreeBSD.8.0-CURRENT.amd64/dkim-filter/util.c:558: undefined reference to `dkimf_db_exists'
*** Error code 1

conf_dkim_filter_ENVDEF is not converted into confENVDEF when deciding whether confUSE_DB is defined.

I attach a patch for this.

Discussion

  • umq

    umq - 2008-03-21

    patch to fix link error

     
  • Anonymous - 2008-03-23
    • milestone: 817509 --> v2.5.1
    • assigned_to: nobody --> sm-msk
     
  • Anonymous - 2008-03-23

    Logged In: YES
    user_id=1048957
    Originator: NO

    Patch applied for next release. Thanks!

     
  • Anonymous - 2008-03-28
    • status: open --> closed-fixed
     
  • Anonymous - 2008-03-28

    Logged In: YES
    user_id=1048957
    Originator: NO

    v2.5.2 released.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks