Loading ...
Sorry, an error occurred while loading the content.

Re: libutil.a(dict_db.o) compilation problem

Expand Messages
  • Wietse Venema
    ... The SYSTEM db.h include file is for a different version than the code in the SYSTEM object library. Wietse
    Message 1 of 3 , Jun 1, 2006
    • 0 Attachment
      Davide Poccecai:
      > Undefined first referenced
      > symbol in file
      > db_create ../../lib/libutil.a(dict_db.o)
      > db_version ../../lib/libutil.a(dict_db.o)

      The SYSTEM db.h include file is for a different version than the
      code in the SYSTEM object library.

      Wietse
    • Victor Duchovni
      ... No, the OP simply used AUXLIB instead of AUXLIBS , so -ldb was not passed to the linker. -- Viktor. P.S. Morgan Stanley is looking for a New York City
      Message 2 of 3 , Jun 1, 2006
      • 0 Attachment
        On Thu, Jun 01, 2006 at 05:57:35PM -0400, Wietse Venema wrote:

        > Davide Poccecai:
        > > Undefined first referenced
        > > symbol in file
        > > db_create ../../lib/libutil.a(dict_db.o)
        > > db_version ../../lib/libutil.a(dict_db.o)
        >
        > The SYSTEM db.h include file is for a different version than the
        > code in the SYSTEM object library.

        No, the OP simply used "AUXLIB" instead of "AUXLIBS", so "-ldb" was
        not passed to the linker.

        --
        Viktor.

        P.S. Morgan Stanley is looking for a New York City based, Senior Unix
        system/email administrator to architect and sustain the Unix email
        environment. If you are interested, please drop me a note.

        Disclaimer: off-list followups get on-list replies or get ignored.
        Please do not ignore the "Reply-To" header.

        To unsubscribe from the postfix-users list, visit
        http://www.postfix.org/lists.html or click the link below:
        <mailto:majordomo@...?body=unsubscribe%20postfix-users>

        If my response solves your problem, the best way to thank me is to not
        send an "it worked, thanks" follow-up. If you must respond, please put
        "It worked, thanks" in the "Subject" so I can delete these quickly.
      Your message has been successfully submitted and would be delivered to recipients shortly.