• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Error in debian 8

ticardo

New Member
Joined
Jul 7, 2008
Messages
2
Reaction score
0
Hi guys, im trying to compile one TFS 0.3.6 - 8.54 (Pokemon) on debian 8 and im getting this error:
My entire log \/

Code:
Configure complete, now you may type 'make'.
test -z "theforgottenserver" || rm -f theforgottenserver
rm -f *.o
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/orion/OrionSource/missing                                                                                         autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[1]: Entering directory '/home/orion/OrionSource'
g++ -DHAVE_CONFIG_H -I.    -pthread -I/usr/include/libxml2  -I/usr/include/lua5.                                                                                        1   -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_                                                                                        THREAD_SAFE -D_REENTRANT -Wall -g -O1 -Wno-unused-variable -MT actions.o -MD -MP                                                                                         -MF .deps/actions.Tpo -c -o actions.o actions.cpp
g++ -DHAVE_CONFIG_H -I.    -pthread -I/usr/include/libxml2  -I/usr/include/lua5.                                                                                        1   -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_                                                                                        THREAD_SAFE -D_REENTRANT -Wall -g -O1 -Wno-unused-variable -MT allocator.o -MD -                                                                                        MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cpp
mv -f .deps/allocator.Tpo .deps/allocator.Po
g++ -DHAVE_CONFIG_H -I.    -pthread -I/usr/include/libxml2  -I/usr/include/lua5.                                                                                        1   -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_                                                                                        THREAD_SAFE -D_REENTRANT -Wall -g -O1 -Wno-unused-variable -MT baseevents.o -MD                                                                                         -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
actions.cpp: In member function 'ReturnValue Actions::internalUseItem(Player*, c                                                                                        onst Position&, uint8_t, Item*, uint32_t)':
actions.cpp:515:62: error: invalid use of incomplete type 'class Depot'
                   Depot* playerDepot = player->getDepot(depot->getDepotId(), tr                                                                                        ue);
                                                              ^
In file included from tile.h:23:0,
                 from map.h:26,
                 from creature.h:28,
                 from player.h:24,
                 from actions.cpp:23:
item.h:35:7: error: forward declaration of 'class Depot'
 class Depot;
       ^
actions.cpp:518:27: error: invalid use of incomplete type 'class Depot'
     player->useDepot(depot->getDepotId(), true);
                           ^
In file included from tile.h:23:0,
                 from map.h:26,
                 from creature.h:28,
                 from player.h:24,
                 from actions.cpp:23:
item.h:35:7: error: forward declaration of 'class Depot'
 class Depot;
       ^
actions.cpp:519:16: error: invalid use of incomplete type 'class Depot'
     playerDepot->setParent(depot->getParent());
                ^
In file included from tile.h:23:0,
                 from map.h:26,
                 from creature.h:28,
                 from player.h:24,
                 from actions.cpp:23:
item.h:35:7: error: forward declaration of 'class Depot'
 class Depot;
       ^
actions.cpp:519:33: error: invalid use of incomplete type 'class Depot'
     playerDepot->setParent(depot->getParent());
                                 ^
In file included from tile.h:23:0,
                 from map.h:26,
                 from creature.h:28,
                 from player.h:24,
                 from actions.cpp:23:
item.h:35:7: error: forward declaration of 'class Depot'
 class Depot;
       ^
actions.cpp:520:18: error: cannot convert 'Depot*' to 'Container*' in assignment
     tmpContainer = playerDepot;
                  ^
mv -f .deps/baseevents.Tpo .deps/baseevents.Po
g++ -DHAVE_CONFIG_H -I.    -pthread -I/usr/include/libxml2  -I/usr/include/lua5.                                                                                        1   -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_                                                                                        THREAD_SAFE -D_REENTRANT -Wall -g -O1 -Wno-unused-variable -MT beds.o -MD -MP -M                                                                                        F .deps/beds.Tpo -c -o beds.o beds.cpp
Makefile:553: recipe for target 'actions.o' failed
make[1]: *** [actions.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/beds.Tpo .deps/beds.Po
make[1]: Leaving directory '/home/orion/OrionSource'
Makefile:404: recipe for target 'all' failed
make: *** [all] Error 2


Anyone can help me with it, or know any solution ?

PS: im new on linux x.x
 
Back
Top