Ridjin
New Member
- Joined
- Dec 17, 2014
- Messages
- 21
- Reaction score
- 3
So. I am tryin to compile avesta x64 on Debian. Installed all libraries, (LATEST), and i got an error. There is no guide, how to compile avesta, so i am using this guide: http://avesta74.googlecode.com/svn/trunk/ avesta74-read-only
Help-me please :c
[/CODE]
Help-me please :c
Code:
[CODE]
root@grvxjcqn:~/avesta/src# make
make all-am
make[1]: Entering directory `/root/avesta/src'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT co ntainer.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
mv -f .deps/container.Tpo .deps/container.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT cr eature.o -MD -MP -MF .deps/creature.Tpo -c -o creature.o creature.cpp
In file included from creature.cpp:29:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/creature.Tpo .deps/creature.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT ga me.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
In file included from game.cpp:34:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/game.Tpo .deps/game.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT io mapxml.o -MD -MP -MF .deps/iomapxml.Tpo -c -o iomapxml.o iomapxml.cpp
mv -f .deps/iomapxml.Tpo .deps/iomapxml.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT io player.o -MD -MP -MF .deps/ioplayer.Tpo -c -o ioplayer.o ioplayer.cpp
mv -f .deps/ioplayer.Tpo .deps/ioplayer.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT it em.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.cpp
In file included from item.cpp:33:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/item.Tpo .deps/item.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT it ems.o -MD -MP -MF .deps/items.Tpo -c -o items.o items.cpp
In file included from weapons.h:31,
from items.cpp:25:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT lu ascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
In file included from luascript.cpp:31:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
luascript.cpp: In static member function 'static int LuaScriptInterface::luaDoPl ayerAddInFightTicks(lua_State*)':
luascript.cpp:2957: warning: unused variable 'ticks'
luascript.cpp: In static member function 'static int LuaScriptInterface::luaGetA llCreatures(lua_State*)':
luascript.cpp:3928: warning: unused variable 'flag'
luascript.cpp: In static member function 'static int LuaScriptInterface::luaRemo veIPBan(lua_State*)':
luascript.cpp:8142: warning: unused variable 'parameters'
mv -f .deps/luascript.Tpo .deps/luascript.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT ma p.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cpp
In file included from map.cpp:30:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/map.Tpo .deps/map.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT mo nster.o -MD -MP -MF .deps/monster.Tpo -c -o monster.o monster.cpp
In file included from monster.cpp:31:
combat.h: In function 'std::string CombatTypeName(CombatType_t)':
combat.h:366: warning: enumeration value 'COMBAT_COUNT' not handled in switch
mv -f .deps/monster.Tpo .deps/monster.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT ne tworkmessage.o -MD -MP -MF .deps/networkmessage.Tpo -c -o networkmessage.o netwo rkmessage.cpp
mv -f .deps/networkmessage.Tpo .deps/networkmessage.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT np c.o -MD -MP -MF .deps/npc.Tpo -c -o npc.o npc.cpp
npc.cpp: In member function 'virtual void Npc::onCreatureAppear(const Creature*, bool)':
npc.cpp:323: warning: unused variable 'player'
npc.cpp: In member function 'virtual void Npc::onCreatureDisappear(const Creatur e*, uint32_t, bool)':
npc.cpp:344: warning: unused variable 'player'
npc.cpp: In member function 'virtual void Npc::onCreatureMove(const Creature*, c onst Tile*, const Position&, const Tile*, const Position&, uint32_t, bool)':
npc.cpp:361: warning: unused variable 'player'
mv -f .deps/npc.Tpo .deps/npc.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__ USE_MYSQL__ -D__USE_SQLITE__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT ot serv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
otserv.cpp:37:27: error: sys / signal.h: No such file or directory
make[1]: *** [otserv.o] Error 1
make[1]: Leaving directory `/root/avesta/src'
make: *** [all] Error 2
Last edited: