Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3490

mysql_remap Plugin compile fails on Mac OS X 10.10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1.0
    • Build, Plugins
    • None

    Description

      On Mac OS X 10.10 / Xcode 6.2 compilation of the experimental plugins fails with undefined symbols for the mysql_remap plugin.

      Compilation succeeds if -no-undefined is removed from plugins/experimental/mysql_remap/Makefile.am, but I'm not sure if that is the right approach.

      Compile error:

      git rev-parse HEAD
      f4bbdd921aa4b453fe4dbca5e9c2c0955ecc0954
      
      clang --version
      Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
      Target: x86_64-apple-darwin14.3.0
      Thread model: posix
      
      ./configure […] --enable-experimental-plugins
      
      make -C plugins/experimental/mysql_remap
      […]
        CC       lib/dictionary.lo
        CC       lib/iniparser.lo
        CCLD     libmysql_remap.la
        CXX      mysql_remap.lo
        CXXLD    mysql_remap.la
      Undefined symbols for architecture x86_64:
        "_TSContCreate", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSContDataGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSContDataSet", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSDebug", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
            _TSPluginInit in mysql_remap.o
            mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
        "_TSError", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSHandleMLocRelease", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSHttpHdrStatusSet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSHttpHdrUrlGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSHttpHookAdd", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSHttpTxnClientReqGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSHttpTxnReenable", referenced from:
            mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
        "_TSHttpTxnSetHttpRetStatus", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSMimeHdrFieldFind", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSMimeHdrFieldValueStringGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSMimeHdrFieldValueStringSet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSMutexCreate", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSPluginRegister", referenced from:
            _TSPluginInit in mysql_remap.o
        "_TSSkipRemappingSet", referenced from:
            mysql_remap(tsapi_cont*, TSEvent, void*) in mysql_remap.o
        "_TSUrlHostSet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSUrlPortGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSUrlPortSet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSUrlSchemeGet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TSUrlSchemeSet", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TS_MIME_FIELD_HOST", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TS_MIME_LEN_HOST", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "_TS_NULL_MLOC", referenced from:
            do_mysql_remap(tsapi_cont*, tsapi_httptxn*) in mysql_remap.o
        "__TSmalloc", referenced from:
            _TSPluginInit in mysql_remap.o
        "iniparser_load(char const*)", referenced from:
      […]
      

      Attachments

        Issue Links

          Activity

            People

              jamespeach James Peach
              felixbuenemann Felix Buenemann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: