Re: gnugk 4.2 and lua , compilation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dmitry Melekhov wrote:
> 28.09.2016 15:07, Dmitry Melekhov пишет:
> > Hello!
> >
> > Going to move my 4.0.1 from old ubuntu 12.04 server to Centos 7,
> >
> > but got following error while compiling 4.2.0 on centos 7:
> >
> >
> > [CC] lua.cxx
> > lua.cxx: In member function 'void LuaBase::InitLua()':
> > lua.cxx:116:36: error: 'luaL_newlib' was not declared in this scope
> >          luaL_newlib(m_lua, gnugklib);
> >
> >
> > Without lua support it compiles just fine...
> >
> > Could you tell me what is wrong here?
> >
> >
> >  
> What is more strange here is that after  this error I did:
> 
> 
> ./configure --disable-lua
> make
> 
> and then binary says it has lua support:
> 
> Gatekeeper(GNU) Version(4.2.0) 
> Ext(pthreads=1,radius=1,mysql=0,pgsql=0,firebird=0,odbc=0,sqlite=1,large_fdset=4096,crypto/ssl=0,h46018=0,h46023=1,ldap=0,ssh=0,ipv6=1,h235media=0,lua=1,h46017=1,snmp=1,h46026=0,geoip=0) 
> H323Plus(1.26.7) PTLib(2.10.9) Build(Sep 28 2016, 11:57:39) Sys(Linux 
> x86_64 3.10.0-327.4.5.el7.x86_64)
> 
> sort of miracle, didn't test it yet , though :-)

No miracle, you just didn't recompile version.cxx.

You should always do a "make clean" after running ./configure.

So, which LUA version do you have on Centos 7 ?

Regards,
Jan

------------------------------------------------------------------------------
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/




[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux