Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1719

Lua Plugin breaks build on Linux (Ubuntu 12.10/amd64)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 3.3.2
    • Build
    • None

    Description

      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
      

      Attachments

        Activity

          People

            jamespeach James Peach
            i.galic Igor Galić
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: