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

Build warning in WCCP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1.0
    • WCCP
    • None

    Description

      Using latest versions of clang, I get the following warnings and errors, in WCCP:

      WccpConfig.cc:64:26: error: unused variable 'SVC_PROP_FLAGS' [-Werror,-Wunused-const-variable]
      static char const *const SVC_PROP_FLAGS = "flags";
      

      This is obviously easy to fix. The second one is stranger:

      Undefined symbols for architecture x86_64:
        "wccp::detail::cache::CacheData::idAddr() const", referenced from:
            wccp::CacheViewComp::fill(wccp::MsgBuffer&, wccp::detail::cache::GroupData const&) in libwccp.a(WccpMsg.o)
            wccp::detail::Assignment::fill(wccp::detail::cache::GroupData&, unsigned int) in libwccp.a(WccpMsg.o)
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      Attachments

        Activity

          People

            amc Alan M. Carroll
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: