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/21 17:20:39 UTC

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

     [ https://issues.apache.org/jira/browse/TS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryo Okubo updated TS-2794:
--------------------------

    Attachment: shared_ptr_h_in.patch

I see. I agree with your opinions and close pull-request for now.

As another solution which don't need config header, I suggest the way that create shared_ptr.h automatically by using variables of configure.ac. It fixes build failure but it may make complex autoconf's settings.

> 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
>             Fix For: 5.0.0
>
>         Attachments: shared_ptr_h_in.patch
>
>
> 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)