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

Build failure related to header requirements of atscppapi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • CPP API
    • None

    Description

      When I built my plugin outside of trafficserver source tree, I found build failure related to header requirements of atscppapi as below logs.

      # I set /usr/local/trafficserver/ as prefix.
      In file included from /usr/local/trafficserver/include/atscppapi/Transaction.h:30:
      /usr/local/trafficserver/include/atscppapi/shared_ptr.h:28:10: fatal error: 'ink_autoconf.h' file not found
      #include "ink_autoconf.h"
               ^
      1 error generated.
      

      The shared_ptr.h requires a variable defined on ink_autoconf.h but it doesn't exist in destination directory. so I've already posted Pull-Request on GitHub to fix it. please review, and show me better solution if you have.
      https://github.com/apache/trafficserver/pull/80

      Attachments

        1. shared_ptr_h_in.patch
          5 kB
          Ryo Okubo
        2. extend-tsxs.diff
          1 kB
          Masakazu Kitajo

        Issue Links

          Activity

            People

              briang Brian Geffon
              rokubo Ryo Okubo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: