Igor Galić created TS-1719:
------------------------------

             Summary: Lua Plugin breaks build on Linux (Ubuntu 12.10/amd64)
                 Key: TS-1719
                 URL: https://issues.apache.org/jira/browse/TS-1719
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
            Reporter: Igor Galić


{noformat}
Making all in lua
make[3]: Entering directory 
`/home/igalic/src/asf/trafficserver/plugins/experimental/lua'
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../lib/ts  -I/usr//include/luajit-2.0   -I../../../proxy/api 
-I../../../proxy/api -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 
-D_GNU_SOURCE -D_REENTRANT -Dlinux -I/usr/include/tcl8.5  -std=c++11 -g -pipe 
-Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing 
-Wno-invalid-offsetof -MT lua_la-state.lo -MD -MP -MF .deps/lua_la-state.Tpo -c 
-o lua_la-state.lo `test -f 'state.cc' || echo './'`state.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../lib/ts 
-I/usr//include/luajit-2.0 -I../../../proxy/api -I../../../proxy/api 
-D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
-Dlinux -I/usr/include/tcl8.5 -std=c++11 -g -pipe -Wall -Werror -O3 
-feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT 
lua_la-state.lo -MD -MP -MF .deps/lua_la-state.Tpo -c state.cc  -fPIC -DPIC -o 
.libs/lua_la-state.o
state.cc: In function 'instanceid_t LuaPluginRegister(unsigned int, const 
char**)':
state.cc:169:21: error: comparison between signed and unsigned integer 
expressions [-Werror=sign-compare]
state.cc: In member function 'bool LuaThreadState::init(LuaPluginInstance*)':
state.cc:251:7: error: 'strerror' was not declared in this scope
cc1plus: all warnings being treated as errors
make[3]: *** [lua_la-state.lo] Error 1
{format}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to