You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Ryo OKUBO (JIRA)" <ji...@apache.org> on 2014/05/11 00:05:00 UTC

[jira] [Created] (TS-2794) Build failure related to header requirements of atscppapi

Ryo OKUBO created TS-2794:
-----------------------------

             Summary: Build failure related to header requirements of atscppapi
                 Key: TS-2794
                 URL: https://issues.apache.org/jira/browse/TS-2794
             Project: Traffic Server
          Issue Type: Bug
          Components: CPP API
            Reporter: Ryo OKUBO
            Assignee: Brian Geffon


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

{noformat}
# 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.
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)