[Pdns-users] Trying to compile with OpenDBX support - LUA issues?!?
Robert Dunkley
Robert at saq.co.uk
Mon Oct 26 10:14:12 UTC 2009
Hi Everyone,
I'm trying to build PowerDNS with OpenDBX and MSSQL support. FreeTDS,
OpenDBX (With MSSQL option) and LUA all compile and install fine.
My PowerDNS configure looks like this:
./configure --with-modules="opendbx" --with-socketdir=/var/run
--enable-pdns_server --enable-recursor
I don't even need scripting support but don't know how to disable it,
can the LUA requirement be disabled?
Thanks
Rob
Here is the make error:
g++ -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -pthread -D_GNU_SOURCE
-Wall -O2 -o pdns_recursor syncres.o misc.o unix_utility.o qtype.o
logger.o statbag.o arguments.o lwres.o pdns_recursor.o recursor_cache.o
dnsparser.o dnswriter.o dnsrecords.o rcpgenerator.o base64.o
zoneparser-tng.o rec_channel.o rec_channel_rec.o selectmplexer.o
epollmplexer.o sillyrecords.o htimer.o dns_random.o aescrypt.o aeskey.o
aestab.o aes_modes.o lua-pdns-recursor.o randomhelper.o -lz
lua-pdns-recursor.o: In function
`PowerDNSLua::getFromTable(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned int&)':
lua-pdns-recursor.cc:(.text+0xa2): undefined reference to
`lua_pushstring'
lua-pdns-recursor.cc:(.text+0xaf): undefined reference to `lua_gettable'
lua-pdns-recursor.cc:(.text+0xbc): undefined reference to `lua_type'
lua-pdns-recursor.cc:(.text+0xd0): undefined reference to `lua_tonumber'
lua-pdns-recursor.cc:(.text+0xe6): undefined reference to `lua_settop'
lua-pdns-recursor.o: In function
`PowerDNSLua::getFromTable(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>&)':
lua-pdns-recursor.cc:(.text+0x122): undefined reference to
`lua_pushstring'
lua-pdns-recursor.cc:(.text+0x130): undefined reference to
`lua_gettable'
lua-pdns-recursor.cc:(.text+0x13e): undefined reference to `lua_type'
lua-pdns-recursor.cc:(.text+0x152): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x17e): undefined reference to `lua_settop'
lua-pdns-recursor.o: In function `logLua':
lua-pdns-recursor.cc:(.text+0x1ac): undefined reference to `lua_gettop'
lua-pdns-recursor.cc:(.text+0x1c3): undefined reference to
`lua_tolstring'
lua-pdns-recursor.o: In function
`PowerDNSLua::PowerDNSLua(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
lua-pdns-recursor.cc:(.text+0x3c1): undefined reference to
`luaL_newstate'
lua-pdns-recursor.cc:(.text+0x3cd): undefined reference to
`luaL_openlibs'
lua-pdns-recursor.cc:(.text+0x3da): undefined reference to
`luaL_loadfile'
lua-pdns-recursor.cc:(.text+0x3f0): undefined reference to `lua_pcall'
lua-pdns-recursor.cc:(.text+0x406): undefined reference to
`lua_isstring'
lua-pdns-recursor.cc:(.text+0x51c): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x52f): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x53f): undefined reference to
`lua_pushcclosure'
lua-pdns-recursor.cc:(.text+0x552): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x562): undefined reference to
`lua_pushcclosure'
lua-pdns-recursor.cc:(.text+0x575): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x582): undefined reference to
`lua_createtable'
lua-pdns-recursor.cc:(.text+0x5a0): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x5b5): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x5cf): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x5e2): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x5f5): undefined reference to
`lua_setfield'
lua-pdns-recursor.o: In function `netmaskMatchTable(lua_State*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)':
lua-pdns-recursor.cc:(.text+0x8c4): undefined reference to `lua_pushnil'
lua-pdns-recursor.cc:(.text+0x98e): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x9d0): undefined reference to `lua_next'
lua-pdns-recursor.cc:(.text+0x9e7): undefined reference to
`lua_tolstring'
lua-pdns-recursor.o: In function
`PowerDNSLua::PowerDNSLua(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
lua-pdns-recursor.cc:(.text+0xff1): undefined reference to
`luaL_newstate'
lua-pdns-recursor.cc:(.text+0xffd): undefined reference to
`luaL_openlibs'
lua-pdns-recursor.cc:(.text+0x100a): undefined reference to
`luaL_loadfile'
lua-pdns-recursor.cc:(.text+0x1020): undefined reference to `lua_pcall'
lua-pdns-recursor.cc:(.text+0x1036): undefined reference to
`lua_isstring'
lua-pdns-recursor.cc:(.text+0x114c): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x115f): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x116f): undefined reference to
`lua_pushcclosure'
lua-pdns-recursor.cc:(.text+0x1182): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x1192): undefined reference to
`lua_pushcclosure'
lua-pdns-recursor.cc:(.text+0x11a5): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x11b2): undefined reference to
`lua_createtable'
lua-pdns-recursor.cc:(.text+0x11d0): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x11e5): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x11ff): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x1212): undefined reference to
`lua_setfield'
lua-pdns-recursor.cc:(.text+0x1225): undefined reference to
`lua_setfield'
lua-pdns-recursor.o: In function `netmaskMatchLua':
lua-pdns-recursor.cc:(.text+0x14f3): undefined reference to `lua_gettop'
lua-pdns-recursor.cc:(.text+0x150b): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x1533): undefined reference to `lua_type'
lua-pdns-recursor.cc:(.text+0x1646): undefined reference to `lua_gettop'
lua-pdns-recursor.cc:(.text+0x165c): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x18a3): undefined reference to
`lua_pushboolean'
lua-pdns-recursor.o: In function
`PowerDNSLua::passthrough(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, ComboAddress
const&, ComboAddress const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, QType const&,
std::vector<DNSResourceRecord, std::allocator<DNSResourceRecord> >&,
int&)':
lua-pdns-recursor.cc:(.text+0x1d60): undefined reference to
`lua_getfield'
lua-pdns-recursor.cc:(.text+0x1d6e): undefined reference to `lua_type'
lua-pdns-recursor.cc:(.text+0x1d81): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x1dd4): undefined reference to
`lua_pushstring'
lua-pdns-recursor.cc:(.text+0x1e30): undefined reference to
`lua_pushstring'
lua-pdns-recursor.cc:(.text+0x1e55): undefined reference to
`lua_pushstring'
lua-pdns-recursor.cc:(.text+0x1e6a): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x1e7f): undefined reference to `lua_pcall'
lua-pdns-recursor.cc:(.text+0x1ea7): undefined reference to
`lua_tolstring'
lua-pdns-recursor.cc:(.text+0x1f38): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x1f70): undefined reference to
`lua_tonumber'
lua-pdns-recursor.cc:(.text+0x205c): undefined reference to `lua_objlen'
lua-pdns-recursor.cc:(.text+0x21db): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x2290): undefined reference to
`lua_pushnumber'
lua-pdns-recursor.cc:(.text+0x229e): undefined reference to
`lua_gettable'
lua-pdns-recursor.cc:(.text+0x2310): undefined reference to `lua_settop'
lua-pdns-recursor.cc:(.text+0x2364): undefined reference to `lua_settop'
lua-pdns-recursor.o: In function `PowerDNSLua::~PowerDNSLua()':
lua-pdns-recursor.cc:(.text+0x64): undefined reference to `lua_close'
lua-pdns-recursor.o: In function `PowerDNSLua::~PowerDNSLua()':
lua-pdns-recursor.cc:(.text+0x74): undefined reference to `lua_close'
collect2: ld returned 1 exit status
make[3]: *** [pdns_recursor] Error 1
make[3]: Leaving directory `/usr/src/pdns-2.9.22/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/pdns-2.9.22/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pdns-2.9.22'
make: *** [all] Error 2
The SAQ Group
Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
Company Number: 06481952
http://www.saqnet.co.uk AS29219
SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business.
Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support.
ISPA Member
More information about the Pdns-users
mailing list