Skip to content

Instantly share code, notes, and snippets.

@dje
Created July 22, 2012 15:28
Show Gist options
  • Save dje/3159989 to your computer and use it in GitHub Desktop.
Save dje/3159989 to your computer and use it in GitHub Desktop.
PowerDNS Lua 5.2 compilation error
Making all in luabackend
make[3]: Entering directory `/usr/src/pdns/pdns/modules/luabackend'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c -o luabackend.lo luabackend.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c luabackend.cc -fPIC -DPIC -o .libs/luabackend.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c luabackend.cc -o luabackend.o >/dev/null 2>&1
mv -f .deps/luabackend.Tpo .deps/luabackend.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT minimal.lo -MD -MP -MF .deps/minimal.Tpo -c -o minimal.lo minimal.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT minimal.lo -MD -MP -MF .deps/minimal.Tpo -c minimal.cc -fPIC -DPIC -o .libs/minimal.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT minimal.lo -MD -MP -MF .deps/minimal.Tpo -c minimal.cc -o minimal.o >/dev/null 2>&1
mv -f .deps/minimal.Tpo .deps/minimal.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT reload.lo -MD -MP -MF .deps/reload.Tpo -c -o reload.lo reload.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.2 -pthread -D_GNU_SOURCE -Wall -O2 -MT reload.lo -MD -MP -MF .deps/reload.Tpo -c reload.cc -fPIC -DPIC -o .libs/reload.o
make[3]: Leaving directory `/usr/src/pdns/pdns/modules/luabackend'
make[2]: Leaving directory `/usr/src/pdns/pdns/modules'
make[1]: Leaving directory `/usr/src/pdns/pdns'
STDERR: reload.cc: In member function 'virtual void LUABackend::reload()':
reload.cc:65:20: error: 'lua_open' was not declared in this scope
make[3]: *** [reload.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
---- End output of make ----
Ran make returned 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment