[ 
https://issues.apache.org/jira/browse/TS-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625489#comment-14625489
 ] 

Leif Hedstrom commented on TS-3761:
-----------------------------------

Ok, lets fix the ATS docs. Can you point to where in the docs it says to do 
this?

On the second issue: No, these include files are not intended to be public. And 
definitely, the expectation is not to use tsxs when building plugins that are 
part of the core. tsxs is intended for those who needs to build their own set 
of plugins, outside of the ATS source tree. If you do, you should not depend on 
the internal ATS include files. They can change at any time, and are not frozen 
as public APIs.

If you need anything from them, you should setup your own build / autoconf 
system, and include the appropriate include files from the system you are 
building on.


> 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)

Reply via email to