singhsanjay12 commented on pull request #7901:
URL: https://github.com/apache/trafficserver/pull/7901#issuecomment-856341817


   > Looks like the lua API array needs to be updated
   > 
   > ```
   > /bin/sh ../libtool  --tag=CC   --mode=compile ccache gcc -DHAVE_CONFIG_H 
-I. -I../include  -Dlinux -DDEBUG -D_DEBUG -D_LARGEFILE64_SOURCE=1 
-D_COMPILE64BIT_SOURCE=1 -D_REENTRANT -D__STDC_LIMIT_MACROS=1 
-D__STDC_FORMAT_MACROS=1 -I/var/jenkins/workspace/centos-github/src/proxy/api 
-I/var/jenkins/workspace/centos-github/src/proxy/api 
-I/var/jenkins/workspace/centos-github/src/include/cppapi/include 
-I/var/jenkins/workspace/centos-github/src/lib/cppapi/include 
-I/var/jenkins/workspace/centos-github/src/include 
-I/var/jenkins/workspace/centos-github/src/lib 
-I/var/jenkins/workspace/centos-github/src/lib/yamlcpp/include 
-I/var/jenkins/workspace/centos-github/src/lib/yamlcpp/include   
-I/usr/include/luajit-2.1  -D_GNU_SOURCE -DOPENSSL_NO_SSL_INTERN -std=gnu99 
-ggdb3 -pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter 
-Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow -Werror 
-mcx16  -MT lua/tslua_la-ts_lua_server_response.lo -MD -MP -MF lua/.deps/tslua_
 la-ts_lua_server_response.Tpo -c -o lua/tslua_la-ts_lua_server_response.lo 
`test -f 'lua/ts_lua_server_response.c' || echo 
'./'`lua/ts_lua_server_response.c
   > lua/ts_lua_http.c: In function 'ts_lua_http_is_aborted':
   > lua/ts_lua_http.c:771:7: error: too few arguments to function 
'TSHttpTxnAborted'
   >    if (TSHttpTxnAborted(http_ctx->txnp)) {
   >        ^~~~~~~~~~~~~~~~
   > In file included from lua/ts_lua_common.h:30,
   >                  from lua/ts_lua_util.h:21,
   >                  from lua/ts_lua_http.c:19:
   > ../include/ts/ts.h:2363:20: note: declared here
   >  tsapi TSReturnCode TSHttpTxnAborted(TSHttpTxn txnp, bool *client_abort);
   >                     ^~~~~~~~~~~~~~~~
   > make[2]: *** [Makefile:5826: lua/tslua_la-ts_lua_http.lo] Error 1
   > make[2]: *** Waiting for unfinished jobs....
   > ```
   
   Updated the API call to fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to