You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/05/05 07:02:16 UTC

[jira] [Updated] (TS-1731) Lua Plugin compile breaks on Ubuntu 12.10 (and probably others)

     [ https://issues.apache.org/jira/browse/TS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach updated TS-1731:
----------------------------

    Component/s: Lua
    
> Lua Plugin compile breaks on Ubuntu 12.10 (and probably others)
> ---------------------------------------------------------------
>
>                 Key: TS-1731
>                 URL: https://issues.apache.org/jira/browse/TS-1731
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Lua, Plugins
>            Reporter: Igor Galić
>            Assignee: James Peach
>             Fix For: 3.3.3
>
>
> {noformat}
> /bin/bash ../../../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I/home/igalic/src/asf/trafficserver/plugins/experimental/lua -I../../../lib/ts  -I/usr//include/luajit-2.0   -I../../../proxy/api -I/home/igalic/src/asf/trafficserver/proxy/api -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux -DDEBUG -D_DEBUG -I/usr/include/tcl8.5  -std=c++11 -ggdb3 -pipe -Wall -Werror -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 '/home/igalic/src/asf/trafficserver/plugins/experimental/lua/'`state.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I/home/igalic/src/asf/trafficserver/plugins/experimental/lua -I../../../lib/ts -I/usr//include/luajit-2.0 -I../../../proxy/api -I/home/igalic/src/asf/trafficserver/proxy/api -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux -DDEBUG -D_DEBUG -I/usr/include/tcl8.5 -std=c++11 -ggdb3 -pipe -Wall -Werror -Wno-invalid-offsetof -MT lua_la-state.lo -MD -MP -MF .deps/lua_la-state.Tpo -c /home/igalic/src/asf/trafficserver/plugins/experimental/lua/state.cc  -fPIC -DPIC -o .libs/lua_la-state.o
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/state.cc: In function 'instanceid_t LuaPluginRegister(unsigned int, const char**)':
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/state.cc:169:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/state.cc: In member function 'bool LuaThreadState::init(LuaPluginInstance*)':
> /home/igalic/src/asf/trafficserver/plugins/experimental/lua/state.cc:251:7: error: 'strerror' was not declared in this scope
> cc1plus: all warnings being treated as errors
> make: *** [lua_la-state.lo] Error 1
> {noformat}

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