[
https://issues.apache.org/jira/browse/TS-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625497#comment-14625497
]
Leif Hedstrom commented on TS-3761:
-----------------------------------
{code}
diff --git a/example/version/version.c b/example/version/version.c
index f5c8126..4020a0c 100644
--- a/example/version/version.c
+++ b/example/version/version.c
@@ -24,10 +24,9 @@
#include <stdio.h>
#include "ts/ts.h"
-#include "ts/ink_defs.h"
void
-TSPluginInit(int argc ATS_UNUSED, const char *argv[] ATS_UNUSED)
+TSPluginInit(int argc , const char *argv[])
{
TSPluginRegistrationInfo info;
{code}
> 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)