Roadblock Compiling error for dsgame on Fedora 20 (32-bit)

Post Reply
dragoonkayne
Posts: 4
Joined: Mon Apr 14, 2014 12:17 pm

Roadblock Compiling error for dsgame on Fedora 20 (32-bit)

Post by dragoonkayne » Tue Apr 29, 2014 3:58 pm

Hello,

I have been able to successfully set up the server on Windows, but now I am trying to set it up for Linux this time around and have run into a roadblock. I'm on Fedora 20 (32-bit) and I believe I have installed all the prerequisites through yum install. I had no issues with autogen and ran the configure without any issues. The roadblock that I have is when I try to "make dsgame". I've tried to copy/paste as much output as I could from the terminal. The compiler errors out at the end: collect2: error: ld returned 1 exit status
make: *** [dsgame] Error 1

dsgame-lua_instance.o: In function `CLuaInstance::CLuaInstance(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:37: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_instance.cpp:39: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_instance.cpp:40: undefined reference to `lua_settop'
dsgame-lua_instance.o: In function `CLuaInstance::setEntrance(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:125: undefined reference to `lua_tointeger'
dsgame-lua_instance.o: In function `CLuaInstance::getEntrance(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:118: undefined reference to `lua_pushinteger'
dsgame-lua_instance.o: In function `CLuaInstance::getFastestTime(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:97: undefined reference to `lua_pushinteger'
dsgame-lua_instance.o: In function `CLuaInstance::getFastestPlayer(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:104: undefined reference to `lua_pushstring'
dsgame-lua_instance.o: In function `CLuaInstance::getTimeInside(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:90: undefined reference to `lua_pushinteger'
dsgame-lua_instance.o: In function `CLuaInstance::getTimeLimit(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:75: undefined reference to `lua_pushinteger'
dsgame-lua_instance.o: In function `CLuaInstance::getBcnmID(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:83: undefined reference to `lua_pushinteger'
dsgame-lua_instance.o: In function `CLuaInstance::getInstanceNumber(lua_State*)':
/git/darkstar/src/map/lua/lua_instance.cpp:67: undefined reference to `lua_pushinteger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::CLuaMobSkill(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:37: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_mobskill.cpp:39: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_mobskill.cpp:40: undefined reference to `lua_settop'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::setSkillchain(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:77: undefined reference to `lua_tointeger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::getTP(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:155: undefined reference to `lua_pushnumber'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::getTotalTargets(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:117: undefined reference to `lua_pushinteger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::getID(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:133: undefined reference to `lua_pushinteger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::getParam(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:141: undefined reference to `lua_pushinteger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::isSingle(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:93: undefined reference to `lua_pushboolean'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::isConal(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:109: undefined reference to `lua_pushboolean'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::isAoE(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:101: undefined reference to `lua_pushboolean'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::hasMissMsg(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:85: undefined reference to `lua_pushboolean'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::getMsg(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:125: undefined reference to `lua_pushinteger'
dsgame-lua_mobskill.o: In function `CLuaMobSkill::setMsg(lua_State*)':
/git/darkstar/src/map/lua/lua_mobskill.cpp:68: undefined reference to `lua_tointeger'
dsgame-lua_region.o: In function `CLuaRegion::CLuaRegion(lua_State*)':
/git/darkstar/src/map/lua/lua_region.cpp:35: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_region.cpp:37: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_region.cpp:38: undefined reference to `lua_settop'
dsgame-lua_region.o: In function `CLuaRegion::DelCount(lua_State*)':
/git/darkstar/src/map/lua/lua_region.cpp:113: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_region.cpp:113: undefined reference to `lua_pushinteger'
dsgame-lua_region.o: In function `CLuaRegion::AddCount(lua_State*)':
/git/darkstar/src/map/lua/lua_region.cpp:98: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_region.cpp:98: undefined reference to `lua_pushinteger'
dsgame-lua_region.o: In function `CLuaRegion::GetCount(lua_State*)':
/git/darkstar/src/map/lua/lua_region.cpp:83: undefined reference to `lua_pushinteger'
dsgame-lua_region.o: In function `CLuaRegion::GetRegionID(lua_State*)':
/git/darkstar/src/map/lua/lua_region.cpp:69: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o: In function `CLuaSpell::CLuaSpell(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:38: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_spell.cpp:40: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_spell.cpp:41: undefined reference to `lua_settop'
dsgame-lua_spell.o: In function `CLuaSpell::getSpellGroup(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:125: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o: In function `CLuaSpell::getID(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:118: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o: In function `CLuaSpell::getTotalTargets(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:83: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o: In function `CLuaSpell::getElement(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:104: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o: In function `CLuaSpell::getMagicBurstMessage(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:97: undefined reference to `lua_pushinteger'
dsgame-lua_spell.o:/git/darkstar/src/map/lua/lua_spell.cpp:90: more undefined references to `lua_pushinteger' follow
dsgame-lua_spell.o: In function `CLuaSpell::setMsg(lua_State*)':
/git/darkstar/src/map/lua/lua_spell.cpp:69: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::CLuaStatusEffect(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:34: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_statuseffect.cpp:36: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_statuseffect.cpp:37: undefined reference to `lua_settop'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setFlag(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:277: undefined reference to `lua_tonumber'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setStartTime(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:252: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setTick(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:228: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getTick(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:162: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setTier(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:206: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getTier(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:92: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setSubPower(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:196: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getSubPower(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:84: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::addMod(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:265: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_statuseffect.cpp:265: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getTickCount(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:154: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getStartTime(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:112: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getLastTick(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:134: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getDuration(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:102: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setDuration(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:218: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setPower(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:186: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getPower(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:76: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::setIcon(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:174: undefined reference to `lua_tointeger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getSubType(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:66: undefined reference to `lua_pushinteger'
dsgame-lua_statuseffect.o: In function `CLuaStatusEffect::getType(lua_State*)':
/git/darkstar/src/map/lua/lua_statuseffect.cpp:56: undefined reference to `lua_pushinteger'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::CLuaTradeContainer(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:34: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:36: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_trade_container.cpp:37: undefined reference to `lua_settop'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getSlotCount(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:125: undefined reference to `lua_pushinteger'
/git/darkstar/src/map/lua/lua_trade_container.cpp:128: undefined reference to `lua_pushnil'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getItemCount(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:112: undefined reference to `lua_pushinteger'
/git/darkstar/src/map/lua/lua_trade_container.cpp:115: undefined reference to `lua_pushnil'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getItemSubId(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:91: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:98: undefined reference to `lua_pushinteger'
/git/darkstar/src/map/lua/lua_trade_container.cpp:91: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:93: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:102: undefined reference to `lua_pushinteger'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getItem(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:72: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:76: undefined reference to `lua_pushinteger'
/git/darkstar/src/map/lua/lua_trade_container.cpp:72: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:74: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:79: undefined reference to `lua_pushnil'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getGil(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:57: undefined reference to `lua_pushinteger'
/git/darkstar/src/map/lua/lua_trade_container.cpp:60: undefined reference to `lua_pushnil'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::confirmItem(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:198: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:198: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:200: undefined reference to `lua_tonumber'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::hasItemQty(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:174: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:188: undefined reference to `lua_pushnil'
/git/darkstar/src/map/lua/lua_trade_container.cpp:174: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:175: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:175: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:177: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:178: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:182: undefined reference to `lua_pushboolean'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getSlotQty(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:156: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:164: undefined reference to `lua_pushnil'
/git/darkstar/src/map/lua/lua_trade_container.cpp:156: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:158: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:159: undefined reference to `lua_pushinteger'
dsgame-lua_trade_container.o: In function `CLuaTradeContainer::getItemQty(lua_State*)':
/git/darkstar/src/map/lua/lua_trade_container.cpp:138: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_trade_container.cpp:146: undefined reference to `lua_pushnil'
/git/darkstar/src/map/lua/lua_trade_container.cpp:138: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:140: undefined reference to `lua_tonumber'
/git/darkstar/src/map/lua/lua_trade_container.cpp:141: undefined reference to `lua_pushinteger'
dsgame-lua_zone.o: In function `CLuaZone::CLuaZone(lua_State*)':
/git/darkstar/src/map/lua/lua_zone.cpp:17: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:19: undefined reference to `lua_touserdata'
/git/darkstar/src/map/lua/lua_zone.cpp:20: undefined reference to `lua_settop'
dsgame-lua_zone.o: In function `CLuaZone::levelRestriction(lua_State*)':
/git/darkstar/src/map/lua/lua_zone.cpp:87: undefined reference to `lua_pushnil'
dsgame-lua_zone.o: In function `CLuaZone::registerRegion(lua_State*)':
/git/darkstar/src/map/lua/lua_zone.cpp:48: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:71: undefined reference to `lua_pushnil'
/git/darkstar/src/map/lua/lua_zone.cpp:48: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:49: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:49: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:50: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:50: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:51: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:51: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:52: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:52: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:53: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:53: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:54: undefined reference to `lua_type'
/git/darkstar/src/map/lua/lua_zone.cpp:54: undefined reference to `lua_isnumber'
/git/darkstar/src/map/lua/lua_zone.cpp:57: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_zone.cpp:60: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_zone.cpp:63: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_zone.cpp:63: undefined reference to `lua_tointeger'
/git/darkstar/src/map/lua/lua_zone.cpp:63: undefined reference to `lua_tointeger'
dsgame-lua_zone.o:/git/darkstar/src/map/lua/lua_zone.cpp:64: more undefined references to `lua_tointeger' follow
collect2: error: ld returned 1 exit status
make: *** [dsgame] Error 1

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Roadblock Compiling error for dsgame on Fedora 20 (32-bi

Post by kjLotus » Tue Apr 29, 2014 4:00 pm

probably have to change -llua5.1 to -llua (it used to be -llua but i changed it to -llua5.1 to work on ubuntu)

dragoonkayne
Posts: 4
Joined: Mon Apr 14, 2014 12:17 pm

Re: Roadblock Compiling error for dsgame on Fedora 20 (32-bi

Post by dragoonkayne » Tue Apr 29, 2014 5:02 pm

Still running into issues, but I can switch it up by building ubuntu instead. What's the recommended version of ubuntu?

Thanks,
Kayne

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Roadblock Compiling error for dsgame on Fedora 20 (32-bi

Post by kjLotus » Tue Apr 29, 2014 5:51 pm

i think my VM is 12.04, but i don't think anything newer would be a problem

Post Reply