[
https://issues.apache.org/jira/browse/TS-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623445#comment-14623445
]
Leif Hedstrom edited comment on TS-3761 at 7/11/15 3:19 PM:
------------------------------------------------------------
Hmmm, these are not public APIs, and were not intended to be used outside of
building the ATS source tree. What #include line(s) do you have in your source
file ? If you are building a custom plugin inside the source tree, don't use
tsxs, setup the Makefile.am etc. as you would with other plugins.
Without seeing the code, and the invocations of your tsxs command, it sounds
like you ought to do #include "ts.h" ? Or, change your command to "tsxs
-I../../../lib" ?
was (Author: zwoop):
Hmmm, these are not public APIs, and were not intended to be used outside of
building the ATS source tree. What #include line(s) do you have in your source
file ?
> tsxs tools can not working
> --------------------------
>
> Key: TS-3761
> URL: https://issues.apache.org/jira/browse/TS-3761
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Oknet Xu
>
> the commit:
> https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=36e1dd0
> leads the include files broken and tsxs tools can not compiling plugins.
> {code}
> root@debian:/root/trafficserver# cd example/version
> root@debian:/root/trafficserver/example/version# /usr/local/ats/bin/tsxs
> -I../../lib/ts -c version.c -o version.so
> compiling version.c -> version.lo
> version.c:27:25: fatal error: ts/ink_defs.h: No such file or directory
> compilation terminated.
> tsxs: compilation failed: ccache cc -I/usr/local/ats/include -I../../lib/ts
> -std=gnu99 -ggdb3 -pipe -Wall -mcx16 -fpic -c version.c -o version.lo
> root@debian:/root/trafficserver/example/version#
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)