Peacy
Member
Hey Guys,
I get an error while compiling Avesta 7.6 (latest rev. https://code.google.com/p/divinity-ots/) but I can't seem to find the problem. Hope someone could help me out here.
Error:
I get an error while compiling Avesta 7.6 (latest rev. https://code.google.com/p/divinity-ots/) but I can't seem to find the problem. Hope someone could help me out here.
Error:
Code:
root@1967-5538-2575:~/avesta# make
make all-am
make[1]: Entering directory `/root/avesta'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
In file included from house.h:33,
from iomap.h:30,
from iomapotbm.h:24,
from container.cpp:23:
player.h: In member function 'void Player::disconnect()':
player.h:157: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCreatureSkull(const Creature*) const':
player.h:374: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendAddTileItem(const Tile*, const Position&, const Item*)':
player.h:388: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendUpdateTileItem(const Tile*, const Position&, uint32_t, const Item*, const Item*)':
player.h:391: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendRemoveTileItem(const Tile*, const Position&, uint32_t, const Item*)':
player.h: In member function 'void Player::sendAddInventoryItem(slots_t, const Item*)':
player.h:438: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendUpdateInventoryItem(slots_t, const Item*, const Item*)':
player.h:440: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendRemoveInventoryItem(slots_t, const Item*)':
player.h:442: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendAnimatedText(const Position&, unsigned char, std::string) const':
player.h:482: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCancel(const char*) const':
player.h:484: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCancelTarget() const':
player.h:487: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCancelWalk() const':
player.h:489: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendChangeSpeed(const Creature*, uint32_t) const':
player.h:491: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCreatureHealth(const Creature*) const':
player.h:493: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendDistanceShoot(const Position&, const Position&, unsigned char) const':
player.h:495: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCreatePrivateChannel(uint16_t, const std::string&)':
player.h:499: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendClosePrivate(uint16_t) const':
player.h:501: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendMagicEffect(const Position&, unsigned char) const':
player.h:504: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendSkills() const':
player.h:508: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendTextMessage(MessageClasses, const std::string&) const':
player.h:510: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendTextWindow(Item*, uint16_t, bool) const':
player.h:512: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendTextWindow(uint32_t, const std::string&) const':
player.h:514: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
In file included from house.h:33,
from iomap.h:30,
from iomapotbm.h:24,
from container.cpp:23:
player.h: In member function 'void Player::sendToChannel(Creature*, SpeakClasses, const std::string&, uint16_t, uint32_t) const':
player.h:516: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendTradeItemRequest(const Player*, const Item*, bool) const':
player.h:520: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendTradeClose() const':
player.h:522: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendWorldLight(LightInfo&)':
player.h:524: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendChannelsDialog()':
player.h:526: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendOpenPrivateChannel(const std::string&)':
player.h:528: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendOutfitWindow(const Player*)':
player.h:530: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendCloseContainer(uint32_t)':
player.h:532: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendChannel(uint16_t, const std::string&)':
player.h:534: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendRuleViolationsChannel(uint16_t)':
player.h:536: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendRemoveReport(const std::string&)':
player.h:538: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendLockRuleViolation()':
player.h:540: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
player.h: In member function 'void Player::sendRuleViolationCancel(const std::string&)':
player.h:542: error: invalid use of incomplete type 'struct Protocol76'
player.h:40: error: forward declaration of 'struct Protocol76'
make[1]: *** [container.o] Error 1
make[1]: Leaving directory `/root/avesta'
make: *** [all] Error 2